public class MemTable.MemTableIterator extends Object implements InternalIterator
| Constructor and Description |
|---|
MemTableIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
InternalEntry |
next() |
InternalEntry |
peek() |
void |
remove() |
void |
seek(InternalKey targetKey)
Repositions the iterator so the key of the next BlockElement returned greater than or equal to the specified targetKey.
|
void |
seekToFirst()
Repositions the iterator so the beginning of this block.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
hasNext in interface Iterator<Map.Entry<InternalKey,Slice>>public void seekToFirst()
SeekingIteratorseekToFirst in interface SeekingIterator<InternalKey,Slice>public void seek(InternalKey targetKey)
SeekingIteratorseek in interface SeekingIterator<InternalKey,Slice>public InternalEntry peek()
peek in interface com.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>public InternalEntry next()
next in interface com.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>next in interface Iterator<Map.Entry<InternalKey,Slice>>public void remove()
remove in interface com.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>remove in interface Iterator<Map.Entry<InternalKey,Slice>>Copyright © 2011–2019. All rights reserved.