GigaSpaces XAP 10.0.1 API

org.openspaces.persistency.cassandra.datasource
Class CassandraTokenRangeAwareInitialLoadDataIterator

java.lang.Object
  extended by org.openspaces.persistency.cassandra.datasource.CassandraTokenRangeAwareInitialLoadDataIterator
All Implemented Interfaces:
DataIterator<Object>, Iterator<Object>

public class CassandraTokenRangeAwareInitialLoadDataIterator
extends Object
implements DataIterator<Object>

Since:
9.1.1
Author:
Dan Kilman

Constructor Summary
CassandraTokenRangeAwareInitialLoadDataIterator(SpaceDocumentColumnFamilyMapper mapper, Map<String,ColumnFamilyMetadata> metadataMap, ConnectionResource connectionResource, Map<String,String> queries, int batchLimit, CassandraConsistencyLevel readConsistencyLevel)
           
 
Method Summary
 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.
 boolean hasNext()
           
 SpaceDocument next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CassandraTokenRangeAwareInitialLoadDataIterator

public CassandraTokenRangeAwareInitialLoadDataIterator(SpaceDocumentColumnFamilyMapper mapper,
                                                       Map<String,ColumnFamilyMetadata> metadataMap,
                                                       ConnectionResource connectionResource,
                                                       Map<String,String> queries,
                                                       int batchLimit,
                                                       CassandraConsistencyLevel readConsistencyLevel)
Method Detail

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>

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>

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.