public final class MergingIterator extends ASeekingIterator<InternalKey,Slice> implements InternalIterator
| Constructor and Description |
|---|
MergingIterator(List<InternalIterator> iterators,
Comparator<InternalKey> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
internalClose() |
protected InternalKey |
internalKey() |
protected boolean |
internalNext(boolean switchDirection) |
protected boolean |
internalPrev(boolean switchDirection) |
protected boolean |
internalSeek(InternalKey targetKey) |
protected boolean |
internalSeekToFirst() |
protected boolean |
internalSeekToLast() |
protected Slice |
internalValue() |
close, key, next, prev, seek, seekToFirst, seekToLast, valid, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkey, next, prev, seek, seekToFirst, seekToLast, valid, valuepublic MergingIterator(List<InternalIterator> iterators, Comparator<InternalKey> comparator)
protected boolean internalSeekToFirst()
internalSeekToFirst in class ASeekingIterator<InternalKey,Slice>protected boolean internalSeekToLast()
internalSeekToLast in class ASeekingIterator<InternalKey,Slice>protected boolean internalSeek(InternalKey targetKey)
internalSeek in class ASeekingIterator<InternalKey,Slice>protected boolean internalNext(boolean switchDirection)
internalNext in class ASeekingIterator<InternalKey,Slice>protected boolean internalPrev(boolean switchDirection)
internalPrev in class ASeekingIterator<InternalKey,Slice>protected InternalKey internalKey()
internalKey in class ASeekingIterator<InternalKey,Slice>protected Slice internalValue()
internalValue in class ASeekingIterator<InternalKey,Slice>public void internalClose()
throws IOException
internalClose in class ASeekingIterator<InternalKey,Slice>IOExceptionCopyright © 2011–2020. All rights reserved.