Class ForStStateKeysAndNamespaceIterator<K,N>
java.lang.Object
org.apache.flink.state.forst.sync.AbstractForStStateKeysIterator<K>
org.apache.flink.state.forst.sync.ForStStateKeysAndNamespaceIterator<K,N>
- Type Parameters:
K- the type of the iterated keys in RocksDB.N- the type of the iterated namespaces in RocksDB.
- All Implemented Interfaces:
AutoCloseable,Iterator<org.apache.flink.api.java.tuple.Tuple2<K,N>>
public class ForStStateKeysAndNamespaceIterator<K,N>
extends AbstractForStStateKeysIterator<K>
implements Iterator<org.apache.flink.api.java.tuple.Tuple2<K,N>>
Adapter class to bridge between
ForStIteratorWrapper and Iterator to iterate over
the keys and namespaces. This class is not thread safe.-
Field Summary
Fields inherited from class org.apache.flink.state.forst.sync.AbstractForStStateKeysIterator
ambiguousKeyPossible, byteArrayDataInputView, iterator, keyGroupPrefixBytes, keySerializer, state -
Constructor Summary
ConstructorsConstructorDescriptionForStStateKeysAndNamespaceIterator(ForStIteratorWrapper iterator, String state, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible) -
Method Summary
Methods inherited from class org.apache.flink.state.forst.sync.AbstractForStStateKeysIterator
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
-
ForStStateKeysAndNamespaceIterator
public ForStStateKeysAndNamespaceIterator(@Nonnull ForStIteratorWrapper iterator, @Nonnull String state, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible)
-
-
Method Details