Invention Grant
- Patent Title: Technique for skipping irrelevant portions of documents during streaming XPath evaluation
-
Application No.: US14231491Application Date: 2014-03-31
-
Publication No.: US10037311B2Publication Date: 2018-07-31
- Inventor: Sam Idicula , Nipun Agarwal , Sanket Malde
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Becker Bingham LLP
- Main IPC: G06F17/00
- IPC: G06F17/00 ; G06F17/22 ; G06F17/30

Abstract:
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.
Public/Granted literature
- US20140215311A1 Technique For Skipping Irrelevant Portions Of Documents During Streaming XPath Evaluation Public/Granted day:2014-07-31
Information query