public class CassandraTokenRangeJDBCDataIterator extends Object implements DataIterator<Object>
Constructor and Description |
---|
CassandraTokenRangeJDBCDataIterator(SpaceDocumentColumnFamilyMapper mapper,
ColumnFamilyMetadata columnFamilyMetadata,
ConnectionResource connectionResource,
CQLQueryContext queryContext,
Object lastToken,
int limit,
CassandraConsistencyLevel readConsistencyLevel) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Clean up after any resources associated with this iterator The iterator can be closed even if
the iterator wasn't iterated over all of its elements.
|
void |
closeSelfResources() |
int |
getCurrentTotalCount() |
Object |
getLastToken() |
int |
getLimit() |
boolean |
hasNext() |
SpaceDocument |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public CassandraTokenRangeJDBCDataIterator(SpaceDocumentColumnFamilyMapper mapper, ColumnFamilyMetadata columnFamilyMetadata, ConnectionResource connectionResource, CQLQueryContext queryContext, Object lastToken, int limit, CassandraConsistencyLevel readConsistencyLevel)
public SpaceDocument next()
public void closeSelfResources()
public void close()
DataIterator
close
in interface DataIterator<Object>
public Object getLastToken()
public int getLimit()
public int getCurrentTotalCount()
Copyright © GigaSpaces.