Class SSTableIterator
- java.lang.Object
-
- org.apache.cassandra.db.columniterator.AbstractSSTableIterator
-
- org.apache.cassandra.db.columniterator.SSTableIterator
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.util.Iterator<Unfiltered>,BaseRowIterator<Unfiltered>,UnfilteredRowIterator,CloseableIterator<Unfiltered>
public class SSTableIterator extends AbstractSSTableIterator
A Cell Iterator over SSTable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.db.columniterator.AbstractSSTableIterator
AbstractSSTableIterator.IndexState, AbstractSSTableIterator.Reader
-
-
Constructor Summary
Constructors Constructor Description SSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractSSTableIterator.ReadercreateReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)protected booleanhasMoreSlices()Checks if there are more slice to process.booleanisReverseOrder()Whether or not the rows returned by this iterator are in reversed clustering order.protected intnextSliceIndex()Returns the index of the next slice to process.-
Methods inherited from class org.apache.cassandra.db.columniterator.AbstractSSTableIterator
close, columns, hasNext, metadata, next, partitionKey, partitionLevelDeletion, remove, staticRow, stats
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.db.rows.UnfilteredRowIterator
isEmpty
-
-
-
-
Constructor Detail
-
SSTableIterator
public SSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile)
-
-
Method Detail
-
createReaderInternal
protected AbstractSSTableIterator.Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
- Specified by:
createReaderInternalin classAbstractSSTableIterator
-
nextSliceIndex
protected int nextSliceIndex()
Description copied from class:AbstractSSTableIteratorReturns the index of the next slice to process.- Specified by:
nextSliceIndexin classAbstractSSTableIterator- Returns:
- the index of the next slice to process
-
hasMoreSlices
protected boolean hasMoreSlices()
Description copied from class:AbstractSSTableIteratorChecks if there are more slice to process.- Specified by:
hasMoreSlicesin classAbstractSSTableIterator- Returns:
trueif there are more slice to process,falseotherwise.
-
isReverseOrder
public boolean isReverseOrder()
Description copied from interface:BaseRowIteratorWhether or not the rows returned by this iterator are in reversed clustering order.
-
-