Package com.oracle.coherence.grpc.proxy
Class PagedQueryHelper
java.lang.Object
com.oracle.coherence.grpc.proxy.PagedQueryHelper
A helper class for cache key set and entry set paged queries.
- Since:
 - 20.06
 - Author:
 - Jonathan Knight 2019.11.28
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic Object[]decodeCookie(Service service, com.google.protobuf.ByteString cookie) Decode the binary cookie used in a paged request.static com.google.protobuf.ByteStringencodeCookie(PartitionSet parts, int page) Encode the opaque cookie used in a paged request. 
- 
Method Details
- 
decodeCookie
Decode the binary cookie used in a paged request.- Parameters:
 service- the cacheServiceto use to deserialize the cookiecookie- the cookie- Returns:
 - the decoded cookie
 
 - 
encodeCookie
Encode the opaque cookie used in a paged request.- Parameters:
 parts- the partition set to encodepage- the current page- Returns:
 - an encoded page request cookie
 
 
 -