public class NamesQueryPager extends java.lang.Object implements SinglePartitionPager
| Modifier and Type | Method and Description |
|---|---|
ColumnCounter |
columnCounter() |
java.util.List<Row> |
fetchPage(int pageSize)
Fetches the next page.
|
boolean |
isExhausted()
Whether or not this pager is exhausted, i.e.
|
java.nio.ByteBuffer |
key() |
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.
|
long |
timestamp() |
public java.nio.ByteBuffer key()
key in interface SinglePartitionPagerpublic ColumnCounter columnCounter()
columnCounter in interface SinglePartitionPagerpublic PagingState state()
QueryPagerstate in interface QueryPagerpublic boolean isExhausted()
QueryPagerisExhausted in interface QueryPagerpublic java.util.List<Row> fetchPage(int pageSize) throws RequestValidationException, RequestExecutionException
QueryPagerfetchPage in interface QueryPagerpageSize - the maximum number of elements to return in the next page.RequestValidationExceptionRequestExecutionExceptionpublic int maxRemaining()
QueryPagermaxRemaining in interface QueryPagerpublic long timestamp()
Copyright © 2015 The Apache Software Foundation