Method and apparatus for selecting data records from versioned data
First Claim
Patent Images
1. A computer-implemented method for selecting data records from versioned data, the method comprising:
- receiving a query from a client to select, from a data source, data records that match a query-selection criteria specified by the query, wherein the data source includes at least one data record which has been modified at least one time to create multiple versions of the data record;
performing the query on multiple versions of the data record;
determining, by computer, that a first version and a second version of the data record meet the query-selection criteria and a third version of the data record does not meet the query-selection criteria;
returning the first and second versions of the data record and a second data record that also matches the query-selection criteria as query results;
sorting the query results such that the second data record is returned between the first and second versions of the data record; and
returning a link from the first or second version of the data record that meets the query-selection criteria to the third version of the data record that does not meet the query-selection criteria.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a system that selects data records from versioned data. The system operates by receiving a query from a client to select data records from a data source that match a criteria specified by the query. Note that the data source includes at least one data record which has been modified at least one time, to create multiple versions of the data record. The system performs the query on the data source, which includes performing the query on multiple versions of the data record. Finally, the system returns results of the query to the client.
45 Citations
21 Claims
-
1. A computer-implemented method for selecting data records from versioned data, the method comprising:
-
receiving a query from a client to select, from a data source, data records that match a query-selection criteria specified by the query, wherein the data source includes at least one data record which has been modified at least one time to create multiple versions of the data record; performing the query on multiple versions of the data record; determining, by computer, that a first version and a second version of the data record meet the query-selection criteria and a third version of the data record does not meet the query-selection criteria; returning the first and second versions of the data record and a second data record that also matches the query-selection criteria as query results; sorting the query results such that the second data record is returned between the first and second versions of the data record; and returning a link from the first or second version of the data record that meets the query-selection criteria to the third version of the data record that does not meet the query-selection criteria. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for selecting data records from versioned data, the method comprising:
-
receiving a query from a client to select, from a data source, data records that match a query-selection criteria specified by the query, wherein the data source includes at least one data record which has been modified at least one time to create multiple versions of the data record; performing the query on multiple versions of the data record; determining that a first version and a second version of the data record meet the query-selection criteria and a third version of the data record does not meet the query-selection criteria; returning the first and second versions of the data record and at least a second data record that also matches the query-selection criteria as query results;
,sorting the query results such that the second data record is returned between the first and second versions of the data record; and returning a link from the first or second version of the data record that meets the query-selection criteria to the third version of the data record that does not meet the query-selection criteria. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus configured to select data records from versioned data, comprising:
-
a processor; a memory; a receiving mechanism configured to receive a query from a client to select, from a data source, data records that match a query-selection criteria specified by the query, wherein the data source includes at least one data record which has been modified at least one time, to create multiple versions of the data record; a query mechanism configured to perform the query on multiple versions of the data record; a determining mechanism configured to determine that a first version and a second version of the data record meet the query-selection criteria and a third version of the data record does not meet the query-selection criteria; a returning mechanism configured to return the first and second versions of the data record and at least a second data record that also matches the query-selection criteria as query results; a sorting mechanism configured to sort the query results such that the second data record is returned between the first and second versions of the data record; and a results mechanism configured to return a link from the first or second version of the data record that meets the query-selection criteria to the third version of the data record that does not meet the query-selection criteria. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification