Efficient query processing of XML data using XML index
First Claim
1. A method for handling path-based queries, the method comprising the steps of:
- receiving a path-based query that specifies a path associated with data in an XML document;
generating, based on the path, an index-enabled query that accesses an XML index that indexes a plurality of XML documents, including said XML document; and
executing the index-enabled query to use said XML index to retrieve said data required by the path-based query.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus is provided for translating queries, such as path expressions and SQL/XML constructs, into SQL statements to be executed against an XML index, which improves processor time as opposed to applying path expressions directly to the original XML documents to extract the desired information. Simple path expressions, filter expressions, descendant axes, wildcards, logical expressions, relational expressions, literals, and other path expressions are all translated into SQL for efficient querying of an XML index. Similarly, rules for translating SQL/XML constructs into SQL are provided.
-
Citations
38 Claims
-
1. A method for handling path-based queries, the method comprising the steps of:
-
receiving a path-based query that specifies a path associated with data in an XML document;
generating, based on the path, an index-enabled query that accesses an XML index that indexes a plurality of XML documents, including said XML document; and
executing the index-enabled query to use said XML index to retrieve said data required by the path-based query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
-
Specification