public interface QueryPager
Modifier and Type | Method and Description |
---|---|
java.util.List<Row> |
fetchPage(int pageSize)
Fetches the next page.
|
boolean |
isExhausted()
Whether or not this pager is exhausted, i.e.
|
int |
maxRemaining()
The maximum number of cells/CQL3 row that we may still have to return.
|
PagingState |
state()
Get the current state of the pager.
|
java.util.List<Row> fetchPage(int pageSize) throws RequestValidationException, RequestExecutionException
pageSize
- the maximum number of elements to return in the next page.RequestValidationException
RequestExecutionException
boolean isExhausted()
int maxRemaining()
PagingState state()
Copyright © 2017 The Apache Software Foundation