Multiple-stage evaluation of user-defined predicates
AssigneeInternatioanal Business Machines Corporation
InventorsGene Y. C. Fuh, Michelle Mei-Chiou Jou, Hsin Pan, Yun Wang
Life of this patent
Estimating the term…
Abstract
A method, apparatus, and article of manufacture for a computer-implemented multiple-stage evaluation of a user-defined predicate. A statement is executed in a database stored on a data storage device connected to a computer. The statement is received containing a user-defined predicate with a user-defined function. Then, multiple-stage evaluation of the user-defined predicate is performed.
Claims24
A method of executing a statement in a database stored on a data storage device connected to a computer, the method comprising the steps of:
- receiving the statement, wherein the statement contains a user-defined predicate with a user-defined function;
- and
- performing multiple-stage evaluation of the user-defined predicate wherein at least one stage comprises performing index exploitation as specified in the user-defined function.
An apparatus for executing a statement, comprising:
- a computer having a data storage device connected thereto, wherein the data storage device stores a database;
- one or more computer programs, performed by the computer, for receiving the statement, wherein the statement contains a user-defined predicate with a user-defined function and performing multiple-stage evaluation of the user-defined predicate, wherein at least one stage comprises performing index exploitation as specified in the user-defined function.
An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instruction executable by the computer to perform method steps for executing a statement in a database stored in a data storage device connected to the computer, the method comprising the steps of:
- receiving the statement, wherein the statement contains a user-defined predicate with a user-defined function;
- and
- performing multiple-stage evaluation of the user-defined predicate wherein at least one stage comprises performing index exploitation as specified in the user-defined function.
Dependencies are inferred from the claim text.