org.scale7.cassandra.pelops
Class SuperColumnIterator
java.lang.Object
org.scale7.cassandra.pelops.PageOfIterator<org.apache.cassandra.thrift.SuperColumn>
org.scale7.cassandra.pelops.SuperColumnIterator
- All Implemented Interfaces:
- Iterator<org.apache.cassandra.thrift.SuperColumn>
public class SuperColumnIterator
- extends PageOfIterator<org.apache.cassandra.thrift.SuperColumn>
Encapsulates the logic required to iterate over super columns. See
Selector.iterateSuperColumnsFromRow(String, Bytes, Bytes, boolean, int, org.apache.cassandra.thrift.ConsistencyLevel)
for more detail.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuperColumnIterator
public SuperColumnIterator(Selector selector,
String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int batchSize,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
fetchNextBatch
protected List<org.apache.cassandra.thrift.SuperColumn> fetchNextBatch()
- Specified by:
fetchNextBatch
in class PageOfIterator<org.apache.cassandra.thrift.SuperColumn>
nextStartBeyondName
protected Bytes nextStartBeyondName(List<org.apache.cassandra.thrift.SuperColumn> batch)
- Specified by:
nextStartBeyondName
in class PageOfIterator<org.apache.cassandra.thrift.SuperColumn>
Copyright © 2011. All Rights Reserved.