Technique for skipping irrelevant portions of documents during streaming XPath evaluation
AssigneeOracle International Corporation
InventorsSam Idicula, Nipun Agarwal, Sanket Malde
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsSam Idicula, Nipun Agarwal, Sanket Malde
Estimating the term…
A method and apparatus are described for summarizing a document. For each node in the document that satisfies a marking criteria, a start and end mark pair is stored in a summary in document order. The start mark specifies a location in the document where the node starts, and the end mark specifies a location in the document where the node ends. When evaluating a query for a hierarchical path, the document is streamed into memory until the mark of a tag matches a start mark in the summary. If that tag does not fit within the path, then streaming of the document may resume at the end mark, thereby skipping the node during streaming evaluation. Translation information may be used to indicate a logical position relative to the marks in the summary when the document is modified.
A method for evaluating a query for a hierarchical path of a document, the method comprising:
A non-transitory computer-readable storage medium storing one or more sequences of instruction, wherein execution of the one or more sequences of instruction by one or more processors causes the one or more processors to perform:
Dependencies are inferred from the claim text.