Package org.yamcs.yarch.rocksdb
Class AbstractDbIterator
java.lang.Object
org.yamcs.yarch.rocksdb.AbstractDbIterator
- All Implemented Interfaces:
AutoCloseable
,DbIterator
- Direct Known Subclasses:
AscendingRangeIterator
,DescendingPrefixIterator
,DescendingRangeIterator
-
Field Details
-
valid
protected boolean valid -
iterator
protected final org.rocksdb.RocksIterator iterator
-
-
Constructor Details
-
AbstractDbIterator
public AbstractDbIterator(org.rocksdb.RocksIterator it)
-
-
Method Details
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceDbIterator
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDbIterator
-
finalize
public void finalize() -
checkValid
protected void checkValid()
-