Database System Providing Methodology for Execution of Functions in XML Queries
First Claim
1. A method for executing a function in a query requesting data from a markup language document stored in a database, the markup language document organized hierarchically into nodes, the method comprising:
- receiving the query requesting data from the markup language document, the query including a function to be executed during execution of the query;
determining nodes of the markup language document satisfying the query;
deriving values of said nodes of the markup language document; and
executing the function with said derived values and said nodes of the markup language document.
3 Assignments
0 Petitions
Accused Products
Abstract
A database system providing methodology for execution of functions in queries requesting data from markup language documents is described. In one embodiment, for example, a method is described for executing a function in a query requesting data from a markup language document stored in a database, the markup language document organized hierarchically into nodes, the method comprises steps of: receiving the query requesting data from the markup language document, the query including a function to be executed during execution of the query; determining nodes of the markup language document satisfying the query; deriving values of the nodes of the markup language document; and executing the function with the derived values and the nodes of the markup language document.
-
Citations
90 Claims
-
1. A method for executing a function in a query requesting data from a markup language document stored in a database, the markup language document organized hierarchically into nodes, the method comprising:
-
receiving the query requesting data from the markup language document, the query including a function to be executed during execution of the query;
determining nodes of the markup language document satisfying the query;
deriving values of said nodes of the markup language document; and
executing the function with said derived values and said nodes of the markup language document. - 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. A system for executing a function included in a query requesting data from a markup language document stored in a database, the markup language document organized hierarchically into nodes, the system comprising:
-
a compiler module for generating a plan for identifying nodes of the markup language document satisfying the query; and
an execution module for executing the plan to identify nodes of the markup language document satisfying the query, obtaining values corresponding to identified nodes of the markup language document, associating said values with the identified nodes, and executing the function included in the query with said values and identified nodes. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59)
-
-
60. In a database system, a method for executing a function in a query requesting data from an Extensible Markup Language (XML) document, the method comprising:
-
receiving the query requesting data from an XML document, the query including a function to be executed on data from an XML document which includes a plurality of hierarchically arranged elements;
determining elements of the XML document satisfying the query;
obtaining values of said elements of the XML document;
associating said values with elements of the XML document; and
executing the function with said values and associated elements. - View Dependent Claims (61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80)
-
-
81. In a database system, a method for executing a function included in a query requesting data from an XML document organized hierarchically into nodes, the method comprising:
-
generating an execution plan for obtaining data requested by the query from an XML document, the execution plan including an operator for performing the function included in the query;
inserting an operator for obtaining values corresponding to nodes of the XML document into the execution plan;
identifying nodes of the XML document satisfying the query based on the execution plan;
deriving values from identified nodes of the XML document using the operator for obtaining values; and
invoking the operator for performing the function with the values derived from the identified nodes of the XML document. - View Dependent Claims (82, 83, 84, 85, 86, 87, 88, 89, 90)
-
Specification