Rewriting node reference-based XQuery using SQL/SML
Abstract
Techniques for processing reference-based SQL/XML operators are provided. Instead of extracting copies of one or more nodes from XML data, a reference-based operator returns a reference to a node. Such a reference is used to determine, for example, whether the corresponding node comes logical before, after, or is the same as another node. An SQL/XML query that includes a reference-based operator may be the original query, or may be generated (e.g., rewritten) from a non-SQL/XML query, such as an XQuery query. One or more physical rewrites may be performed on the SQL/XML query, depending on how the XML data is stored and/or whether an XML index exists for the XML data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving a first query that conforms to a first XML query language; determining that an operator included in the first query requires one or more node references, to one or more nodes, as operands of the operator instead of a value of any of the one or more nodes; wherein the operator included in the first query is one of a node comparison operator or an operator that requires context node traversal; and in response to determining that the operator included in the first query requires one or more node references as operands of the operator, generating, based on the first
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Choi, B. et al., "The XQuery Formal Semantics: A Foundation for Implementation and Optimization" downloaded Jan. 2, 2008 from the Internet <http://www-db.research.bell-labs.com/user/simeon/xquery-optim-planx.pdf> 15 pages.
- Choi, B. et al., "The XQuery Formal Semantics: A Foundation for Implementation and Optimization" downloaded Jan. 2, 2008 from the Internet 15 pages.
- Leontiev, Yuri, et al., "On Type Systems for Object-Oriented Database Programming Languages", ACM computing surveys, vol. 34, No. 4, Dec. 2002, 41 pages.
- Liu, Z. et al., "Native XQuery Processing in Oracle XMLDB" downloaded Jan. 2, 2008 from the Internet <http://www.oracle.com/technology/tech/xml/xquery/pdf/114—xquery—sigmod2005-final.pdf> 8 pages.
- Liu, Z. et al., "Native XQuery Processing in Oracle XMLDB" downloaded Jan. 2, 2008 from the Internet 8 pages.