Class Query.QueryPaginator (2.37.0)

public static class Query.QueryPaginator

A Query Paginator that will split a query into small chunks. See Query#createPaginator(int) for example usage.

Inheritance

java.lang.Object > Query.QueryPaginator

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
NameDescription
lastSeenRowKeyByteString
Returns
TypeDescription
boolean

getNextQuery()

public Query getNextQuery()

Return the next query.

Returns
TypeDescription
Query

getPageSize()

public int getPageSize()

Get the page size of the current Pagniator. For internal use only.

Returns
TypeDescription
int