Extension of XQuery in a high performance XML/XQuery database
First Claim
1. A system for extension of XQuery in a binary object XML repository, comprising:
- at least one XQuery interpreter module for implementing the XQuery language in the binary object XML repository;
at least one function dispatcher module for implementing an XQuery function call mechanism, wherein a function is defined by the name of said function, the number of arguments taken by said function, and the datatypes of said arguments;
at least one plug-in function library manager for implementing the client side of the binary object XML repository plug-in function application program interface; and
at least one dynamically-linked plug-in function library module for implementing the server side of the binary object XML repository plug-in function application program interface.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for extension of XQuery in a binary object XML repository includes XQuery interpreter capabilities for implementing the XQuery language in the binary object XML repository. A function dispatcher module implements an XQuery call mechanism, with the function being defined by the name of the function, the number of arguments taken by the function, and the datatypes of the arguments. A plug-in function library manager implements the client side of the binary object XML repository plug-in function application program interface, and a dynamically-linked plug-in function library module for implements the server side of the binary object XML repository plug-in function application program interface.
14 Citations
15 Claims
-
1. A system for extension of XQuery in a binary object XML repository, comprising:
-
at least one XQuery interpreter module for implementing the XQuery language in the binary object XML repository;
at least one function dispatcher module for implementing an XQuery function call mechanism, wherein a function is defined by the name of said function, the number of arguments taken by said function, and the datatypes of said arguments;
at least one plug-in function library manager for implementing the client side of the binary object XML repository plug-in function application program interface; and
at least one dynamically-linked plug-in function library module for implementing the server side of the binary object XML repository plug-in function application program interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for extension of XQuery for a binary object XML repository having an XQuery interpreter module, a function dispatcher module, a plug-in function library manager, and at least one plug-in function library module comprises:
-
implementing the XQuery language in the binary object XML repository;
preparing to execute a function, wherein a function is defined by the name of said function, the number of arguments taken by said function, and the datatypes of said arguments;
determining whether said function is a built-in or user-defined XQuery function, wherein said built-in function is specified as part of the XQuery language;
executing the computer code for said function if said function is a built-in or user-defined XQuery function;
determining whether said function has been declared in a plug-in library if said function is not a built-in or user-defined XQuery function;
dispatching said function to said declared library and executing the computer code for said function if said function has been declared in a plug-in library;
determining whether at least one plug-in library module has been added or changed if said function has not been declared in a plug-in library;
loading said new or changed library modules if said at least one plug-in library module has been added or changed; and
declaring an undefined function error if said at least one plug-in library module has not been added or changed. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. An article of manufacture comprising a computer usable medium having computer readable program code embodied in said medium which, when said program code is executed by said computer causes said computer to perform method steps for extension of XQuery for a binary object XML repository having an XQuery interpreter module, a function dispatcher module, a plug-in function library manager, and at least one plug-in function library module comprises:
-
implementing the XQuery language in the binary object XML repository;
preparing to execute a function, wherein a function is defined by the name of said function, the number of arguments taken by said function, and the datatypes of said arguments;
determining whether said function is a built-in or user-defined XQuery function, wherein said built-in function is specified as part of the XQuery language;
executing the computer code for said function if said function is a built-in or user-defined XQuery function;
determining whether said function has been declared in a plug-in library if said function is not a built-in or user-defined XQuery function;
dispatching said function to said declared library and executing the computer code for said function if said function has been declared in a plug-in library;
determining whether at least one plug-in library module has been added or changed if said function has not been declared in a plug-in library;
loading said new or changed library modules if said at least one plug-in library module has been added or changed; and
declaring an undefined function error if said at least one plug-in library module has not been added or changed.
-
Specification