Constructor and Description |
---|
BlockIterator(Slice data,
Slice restartPositions,
Comparator<Slice> comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
BlockEntry |
next() |
BlockEntry |
peek() |
void |
remove() |
void |
seek(Slice 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, wait
forEachRemaining
public BlockIterator(Slice data, Slice restartPositions, Comparator<Slice> comparator)
public boolean hasNext()
public BlockEntry peek()
public BlockEntry next()
public void remove()
public void seekToFirst()
seekToFirst
in interface SeekingIterator<Slice,Slice>
public void seek(Slice targetKey)
seek
in interface SeekingIterator<Slice,Slice>
Copyright © 2011–2019. All rights reserved.