Package org.apache.cassandra.io.sstable
Class EmptySSTableScanner
- java.lang.Object
-
- org.apache.cassandra.db.partitions.AbstractUnfilteredPartitionIterator
-
- org.apache.cassandra.io.sstable.EmptySSTableScanner
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.Iterator<UnfilteredRowIterator>
,BasePartitionIterator<UnfilteredRowIterator>
,UnfilteredPartitionIterator
,ISSTableScanner
,CloseableIterator<UnfilteredRowIterator>
public class EmptySSTableScanner extends AbstractUnfilteredPartitionIterator implements ISSTableScanner
-
-
Constructor Summary
Constructors Constructor Description EmptySSTableScanner(SSTableReader sstable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<SSTableReader>
getBackingSSTables()
long
getBytesScanned()
long
getCompressedLengthInBytes()
long
getCurrentPosition()
long
getLengthInBytes()
boolean
hasNext()
TableMetadata
metadata()
UnfilteredRowIterator
next()
-
Methods inherited from class org.apache.cassandra.db.partitions.AbstractUnfilteredPartitionIterator
close, remove
-
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.partitions.BasePartitionIterator
close
-
-
-
-
Constructor Detail
-
EmptySSTableScanner
public EmptySSTableScanner(SSTableReader sstable)
-
-
Method Detail
-
getBytesScanned
public long getBytesScanned()
- Specified by:
getBytesScanned
in interfaceISSTableScanner
-
getLengthInBytes
public long getLengthInBytes()
- Specified by:
getLengthInBytes
in interfaceISSTableScanner
-
getCompressedLengthInBytes
public long getCompressedLengthInBytes()
- Specified by:
getCompressedLengthInBytes
in interfaceISSTableScanner
-
getBackingSSTables
public java.util.Set<SSTableReader> getBackingSSTables()
- Specified by:
getBackingSSTables
in interfaceISSTableScanner
-
getCurrentPosition
public long getCurrentPosition()
- Specified by:
getCurrentPosition
in interfaceISSTableScanner
-
metadata
public TableMetadata metadata()
- Specified by:
metadata
in interfaceUnfilteredPartitionIterator
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<UnfilteredRowIterator>
-
next
public UnfilteredRowIterator next()
- Specified by:
next
in interfacejava.util.Iterator<UnfilteredRowIterator>
-
-