Class AbstractDbIterator

java.lang.Object
org.yamcs.yarch.rocksdb.AbstractDbIterator
All Implemented Interfaces:
AutoCloseable, DbIterator
Direct Known Subclasses:
AscendingRangeIterator, DescendingPrefixIterator, DescendingRangeIterator

public abstract class AbstractDbIterator extends Object implements DbIterator
  • 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 interface DbIterator
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface DbIterator
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object
    • checkValid

      protected void checkValid()