Reading Huge XML File using StAX and XPath

前端 未结 7 1933
轮回少年
轮回少年 2020-12-31 11:35

The input file contains thousands of transactions in XML format which is around 10GB of size. The requirement is to pick each transaction XML based on the user input and sen

7条回答
  •  别那么骄傲
    2020-12-31 12:32

    Do you need to process it fast or you need fast lookups in the data ? These requirements need different approach.

    For fast reading of the whole data StAX will be OK.

    If you need fast lookups than you could need to load it to some database, Berkeley DB XML e.g.

提交回复
热议问题