Package org.apache.cassandra.io.sstable
Interface ISSTableScanner
-
- All Superinterfaces:
java.lang.AutoCloseable,BasePartitionIterator<UnfilteredRowIterator>,CloseableIterator<UnfilteredRowIterator>,java.util.Iterator<UnfilteredRowIterator>,UnfilteredPartitionIterator
- All Known Implementing Classes:
BigTableScanner,BigTableScanner.EmptySSTableScanner
public interface ISSTableScanner extends UnfilteredPartitionIterator
An ISSTableScanner is an abstraction allowing multiple SSTableScanners to be chained together under the hood. See LeveledCompactionStrategy.getScanners.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static voidcloseAllAndPropagate(java.util.Collection<ISSTableScanner> scanners, java.lang.Throwable throwable)java.util.Set<SSTableReader>getBackingSSTables()longgetBytesScanned()longgetCompressedLengthInBytes()longgetCurrentPosition()longgetLengthInBytes()-
Methods inherited from interface org.apache.cassandra.db.partitions.BasePartitionIterator
close
-
Methods inherited from interface org.apache.cassandra.db.partitions.UnfilteredPartitionIterator
metadata
-
-
-
-
Method Detail
-
getLengthInBytes
long getLengthInBytes()
-
getCompressedLengthInBytes
long getCompressedLengthInBytes()
-
getCurrentPosition
long getCurrentPosition()
-
getBytesScanned
long getBytesScanned()
-
getBackingSSTables
java.util.Set<SSTableReader> getBackingSSTables()
-
closeAllAndPropagate
static void closeAllAndPropagate(java.util.Collection<ISSTableScanner> scanners, java.lang.Throwable throwable)
-
-