Processing path-based database operations
First Claim
1. A method of processing path-based database operations, the method comprising:
- locating a first database table row that is associated with a first node in a hierarchy, wherein the first database table row is located at a storage location that corresponds to a first row identifier, and wherein the first database table row includes a second row identifier that indicates a storage location of a second database table row that is associated with a second node that is a parent of the first node in the hierarchy; and
prepending, to the front of a path name that is being formed for the first node, a node name that is indicated in the second database table row.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for processing path-based database operations is provided. According to one aspect, a “parent row ID” column is added to a directory links table. For each row in the table, the value of the “parent row ID” column indicates the row ID, in the table, of the node that is that row'"'"'s node'"'"'s parent in the file hierarchy. To determine whether a particular node is within a specified path of the file hierarchy, the particular node'"'"'s pathname is derived by visiting child-to-parent links indicated in the table and prepending, to the front of a pathname being constructed for the particular node, node names indicated in the visited rows. Each parent node'"'"'s row in the directory links table is located using the “parent row ID” column of the child node'"'"'s row. The resulting pathname is compared with the specified path to determine whether the particular node exists therein.
115 Citations
16 Claims
-
1. A method of processing path-based database operations, the method comprising:
-
locating a first database table row that is associated with a first node in a hierarchy, wherein the first database table row is located at a storage location that corresponds to a first row identifier, and wherein the first database table row includes a second row identifier that indicates a storage location of a second database table row that is associated with a second node that is a parent of the first node in the hierarchy; and
prepending, to the front of a path name that is being formed for the first node, a node name that is indicated in the second database table row. - View Dependent Claims (2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15)
-
-
8. A method of constructing a path name for an item that belongs to a hierarchy, the method comprising:
-
performing a bottom-up traversal of an index built on items that belong to the hierarchy;
wherein the traversal begins at an index entry associated with said item, and follows child-to-parent links between index entries; and
wherein the path name for the item is constructed based on item names associated with the index entries visited during said traversal. - View Dependent Claims (16)
-
Specification