Class SSTableSimpleScanner
java.lang.Object
org.apache.cassandra.io.sstable.format.SSTableSimpleScanner
- All Implemented Interfaces:
AutoCloseable,Iterator<UnfilteredRowIterator>,BasePartitionIterator<UnfilteredRowIterator>,UnfilteredPartitionIterator,ISSTableScanner,CloseableIterator<UnfilteredRowIterator>
-
Constructor Summary
ConstructorsConstructorDescriptionSSTableSimpleScanner(SSTableReader sstable, Collection<SSTableReader.PartitionPositionBounds> boundsList) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
SSTableSimpleScanner
public SSTableSimpleScanner(SSTableReader sstable, Collection<SSTableReader.PartitionPositionBounds> boundsList)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBasePartitionIterator<UnfilteredRowIterator>- Specified by:
closein interfaceCloseableIterator<UnfilteredRowIterator>
-
getLengthInBytes
public long getLengthInBytes()- Specified by:
getLengthInBytesin interfaceISSTableScanner
-
getCompressedLengthInBytes
public long getCompressedLengthInBytes()- Specified by:
getCompressedLengthInBytesin interfaceISSTableScanner
-
getCurrentPosition
public long getCurrentPosition()- Specified by:
getCurrentPositionin interfaceISSTableScanner
-
getBytesScanned
public long getBytesScanned()- Specified by:
getBytesScannedin interfaceISSTableScanner
-
getBackingSSTables
- Specified by:
getBackingSSTablesin interfaceISSTableScanner
-
metadata
- Specified by:
metadatain interfaceUnfilteredPartitionIterator
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<UnfilteredRowIterator>
-
next
- Specified by:
nextin interfaceIterator<UnfilteredRowIterator>
-
remove
public void remove()- Specified by:
removein interfaceIterator<UnfilteredRowIterator>
-
toString
-