public class SSTableIterator extends AbstractSSTableIterator
AbstractSSTableIterator.IndexState, AbstractSSTableIterator.Reader
Constructor and Description |
---|
SSTableIterator(SSTableReader sstable,
FileDataInput file,
DecoratedKey key,
RowIndexEntry indexEntry,
Slices slices,
ColumnFilter columns,
FileHandle ifile) |
Modifier and Type | Method and Description |
---|---|
protected AbstractSSTableIterator.Reader |
createReaderInternal(RowIndexEntry indexEntry,
FileDataInput file,
boolean shouldCloseFile) |
protected boolean |
hasMoreSlices()
Checks if there are more slice to process.
|
boolean |
isReverseOrder()
Whether or not the rows returned by this iterator are in reversed
clustering order.
|
protected int |
nextSliceIndex()
Returns the index of the next slice to process.
|
close, columns, hasNext, metadata, next, partitionKey, partitionLevelDeletion, remove, staticRow, stats
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty
public SSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile)
protected AbstractSSTableIterator.Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
createReaderInternal
in class AbstractSSTableIterator
protected int nextSliceIndex()
AbstractSSTableIterator
nextSliceIndex
in class AbstractSSTableIterator
protected boolean hasMoreSlices()
AbstractSSTableIterator
hasMoreSlices
in class AbstractSSTableIterator
true
if there are more slice to process, false
otherwise.public boolean isReverseOrder()
BaseRowIterator
Copyright © 2009-2021 The Apache Software Foundation