Execution of database queries including filtering
First Claim
Patent Images
1. A method for processing a database query on a set of data resulting in an access plan, comprising the steps of:
- (a) calling a data manager by a query manager to access a query-specified data in the set of data, (b) performing a callback to the query manager by the data manager when the data manager locates the query-specified data, (c) executing a filtering operation on the located query-specified data by the query manager and indicating to the data manager whether the query-specified data qualifies in response to the callback, and (d) returning the query-specified data by the data manager if the response from the query manager to the callback indicates that the query-specified data qualifies.
1 Assignment
0 Petitions
Accused Products
Abstract
A query processing system has a query processor and a data manager. The query processor calls the data manager to carry out data access for a query including a filtering operation. The data manager accesses the data in a set of data and before returning the data, initiates a callback to the query processor to determine if the located data meets the filtering criteria. Where the data does not satisfy the filtering criteria, the data manager seeks additional data in the set of data, without having to return the first located data to the query processor.
-
Citations
14 Claims
-
1. A method for processing a database query on a set of data resulting in an access plan, comprising the steps of:
-
(a) calling a data manager by a query manager to access a query-specified data in the set of data, (b) performing a callback to the query manager by the data manager when the data manager locates the query-specified data, (c) executing a filtering operation on the located query-specified data by the query manager and indicating to the data manager whether the query-specified data qualifies in response to the callback, and (d) returning the query-specified data by the data manager if the response from the query manager to the callback indicates that the query-specified data qualifies. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A query processing system comprising;
-
a data manager; and
a query manager for processing a database query on a set of data, resulting in an access plan, including a filtering operation, wherein the query manager comprising means for calling the data manager to access query-specified data in the set of data, the data manager comprising means for performing a callback to the query manager when data manager locates the query-specified data, the query manager comprising means for executing the filtering operation on the located query-specified data and indicating to the data manager, in response to the callback, whether the query-specified data qualifies, and the data manager comprising means for returning the query-specified data if the response from the query manager to the callback indicates that the query-specified data qualifies. - View Dependent Claims (8)
-
-
9. A computer readable medium containing program instructions for processing a database query on a set of data resulting in an access plan, the program instructions for:
-
(a) calling a data manager by a query manager to access a query-specified data in the set of data, (b) performing a callback to the query manager by the data manager when the data manager locates the query-specified data, (c) executing a filtering operation on the located query-specified data by the query manager and indicating to the data manager whether the query-specified data qualifies, in response to the callback, and (d) returning the query-specified data by the data manager if the response from the query manager to the callback indicates that the query-specified data qualifies. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification