Class SSTableIterator
java.lang.Object
org.apache.cassandra.io.sstable.AbstractSSTableIterator<RowIndexEntry>
org.apache.cassandra.io.sstable.format.big.SSTableIterator
- All Implemented Interfaces:
AutoCloseable,Iterator<Unfiltered>,BaseRowIterator<Unfiltered>,UnfilteredRowIterator,CloseableIterator<Unfiltered>
A Cell Iterator over SSTable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.io.sstable.AbstractSSTableIterator
AbstractSSTableIterator.AbstractReader, AbstractSSTableIterator.ForwardReader, AbstractSSTableIterator.Reader -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractSSTableIterator.ReadercreateReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile, Version version) protected booleanChecks if there are more slice to process.booleanWhether or not the rows returned by this iterator are in reversed clustering order.protected intReturns the index of the next slice to process.Methods inherited from class org.apache.cassandra.io.sstable.AbstractSSTableIterator
close, columns, hasNext, metadata, next, partitionKey, partitionLevelDeletion, remove, staticRow, statsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface org.apache.cassandra.db.rows.UnfilteredRowIterator
isEmpty
-
Constructor Details
-
SSTableIterator
public SSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile)
-
-
Method Details
-
createReaderInternal
protected AbstractSSTableIterator.Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile, Version version) - Specified by:
createReaderInternalin classAbstractSSTableIterator<RowIndexEntry>
-
nextSliceIndex
protected int nextSliceIndex()Description copied from class:AbstractSSTableIteratorReturns the index of the next slice to process.- Specified by:
nextSliceIndexin classAbstractSSTableIterator<RowIndexEntry>- 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<RowIndexEntry>- 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.
-