Method and mechanism for handling arbitrarily-sized XML in SQL operator tree
Abstract
Disclosed is a method and mechanism for processing expressions and operator trees. An approach is particularly useful to optimize processing of XML statements with respect to SQL operators. A top-down processing approach can be taken to directly output data from operators to a data stream. In addition, multiple processing approaches can be taken within a single expression tree, with some operators processed using the top-down approach and other operators processed with the bottom-up approach. Even data that can not be streamed is copied fewer times using this approach, intermediate values from bottom-up processing may still be streamed if it is used by an operator that is eligible for top-down processing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for processing a program statement in a database query language, the program statement corresponding to a plurality of operators, wherein an operator tree is associated with the plurality of operators, the operator tree comprising a parent operator node, the method comprising: identifying a child node that is associated with the parent operator node; determining if the child node relates to an operator for which top-down processing is capable of being performed, wherein the top-down processing is capable of being performed when a result for the operator is capable
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- "Better XML Parser through Functional Programming", by Kiselyov, Lecture Notes in Computer Science, vol. 2257 archive, Proceedings of the 4th International Symposium on Practical Aspects of Declarative Languages, pp. 209-224, Year of Publication: 2002, ISBN:3-540-43092-X.
- "Burg-Fast Optimal Instruction Selection and Tree Parsing", by Fraser et al., ACM SIGPLAN Notices, vol. 27, No. 4, Apr. 1992.
- "XQuery from the Experts: A Guide to the W3C XML Query Language", by Howard Katz et al., Aug. 2003, ISBN: 0-321-18060-7, chapters 6 & 7.
- "XQuery from the Experts: A Guide to the W3C XML Query Language", by Howard Katz et al., Aug. 2003, ISBN: 0-321-18060-7, publication information pages, copyright information pages.
- Borstein, N.; "Pull Parsing in C# and Java"; May 22, 2002; pp. 1-9; XLM.Com.