K
- the type of the iterated objects, which are keys in RocksDB.public class RocksStateKeysIterator<K> extends Object implements Iterator<K>, AutoCloseable
RocksIteratorWrapper
and Iterator
to iterate over the keys. This class
is not thread safe.Constructor and Description |
---|
RocksStateKeysIterator(RocksIteratorWrapper iterator,
String state,
TypeSerializer<K> keySerializer,
int keyGroupPrefixBytes,
boolean ambiguousKeyPossible,
byte[] namespaceBytes) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
K |
next() |
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–2020 The Apache Software Foundation. All rights reserved.