Package org.yamcs.yarch.rocksdb
Class RdbHistogramIterator
java.lang.Object
org.yamcs.yarch.rocksdb.RdbHistogramIterator
- All Implemented Interfaces:
AutoCloseable
,Iterator<HistogramRecord>
,HistogramIterator
-
Constructor Summary
ConstructorsConstructorDescriptionRdbHistogramIterator
(String yamcsInstance, Tablespace tablespace, TableDefinition tblDef, String colName, TimeInterval interval) -
Method Summary
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 Details
-
RdbHistogramIterator
public RdbHistogramIterator(String yamcsInstance, Tablespace tablespace, TableDefinition tblDef, String colName, TimeInterval interval) throws org.rocksdb.RocksDBException, IOException - Throws:
org.rocksdb.RocksDBException
IOException
-
-
Method Details
-
close
public void close()Description copied from interface:HistogramIterator
Close the iterator- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceHistogramIterator
-
seek
public void seek(byte[] columnValue, long time) - Specified by:
seek
in interfaceHistogramIterator
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<HistogramRecord>
-
next
- Specified by:
next
in interfaceIterator<HistogramRecord>
-