public interface KVStoreIterator<T>
extends java.util.Iterator<T>, java.io.Closeable
Iterators may keep references to resources that need to be closed. It's recommended that users explicitly close iterators after they're used.
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
next(int max)
Retrieve multiple elements from the store.
|
boolean |
skip(long n)
Skip in the iterator.
|
java.util.List<T> next(int max)
max
- Maximum number of elements to retrieve.boolean skip(long n)