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