Method and system for querying structured documents stored in their native format in a database
First Claim
1. A method for querying a structured document stored in its native format in a database, wherein the structured document comprises a plurality of nodes that form a hierarchical node tree, the method comprising the steps of:
- (a) providing at least one child pointer within at least one of the plurality of nodes in the hierarchical node tree, wherein the at least one child pointer points to a corresponding child node in the hierarchical node tree;
(b) storing a hint within the at least one child pointer, the hint being related to the corresponding child node, wherein the at least one child pointer further comprises a node slot number of the corresponding child node; and
(c) utilizing the hint to determine whether to navigate to the corresponding child node during query evaluation.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for querying a structured document stored in its native format in a database, where the structured document includes a plurality of nodes that form a hierarchical node tree, is disclosed. The method includes providing at least one child pointer in each of the plurality of nodes, where the at least one child pointer points to a corresponding child node of the plurality of nodes, and storing a hint in each of the at least one child pointers. The hint is then utilized to navigate the hierarchical node tree during query evaluation.
-
Citations
33 Claims
-
1. A method for querying a structured document stored in its native format in a database, wherein the structured document comprises a plurality of nodes that form a hierarchical node tree, the method comprising the steps of:
-
(a) providing at least one child pointer within at least one of the plurality of nodes in the hierarchical node tree, wherein the at least one child pointer points to a corresponding child node in the hierarchical node tree; (b) storing a hint within the at least one child pointer, the hint being related to the corresponding child node, wherein the at least one child pointer further comprises a node slot number of the corresponding child node; and (c) utilizing the hint to determine whether to navigate to the corresponding child node during query evaluation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 28, 31)
-
-
10. A computer readable medium containing a computer program for querying a structured document stored in its native format in a database, wherein the structured document comprises a plurality of nodes that form a hierarchical node tree, the computer program comprising instructions for:
-
(a) providing at least one child pointer within at least one of the plurality of nodes, in the hierarchical node tree, wherein the at least one child pointer points to a corresponding child node in the hierarchical node tree; (b) storing a hint within the at least one child pointer, the hint being related to the corresponding child node, wherein the at least one child pointer further comprises a node slot number of the corresponding child node; and (c) utilizing the hint to determine whether to navigate to the corresponding child node during query evaluation. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 29, 32)
-
-
19. A system for querying a structured document stored in its native format in a database, wherein the structured document comprises a plurality of nodes that form a hierarchical node tree, the system comprising:
-
a computer system coupled to at least one data storage device; a database management system in the computer system; and a storage mechanism in the database management system for providing at least one child pointer within at least one of the plurality of nodes in the hierarchical node tree, wherein the at least one child pointer points to a corresponding child node in the hierarchical node tree, and storing a hint within the at least one child pointer, the hint being related to the corresponding child node, wherein the at least one child pointer further comprises a node slot number of the corresponding child node; wherein the a database management system utilizes the hint to determine whether to navigate to the corresponding child node during query evaluation. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 30, 33)
-
Specification