Method and apparatus for creating structure indexes for a data base extender
First Claim
1. A method of creating at least one index in a database system, using an extender for said database system, said extender enabling a user to create said at least one index in said database system for execution of a structured query given by said user, said method comprising the steps of:
- receiving a structured document having at least one element, said at least one element including a start tag and an end tag defined by said user;
parsing said structured document into said at least one element;
assigning tag values in a predetermined order to each of said start tag and said end tag of said at least one element; and
storing said tag values corresponding to each of said start tag and said end tag of said at least one element in a structured index in said database system.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus using an extender for a computer-implemented relational database system is disclosed for storing, querying, and retrieving structured documents. The extender provides a new abstract data type and includes a plurality of user defined functions for storing, querying, and retrieving structured documents internally, as character-based large objects (CLOB), or externally, in flat files or URLs, for example. The extender has “conditional select” functionality, “conditional select” functionality is based on user defined functions residing within the extender being applied to a projection in a structured query in the database system. The extender also has a set of user defined functions for creating one or more indexes for structured documents stored in the relational database system using already created B+ tree index structures implemented in the database system to support the indexes. The method includes a tag counting system for indexing structured documents and for implementing the structure indexes within the relational database.
278 Citations
33 Claims
-
1. A method of creating at least one index in a database system, using an extender for said database system, said extender enabling a user to create said at least one index in said database system for execution of a structured query given by said user, said method comprising the steps of:
-
receiving a structured document having at least one element, said at least one element including a start tag and an end tag defined by said user;
parsing said structured document into said at least one element;
assigning tag values in a predetermined order to each of said start tag and said end tag of said at least one element; and
storing said tag values corresponding to each of said start tag and said end tag of said at least one element in a structured index in said database system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for creating at least one index in a database system, using an extender for said database system, said extender enabling a user to create said at least one index in said database system for execution of a structured query given by said user, said apparatus comprising:
-
a computer having at least one data storage device connected thereto, wherein said at least one data storage device stores said extender and said database systems; and
at least one computer program performed by said computer for;
receiving a structured document having at least one element, said at least one element including a start tag and an end tag defined by said user;
parsing said structured document into said at least one element;
assigning tag values in a predetermined order to each of said start tag and said end tag of said at least one element; and
storing said tag values corresponding to each of said start tag and said end tag of said at least one element in a structured index in said database system. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An article of manufacture comprising a program storage medium readable by a computer and tangibly embodying at least one program of instructions executable by said computer to perform method steps for creating at least one index in a database system, using an extender for said database system, said extender enabling a user to create said at least one index in said database system for execution of a structured query given by said user, the method comprising the steps of:
-
receiving a structured document having at least one element, said at least one element including a start tag and an end tag defined by said user;
parsing said structured document into said at least one element;
assigning tag values in a predetermined order to each of said start tag and said end tag of said at least one element; and
storing said tag values corresponding to each of said start tag and said end tag of said at least one element in a structured index in said database system. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification