public static class Query.QueryPaginator
A Query Paginator that will split a query into small chunks. See Query#createPaginator(int) for example usage.
Methods
advance(ByteString lastSeenRowKey)
public boolean advance(ByteString lastSeenRowKey)
Construct the next query. Return true if there are more queries to return. False if we've read everything.
Parameter | |
---|---|
Name | Description |
lastSeenRowKey |
ByteString |
Returns | |
---|---|
Type | Description |
boolean |
getNextQuery()
public Query getNextQuery()
Return the next query.
Returns | |
---|---|
Type | Description |
Query |
getPageSize()
public int getPageSize()
Get the page size of the current Pagniator. For internal use only.
Returns | |
---|---|
Type | Description |
int |