Package com.gigaspaces.blobstore.rocksdb
Class RocksDBContainerIterator
java.lang.Object
com.gigaspaces.blobstore.rocksdb.RocksDBContainerIterator
- All Implemented Interfaces:
DataIterator<BlobStoreGetBulkOperationResult>,Iterator<BlobStoreGetBulkOperationResult>
public class RocksDBContainerIterator
extends Object
implements DataIterator<BlobStoreGetBulkOperationResult>
Creates an iterator that can be used to exhaustively for retrieving data from RocksDB.
- Version:
- 11.0.0
- Author:
- Kobi
-
Constructor Summary
ConstructorsConstructorDescriptionRocksDBContainerIterator(RocksDBBlobStoreHandler handler, int dbIndex, BlobStoreObjectType objectType) RocksDBContainerIterator(RocksDBBlobStoreHandler handler, BlobStoreObjectType objectType) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
RocksDBContainerIterator
public RocksDBContainerIterator(RocksDBBlobStoreHandler handler, int dbIndex, BlobStoreObjectType objectType) -
RocksDBContainerIterator
-
-
Method Details
-
close
public void close()Description copied from interface:DataIteratorClean 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:
closein interfaceDataIterator<BlobStoreGetBulkOperationResult>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<BlobStoreGetBulkOperationResult>
-
next
- Specified by:
nextin interfaceIterator<BlobStoreGetBulkOperationResult>
-
remove
public void remove()- Specified by:
removein interfaceIterator<BlobStoreGetBulkOperationResult>
-