Class RocksStateKeysIterator<K>
java.lang.Object
org.apache.flink.state.rocksdb.iterator.AbstractRocksStateKeysIterator<K>
org.apache.flink.state.rocksdb.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 between
RocksIteratorWrapper and Iterator to iterate over
the keys. This class is not thread safe.-
Field Summary
Fields inherited from class org.apache.flink.state.rocksdb.iterator.AbstractRocksStateKeysIterator
ambiguousKeyPossible, byteArrayDataInputView, iterator, keyGroupPrefixBytes, keySerializer, state -
Constructor Summary
ConstructorsConstructorDescriptionRocksStateKeysIterator(RocksIteratorWrapper iterator, String state, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, byte[] namespaceBytes) -
Method Summary
Methods inherited from class org.apache.flink.state.rocksdb.iterator.AbstractRocksStateKeysIterator
close, deserializeKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
RocksStateKeysIterator
public RocksStateKeysIterator(@Nonnull RocksIteratorWrapper iterator, @Nonnull String state, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, @Nonnull byte[] namespaceBytes)
-
-
Method Details