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<Tuple2<K,N>>
public class ForStStateKeysAndNamespaceIterator<K,N> extends AbstractForStStateKeysIterator<K> implements Iterator<Tuple2<K,N>>
Adapter class to bridge betweenForStIteratorWrapper
andIterator
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
Constructors Constructor Description ForStStateKeysAndNamespaceIterator(ForStIteratorWrapper iterator, String state, TypeSerializer<K> keySerializer, TypeSerializer<N> namespaceSerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Tuple2<K,N>
next()
-
Methods inherited from class org.apache.flink.state.forst.sync.AbstractForStStateKeysIterator
close, deserializeKey
-
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
-
-
-
-
Constructor Detail
-
ForStStateKeysAndNamespaceIterator
public ForStStateKeysAndNamespaceIterator(@Nonnull ForStIteratorWrapper iterator, @Nonnull String state, @Nonnull TypeSerializer<K> keySerializer, @Nonnull TypeSerializer<N> namespaceSerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible)
-
-