parsing large XML using SAX in java

后端 未结 4 2020
天命终不由人
天命终不由人 2021-01-22 19:53

I am trying to parse the stack overflow data dump, one of the tables is called posts.xml which has around 10 million entry in it. Sample xml:



        
4条回答
  •  无人共我
    2021-01-22 20:07

    SAX doesn't "load" elements. It informs your application of the start and end of each element, and it's entirely up to your application to decide which elements it takes any notice of.

提交回复
热议问题