public final class RocksQueueIterator extends Object implements SingleStateIterator
| Constructor and Description |
|---|
RocksQueueIterator(org.apache.flink.runtime.state.heap.HeapPriorityQueueStateSnapshot<?> queuesSnapshot,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
int keyGroupPrefixBytes,
int kvStateId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getKvStateId() |
boolean |
isValid() |
byte[] |
key() |
void |
next() |
byte[] |
value() |
public RocksQueueIterator(org.apache.flink.runtime.state.heap.HeapPriorityQueueStateSnapshot<?> queuesSnapshot,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
int keyGroupPrefixBytes,
int kvStateId)
public void next()
next in interface SingleStateIteratorpublic boolean isValid()
isValid in interface SingleStateIteratorpublic byte[] key()
key in interface SingleStateIteratorpublic byte[] value()
value in interface SingleStateIteratorpublic int getKvStateId()
getKvStateId in interface SingleStateIteratorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface SingleStateIteratorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.