Mechanism for efficiently evaluating operator trees
First Claim
1. A method for processing XPath expressions, comprising the steps of:
- receiving an XPath expression;
generating, based on said XPath expression, a tree-based representation of the XPath expression;
wherein the tree-based representation comprises nodes and links;
wherein the nodes of the tree-based representation represent operations to be performed; and
wherein the links between the nodes represent flow of data between operations.
1 Assignment
0 Petitions
Accused Products
Abstract
An XPath expression is converted into a tree-based representation where each node represents an operation to be performed and the links between nodes in the tree represent the flow of data between operations. The conversion may involve creating a parse tree for the XPath expression, and then converting the parse tree into an operator tree. The operator tree is constructed in such a way that execution of the XPath expression begins at the leaf nodes of the operator tree, and the results are then passed up the tree. After each node is executed, the results are either (1) passed to a filter that filters the results with a predicate statement or (2) passed to another node to be operated upon. This occurs until no nodes remain to be executed.
84 Citations
20 Claims
-
1. A method for processing XPath expressions, comprising the steps of:
-
receiving an XPath expression;
generating, based on said XPath expression, a tree-based representation of the XPath expression;
wherein the tree-based representation comprises nodes and links;
wherein the nodes of the tree-based representation represent operations to be performed; and
wherein the links between the nodes represent flow of data between operations. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification