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 containing an identifier in a database column for a first directory node in a hierarchy, wherein the first database table row is located at a storage location indicated by a first row identifier, and wherein the first database table row contains a second row identifier that indicates a storage location of a second database table row, wherein the second database table row contains a different identifier in said database column for a second directory node that is a parent of the first directory node in the hierarchy; and
prepending, to the front of a path name that is being formed, a node name that is indicated in the second database table row;
wherein the steps of locating and prepending are performed by a computing device.
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.
-
Citations
18 Claims
-
1. A method of processing path-based database operations, the method comprising:
-
locating a first database table row containing an identifier in a database column for a first directory node in a hierarchy, wherein the first database table row is located at a storage location indicated by a first row identifier, and wherein the first database table row contains a second row identifier that indicates a storage location of a second database table row, wherein the second database table row contains a different identifier in said database column for a second directory node that is a parent of the first directory node in the hierarchy; and prepending, to the front of a path name that is being formed, a node name that is indicated in the second database table row; wherein the steps of locating and prepending are performed by a computing device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 15, 17)
-
-
8. A volatile or non-volatile computer-readable storage medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform steps comprising:
-
locating a first database table row containing an identifier in a database column for a first directory node in a hierarchy, wherein the first database table row is located at a storage location indicated by a first row identifier, and wherein the first database table row contains a second row identifier that indicates a storage location of a second database table row, wherein the second database table row contains a different identifier in said database column for a second directory node that is a parent of the first directory node in the hierarchy; and prepending, to the front of a path name that is being formed, a node name that is indicated in the second database table row. - View Dependent Claims (9, 10, 11, 12, 13, 14, 16, 18)
-
Specification