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 SinglePartitionPager
public ColumnCounter columnCounter()
columnCounter
in interface SinglePartitionPager
public PagingState state()
QueryPager
state
in interface QueryPager
public boolean isExhausted()
QueryPager
isExhausted
in interface QueryPager
public java.util.List<Row> fetchPage(int pageSize) throws RequestValidationException, RequestExecutionException
QueryPager
fetchPage
in interface QueryPager
pageSize
- the maximum number of elements to return in the next page.RequestValidationException
RequestExecutionException
public int maxRemaining()
QueryPager
maxRemaining
in interface QueryPager
public long timestamp()
Copyright © 2020 The Apache Software Foundation