K
- the type of the iterated objects, which are keys in RocksDB.public class RocksStateKeysIterator<K> extends AbstractRocksStateKeysIterator<K> implements Iterator<K>
RocksIteratorWrapper
and Iterator
to iterate over
the keys. This class is not thread safe.ambiguousKeyPossible, byteArrayDataInputView, iterator, keyGroupPrefixBytes, keySerializer, state
Constructor and Description |
---|
RocksStateKeysIterator(RocksIteratorWrapper iterator,
String state,
TypeSerializer<K> keySerializer,
int keyGroupPrefixBytes,
boolean ambiguousKeyPossible,
byte[] namespaceBytes) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
K |
next() |
close, deserializeKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public RocksStateKeysIterator(@Nonnull RocksIteratorWrapper iterator, @Nonnull String state, @Nonnull TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, boolean ambiguousKeyPossible, @Nonnull byte[] namespaceBytes)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.