摘要 |
A method of providing data from a data repository to a client application, comprises receiving an initial query from a client application and obtaining a first set of results from the data repository to the initial query. If the total number of results of the first set is greater than a predetermined number for provision as a single page, a second set of results is stored in memory and a page of results is provided. An indication of the total number of results to the initial query is provided as well as an indication of the position of the results of the page within the set of results, and an indication of the range of the results for which subsequent queries will return results consistent with the initial query. This provides a results paging model to allow a client application to page through a large set of query results, with transparent indication of the consistency between the pages of results.
|