K - the type of the iterated objects, which are keys in RocksDB.@Internal public abstract class AbstractRocksStateKeysIterator<K> extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ambiguousKeyPossible |
protected org.apache.flink.core.memory.DataInputDeserializer |
byteArrayDataInputView |
protected RocksIteratorWrapper |
iterator |
protected int |
keyGroupPrefixBytes |
protected org.apache.flink.api.common.typeutils.TypeSerializer<K> |
keySerializer |
protected String |
state |
| Constructor and Description |
|---|
AbstractRocksStateKeysIterator(RocksIteratorWrapper iterator,
String state,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int keyGroupPrefixBytes,
boolean ambiguousKeyPossible) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected K |
deserializeKey(byte[] keyBytes,
org.apache.flink.core.memory.DataInputDeserializer readView) |
@Nonnull protected final RocksIteratorWrapper iterator
@Nonnull protected final org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer
protected final boolean ambiguousKeyPossible
protected final int keyGroupPrefixBytes
protected final org.apache.flink.core.memory.DataInputDeserializer byteArrayDataInputView
protected K deserializeKey(byte[] keyBytes, org.apache.flink.core.memory.DataInputDeserializer readView) throws IOException
IOExceptionpublic void close()
close in interface AutoCloseableCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.