Is there any built-in API which provides a pagination feature in Pivotal GemFire, such as in the QueryService
API or using Functions? We are currently using Pivotal GemFire 9.3.0 running in PCC.
TIA.
Is there any built-in API which provides a pagination feature in Pivotal GemFire, such as in the QueryService
API or using Functions? We are currently using Pivotal GemFire 9.3.0 running in PCC.
TIA.
No yet. It is a planned feature for SD Lovelace/Moore release trains. See SGF-524 - Add support for PagingAndSortingRepositories. NOTE: sorting is already supported; paging is a WIP.
There is not. However there is a common pattern for this. Instead of directly querying the matching objects, write your query to return the keys of the matching objects. The client can then implement paging (e.g. page1 is key0-key99, page 2 is key 100-199, etc.). Use the "getAll" method with a list of keys to pull back one page at a time.
BTW, you can query the keys like this: "select key from /person.entries where value.ssn='222-22-2222'"