org.openspaces.persistency.cassandra.datasource
Class CassandraTokenRangeAwareDataIterator
java.lang.Object
org.openspaces.persistency.cassandra.datasource.CassandraTokenRangeAwareDataIterator
- All Implemented Interfaces:
- DataIterator<Object>, Iterator<Object>
public class CassandraTokenRangeAwareDataIterator
- extends Object
- implements DataIterator<Object>
- Since:
- 9.1.1
- Author:
- Dan Kilman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CassandraTokenRangeAwareDataIterator
public CassandraTokenRangeAwareDataIterator(SpaceDocumentColumnFamilyMapper mapper,
ColumnFamilyMetadata columnFamilyMetadata,
ConnectionResource connectionResource,
CQLQueryContext queryContext,
int maxResults,
int batchLimit,
CassandraConsistencyLevel readConsistencyLevel)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Object>
next
public SpaceDocument next()
- Specified by:
next
in interface Iterator<Object>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Object>
closeSelfResources
public void closeSelfResources()
close
public void close()
- Description copied from interface:
DataIterator
- 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.
- Specified by:
close
in interface DataIterator<Object>
Copyright © GigaSpaces.