Class RocksQueueIterator
- java.lang.Object
-
- org.apache.flink.state.rocksdb.iterator.RocksQueueIterator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,SingleStateIterator
public final class RocksQueueIterator extends Object implements SingleStateIterator
An iterator over heap timers that produces rocks compatible binary format.
-
-
Constructor Summary
Constructors Constructor Description RocksQueueIterator(org.apache.flink.runtime.state.heap.HeapPriorityQueueStateSnapshot<?> queuesSnapshot, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange, int keyGroupPrefixBytes, int kvStateId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetKvStateId()booleanisValid()byte[]key()voidnext()byte[]value()
-
-
-
Method Detail
-
next
public void next()
- Specified by:
nextin interfaceSingleStateIterator
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceSingleStateIterator
-
key
public byte[] key()
- Specified by:
keyin interfaceSingleStateIterator
-
value
public byte[] value()
- Specified by:
valuein interfaceSingleStateIterator
-
getKvStateId
public int getKvStateId()
- Specified by:
getKvStateIdin interfaceSingleStateIterator
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceSingleStateIterator
-
-