Class RocksStateKeysIterator<K>
- java.lang.Object
-
- org.apache.flink.contrib.streaming.state.iterator.AbstractRocksStateKeysIterator<K>
-
- org.apache.flink.contrib.streaming.state.iterator.RocksStateKeysIterator<K>
-
- Type Parameters:
K- the type of the iterated objects, which are keys in RocksDB.
- All Implemented Interfaces:
AutoCloseable,Iterator<K>
public class RocksStateKeysIterator<K> extends AbstractRocksStateKeysIterator<K> implements Iterator<K>
Adapter class to bridge betweenRocksIteratorWrapperandIteratorto iterate over the keys. This class is not thread safe.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.contrib.streaming.state.iterator.AbstractRocksStateKeysIterator
ambiguousKeyPossible, byteArrayDataInputView, iterator, keyGroupPrefixBytes, keySerializer, state
-
-
Constructor Summary
Constructors Constructor Description RocksStateKeysIterator(RocksIteratorWrapper iterator, String state, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, byte[] namespaceBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Knext()-
Methods inherited from class org.apache.flink.contrib.streaming.state.iterator.AbstractRocksStateKeysIterator
close, deserializeKey, isMatchingNameSpace
-
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
-
-