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 between ForStIteratorWrapper and Iterator to iterate over the keys. This class is not thread safe.
  • Constructor Details

    • ForStStateKeysIterator

      public ForStStateKeysIterator(@Nonnull ForStIteratorWrapper iterator, @Nonnull String state, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, @Nonnull byte[] namespaceBytes)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<K>
    • next

      public K next()
      Specified by:
      next in interface Iterator<K>