Mechanism to efficiently index structured data that provides hierarchical access in a relational database system
First Claim
1. A method used for resolving a path name that has a sequence of path elements, comprising the steps of:
- traversing an index to resolve said path name;
wherein said index comprises at least a first entry that corresponds to a first path element of said sequence of path elements, wherein said first entry corresponds to a first node in an information hierarchy, wherein said first entry includes data identifying a second entry in said index that coffesponds to a second node that is a child of said first node;
wherein said second entry corresponds to a second path element from said sequence of path elements;
wherein access control data in the second entry indicates access privileges of one or more users for an item associated with the second path element;
wherein traversing said index further comprises;
accessing in said first entry said data identifying said second entry in said index;
based on the data accessed in said first entry identifying the second entry, accessing the second entry that corresponds to said second path element from said sequence of path elements; and
based on examining said access control data accessed in the second entry, determining and storing the access privileges of the item associated with the second path element.
3 Assignments
0 Petitions
Accused Products
Abstract
Described is a hierarchical index that captures the hierarchical relationship of a hierarchy emulated by a relational database system. The hierarchical index is implemented, using a database table which contains rows that serve as entries of the hierarchical index. Another table has rows that are associated with nodes in the hierarchy. Each entry in the hierarchal index maps to a row that corresponds to a node in the hierarchy. A node in the hierarchy may be a parent node with one or more child nodes. In this case, the corresponding entry in the hierarchical index contains identifiers which identify other entries in the index, where the other entries correspond to rows associated with child nodes of the parent node.
-
Citations
10 Claims
-
1. A method used for resolving a path name that has a sequence of path elements, comprising the steps of:
-
traversing an index to resolve said path name; wherein said index comprises at least a first entry that corresponds to a first path element of said sequence of path elements, wherein said first entry corresponds to a first node in an information hierarchy, wherein said first entry includes data identifying a second entry in said index that coffesponds to a second node that is a child of said first node; wherein said second entry corresponds to a second path element from said sequence of path elements; wherein access control data in the second entry indicates access privileges of one or more users for an item associated with the second path element; wherein traversing said index further comprises; accessing in said first entry said data identifying said second entry in said index; based on the data accessed in said first entry identifying the second entry, accessing the second entry that corresponds to said second path element from said sequence of path elements; and based on examining said access control data accessed in the second entry, determining and storing the access privileges of the item associated with the second path element. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable storage medium storing one or more sequences of instructions used for resolving a path name that has a sequence of path elements, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
traversing an index to resolve said path name; wherein said index comprises at least a first entry that corresponds to a first path element of said sequence of path elements, wherein said first entry corresponds to a first node in an information hierarchy, wherein said first entry includes data identifying a second entry in said index that corresponds to a second node that is a child of said first node; wherein said second entry corresponds to a second path element from said sequence of path elements; wherein access control data in the second entry indicates access privileges of one or more users for an item associated with the second path element; wherein traversing said index further comprises; accessing in said first entry said data identifying said second entry in said index; based on the data accessed in said first entry identifying the second entry, accessing the second entry that corresponds to said second path element from said sequence of path elements; and based on examining said access control data accessed in the second entry, determining and storing the access privileges of the item associated with the second path element. - View Dependent Claims (8, 9, 10)
-
Specification