public class CassandraTokenRangeAwareDataIterator extends Object implements DataIterator<Object>
Constructor and Description |
---|
CassandraTokenRangeAwareDataIterator(SpaceDocumentColumnFamilyMapper mapper,
ColumnFamilyMetadata columnFamilyMetadata,
ConnectionResource connectionResource,
CQLQueryContext queryContext,
int maxResults,
int batchLimit,
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() |
boolean |
hasNext() |
SpaceDocument |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public CassandraTokenRangeAwareDataIterator(SpaceDocumentColumnFamilyMapper mapper, ColumnFamilyMetadata columnFamilyMetadata, ConnectionResource connectionResource, CQLQueryContext queryContext, int maxResults, int batchLimit, CassandraConsistencyLevel readConsistencyLevel)
public SpaceDocument next()
public void closeSelfResources()
public void close()
DataIterator
close
in interface DataIterator<Object>
Copyright © GigaSpaces.