@NotThreadSafe public final class KeyValueStoreIterator extends Object implements KeyValueIterator
KeyValueIterator
to iterate over key-value pairs in KeyValueSystem
.Constructor and Description |
---|
KeyValueStoreIterator(List<PartitionInfo> partitions) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
KeyValuePair |
next()
Throws a
NoSuchElementException if there are no more pairs. |
public KeyValueStoreIterator(List<PartitionInfo> partitions) throws IOException, AlluxioException
partitions
- the partitions to useIOException
AlluxioException
public boolean hasNext()
hasNext
in interface KeyValueIterator
public KeyValuePair next() throws IOException, AlluxioException
KeyValueIterator
NoSuchElementException
if there are no more pairs.next
in interface KeyValueIterator
IOException
AlluxioException
Copyright © 2023. All Rights Reserved.