Class ForStStateKeysIterator<K>
- java.lang.Object
-
- org.apache.flink.state.forst.sync.AbstractForStStateKeysIterator<K>
-
- org.apache.flink.state.forst.sync.ForStStateKeysIterator<K>
-
- Type Parameters:
K
- the type of the iterated objects, which are keys in RocksDB.
- All Implemented Interfaces:
AutoCloseable
,Iterator<K>
public class ForStStateKeysIterator<K> extends AbstractForStStateKeysIterator<K> implements Iterator<K>
Adapter class to bridge betweenForStIteratorWrapper
andIterator
to iterate over the keys. 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 ForStStateKeysIterator(ForStIteratorWrapper iterator, String state, TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, byte[] namespaceBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
K
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
-
ForStStateKeysIterator
public ForStStateKeysIterator(@Nonnull ForStIteratorWrapper iterator, @Nonnull String state, @Nonnull TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, @Nonnull byte[] namespaceBytes)
-
-