Package org.iq80.leveldb.impl
Interface SeekingIterator<K,V>
- All Superinterfaces:
Iterator<Map.Entry<K,,V>> com.google.common.collect.PeekingIterator<Map.Entry<K,V>>
- All Known Subinterfaces:
InternalIterator
- All Known Implementing Classes:
AbstractSeekingIterator,BlockIterator,DbIterator,InternalTableIterator,Level0Iterator,LevelIterator,MemTable.MemTableIterator,MergingIterator,SnapshotSeekingIterator,TableIterator
public interface SeekingIterator<K,V>
extends com.google.common.collect.PeekingIterator<Map.Entry<K,V>>
-
Method Summary
Modifier and TypeMethodDescriptionvoidRepositions the iterator so the key of the next BlockElement returned greater than or equal to the specified targetKey.voidRepositions the iterator so the beginning of this block.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNextMethods inherited from interface com.google.common.collect.PeekingIterator
next, peek, remove
-
Method Details
-
seekToFirst
void seekToFirst()Repositions the iterator so the beginning of this block. -
seek
Repositions the iterator so the key of the next BlockElement returned greater than or equal to the specified targetKey.
-