Package org.iq80.leveldb.impl
Class MemTable.MemTableIterator
java.lang.Object
org.iq80.leveldb.impl.MemTable.MemTableIterator
- All Implemented Interfaces:
com.google.common.collect.PeekingIterator<Map.Entry<InternalKey,,Slice>> Iterator<Map.Entry<InternalKey,,Slice>> SeekingIterator<InternalKey,,Slice> InternalIterator
- Enclosing class:
MemTable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.common.collect.PeekingIterator<Map.Entry<InternalKey, Slice>> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
iterator
-
-
Constructor Details
-
MemTableIterator
public MemTableIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<Map.Entry<InternalKey,Slice>>
-
seekToFirst
public void seekToFirst()Description copied from interface:SeekingIteratorRepositions the iterator so the beginning of this block.- Specified by:
seekToFirstin interfaceSeekingIterator<InternalKey,Slice>
-
seek
Description copied from interface:SeekingIteratorRepositions the iterator so the key of the next BlockElement returned greater than or equal to the specified targetKey.- Specified by:
seekin interfaceSeekingIterator<InternalKey,Slice>
-
peek
- Specified by:
peekin interfacecom.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>
-
next
- Specified by:
nextin interfaceIterator<Map.Entry<InternalKey,Slice>> - Specified by:
nextin interfacecom.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>
-
remove
public void remove()- Specified by:
removein interfaceIterator<Map.Entry<InternalKey,Slice>> - Specified by:
removein interfacecom.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>
-