Method and apparatus for querying structured documents using a database extender
First Claim
1. A method of executing a structured query given by a user in a database system, using an extender for said database system said extender enabling said user to query said database system, said database system containing at least one structured document and having at least one data type for said at least one structured document, said database system further containing a table having at least one column defined using said at least one data type, said at least one column storing each of said at least one structured document, said method comprising the steps of:
- defining a set of searching functions in said extender for executing said query using a select clause; and
searching said at least one structured document in said at least one column of said table using said set of searching functions with said select clause.
1 Assignment
0 Petitions
Accused Products
Abstract
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. A method and apparatus using an extender having a “conditional select” functionality is further disclosed for querying structured documents. The “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. A method and apparatus using an extender having a set of user defined functions is further disclosed for creating one or more indexes for structured documents stored in the relational database system. The method uses the set of functions to create the indexes and uses already created B+ tree index structures implemented in the database system to support the indexes. A method and apparatus using an extender is further disclosed for creating and supporting structure indexes. The method includes a tag counting system for indexing structured documents and for implementing the structure indexes within the relational database.
455 Citations
12 Claims
-
1. A method of executing a structured query given by a user in a database system, using an extender for said database system said extender enabling said user to query said database system, said database system containing at least one structured document and having at least one data type for said at least one structured document, said database system further containing a table having at least one column defined using said at least one data type, said at least one column storing each of said at least one structured document, said method comprising the steps of:
-
defining a set of searching functions in said extender for executing said query using a select clause; and
searching said at least one structured document in said at least one column of said table using said set of searching functions with said select clause. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for executing a structured query given by a user in a database system, using an extender for said database system, said extender enabling said user to query said database system, said database system containing at least one structured document and having at least one data type for said at least one structured document, said database system further containing a table having at least one column defined using said at least one data type, said at least one column storing each of said at least one structured document, 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 system, and at least one computer program performed by said computer for;
defining a set of searching functions in said extender for executing said query using a select clause; and
searching said at least one structured document in said at least one column of said table using said set of searching functions with said select clause. - View Dependent Claims (6, 7, 8)
-
-
9. 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 executing a structured query given by a user in a database system, using an extender for said database system, said extender enabling said user to query said database system, said database system containing at least one structured document and having at least one data type for said at least one structured document, said database system further containing a table having at least one column defined using said at least one data type, said at least one column storing each of said at least one structured document, the method comprising the steps of:
-
defining a set of searching functions in said extender for executing said query using a select clause; and
searching said at least one structured document in said at least one column of said table using said set of searching functions with said select clause. - View Dependent Claims (10, 11, 12)
-
Specification