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.
- 2. The method according to claim 1, wherein said at least one column further stores element contents and attribute values of said at least one structured document.
- 3. The method according to claim 2, wherein said step of searching said at least one structured document in said at least one column further includes extracting said element contents and attribute values of said at least one structured document using said set of searching functions.
- 4. The method according to claim 1, wherein said at least one structured document is written in Extensible Markup Language (XML).
- 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.
- 6. The apparatus according to claim 5, wherein said at least one column further stores element contents and attribute values of said at least one structured document.
- 7. The apparatus according to claim 6, wherein said at least one computer program, when searching said at least one structured document in said at least one column, further extracts said element contents and attribute values of said at least one structured document using said set of searching functions.
- 8. The apparatus according to claim 5, wherein said at least one structured document is written in Extensible Markup Language (XML).
- 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.
- 10. The article of manufacture of claim 9, wherein said at least one column further stores element contents and attribute values of said at least one structured document.
- 11. The article of manufacture of claim 10, wherein said step of searching said at least one structured document in said at least one column further comprises extracting said element contents and attribute values of said at least one structured document using said set of searching functions.
- 12. The article of manufacture of claim 9, wherein said at least one structured document is written in Extensible Markup Language (XML).
CROSS REFERENCE TO PROVISIONAL APPLICATION
This application claims priority from U.S. Provisional Application No. 60/103,501, entitled, “XML Extender And Index Structured Documents,” filed on Oct. 8, 1998, by Chang et al., which is incorporated by reference herein.
The present application is related to the following applications, all filed on the same date as the present application, and commonly assigned with the present application.
1. Application Ser. No. 09/325,661, entitled “DATABASE EXTENDER FOR STORING, QUERYING AND RETRIEVING STRUCTURED DOCUMENTS” and naming Daniel T. CHANG, Josephine M. CHENG, Jyh-Herng CHOW and Jian XU as inventors;
2. Application Ser. No. 09/324,499, entitled “METHOD AND APPARATUS FOR INDEXING STRUCTURED DOCUMENTS WITH RICH DATA TYPES” and naming Josephine M. CHENG, Jyh-Herng CHOW, Gene Y. C. FUH and Jian XU as inventors; and
3. Application Ser. No. 08/324,876, entitled “METHOD AND APPARATUS FOR CREATING STRUCTURE INDEXES FOR A DATABASE EXTENDER” and naming Josephine M. CHENG, Jyh-Herng CHOW, and Jian XU as inventors.
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
6269380 |
Terry et al. |
Jul 2001 |
B1 |
6279006 |
Shigemi et al. |
Aug 2001 |
B1 |
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/103501 |
Oct 1998 |
US |