List of usage examples for org.apache.cassandra.service.pager PagingState PagingState
public PagingState(ByteBuffer partitionKey, RowMark rowMark, int remaining, int remainingInPartition)
From source file:com.stratio.cassandra.lucene.IndexPagingState.java
License:Apache License
/** * Returns a CQL {@link PagingState} containing this Lucene paging state. * * @return a CQL paging state//w w w . j a va 2 s.co m */ PagingState toPagingState() { return hasMorePages ? new PagingState(toByteBuffer(), null, remaining, remaining) : null; }