public abstract class AbstractRocksDBIterator<T> extends Object implements CloseableIterator<T>
CloseableIterator.Empty<E>, CloseableIterator.Wrapper<E>
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed |
protected org.rocksdb.RocksIterator |
it |
protected org.rocksdb.ReadOptions |
options |
Constructor and Description |
---|
AbstractRocksDBIterator(org.rocksdb.ReadOptions options,
org.rocksdb.RocksIterator it) |
Modifier and Type | Method and Description |
---|---|
protected void |
advance() |
void |
close() |
boolean |
hasNext() |
T |
next() |
protected abstract T |
readRow(byte[] key,
byte[] value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
protected boolean closed
protected org.rocksdb.ReadOptions options
protected org.rocksdb.RocksIterator it
public AbstractRocksDBIterator(org.rocksdb.ReadOptions options, org.rocksdb.RocksIterator it)
protected void advance()
protected abstract T readRow(byte[] key, byte[] value)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CloseableIterator<T>
Copyright © 2013–2022. All rights reserved.