Package org.yamcs.yarch.rocksdb
Class RdbHistogramIterator
- java.lang.Object
-
- org.yamcs.yarch.rocksdb.RdbHistogramIterator
-
- All Implemented Interfaces:
AutoCloseable,Iterator<HistogramRecord>,HistogramIterator
public class RdbHistogramIterator extends Object implements HistogramIterator
-
-
Constructor Summary
Constructors Constructor Description RdbHistogramIterator(String yamcsInstance, Tablespace tablespace, TableDefinition tblDef, String colName, TimeInterval interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the iteratorbooleanhasNext()HistogramRecordnext()voidseek(byte[] columnValue, long time)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
RdbHistogramIterator
public RdbHistogramIterator(String yamcsInstance, Tablespace tablespace, TableDefinition tblDef, String colName, TimeInterval interval) throws org.rocksdb.RocksDBException, IOException
- Throws:
org.rocksdb.RocksDBExceptionIOException
-
-
Method Detail
-
close
public void close()
Description copied from interface:HistogramIteratorClose the iterator- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceHistogramIterator
-
seek
public void seek(byte[] columnValue, long time)- Specified by:
seekin interfaceHistogramIterator
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<HistogramRecord>
-
next
public HistogramRecord next()
- Specified by:
nextin interfaceIterator<HistogramRecord>
-
-