public class MemTable.MemTableIterator extends Object implements InternalIterator, ReverseSeekingIterator<InternalKey,Slice>
| Constructor and Description |
|---|
MemTable.MemTableIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrev() |
Map.Entry<InternalKey,Slice> |
next() |
Map.Entry<InternalKey,Slice> |
peek() |
Map.Entry<InternalKey,Slice> |
peekPrev() |
Map.Entry<InternalKey,Slice> |
prev() |
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 |
seekToEnd() |
void |
seekToFirst()
Repositions the iterator so the beginning of this block.
|
void |
seekToLast() |
public 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 Map.Entry<InternalKey,Slice> peek()
peek in interface com.google.common.collect.PeekingIterator<Map.Entry<InternalKey,Slice>>public Map.Entry<InternalKey,Slice> 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>>public void seekToLast()
seekToLast in interface ReverseSeekingIterator<InternalKey,Slice>public void seekToEnd()
seekToEnd in interface ReverseSeekingIterator<InternalKey,Slice>public Map.Entry<InternalKey,Slice> peekPrev()
peekPrev in interface ReversePeekingIterator<Map.Entry<InternalKey,Slice>>public Map.Entry<InternalKey,Slice> prev()
prev in interface ReverseIterator<Map.Entry<InternalKey,Slice>>public boolean hasPrev()
hasPrev in interface ReverseIterator<Map.Entry<InternalKey,Slice>>Copyright © 2011–2015. All rights reserved.