public final class BlockIterator extends ASeekingIterator<Slice,Slice> implements SliceIterator
| Constructor and Description |
|---|
BlockIterator(Slice data,
Slice restartPositions,
Comparator<Slice> comparator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalClose() |
protected Slice |
internalKey() |
protected boolean |
internalNext(boolean switchDirection) |
protected boolean |
internalPrev(boolean switchDirection) |
protected boolean |
internalSeek(Slice targetKey)
Repositions the iterator so the key of the next BlockElement returned greater than or equal to the specified targetKey.
|
protected boolean |
internalSeekToFirst()
Repositions the iterator so the beginning of this block.
|
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 BlockIterator(Slice data, Slice restartPositions, Comparator<Slice> comparator)
protected Slice internalKey()
internalKey in class ASeekingIterator<Slice,Slice>protected Slice internalValue()
internalValue in class ASeekingIterator<Slice,Slice>protected boolean internalNext(boolean switchDirection)
internalNext in class ASeekingIterator<Slice,Slice>protected boolean internalPrev(boolean switchDirection)
internalPrev in class ASeekingIterator<Slice,Slice>protected boolean internalSeekToFirst()
internalSeekToFirst in class ASeekingIterator<Slice,Slice>protected boolean internalSeekToLast()
internalSeekToLast in class ASeekingIterator<Slice,Slice>protected boolean internalSeek(Slice targetKey)
internalSeek in class ASeekingIterator<Slice,Slice>protected void internalClose()
internalClose in class ASeekingIterator<Slice,Slice>Copyright © 2011–2020. All rights reserved.