public static class BigTableScanner.EmptySSTableScanner extends AbstractUnfilteredPartitionIterator implements ISSTableScanner
| Constructor and Description |
|---|
EmptySSTableScanner(SSTableReader sstable) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackingFiles() |
long |
getBytesScanned() |
long |
getCompressedLengthInBytes() |
long |
getCurrentPosition() |
long |
getLengthInBytes() |
boolean |
hasNext() |
boolean |
isForThrift()
Whether that partition iterator is for a thrift queries.
|
CFMetaData |
metadata() |
UnfilteredRowIterator |
next() |
close, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic EmptySSTableScanner(SSTableReader sstable)
public long getLengthInBytes()
getLengthInBytes in interface ISSTableScannerpublic long getCurrentPosition()
getCurrentPosition in interface ISSTableScannerpublic long getBytesScanned()
getBytesScanned in interface ISSTableScannerpublic long getCompressedLengthInBytes()
getCompressedLengthInBytes in interface ISSTableScannerpublic java.lang.String getBackingFiles()
getBackingFiles in interface ISSTableScannerpublic boolean isForThrift()
UnfilteredPartitionIteratorIf this is true, the partition iterator may return some empty UnfilteredRowIterator and those should be preserved as thrift include partitions that "exists" (have some cells even if this are actually deleted) but have nothing matching the query.
isForThrift in interface UnfilteredPartitionIteratorpublic CFMetaData metadata()
metadata in interface UnfilteredPartitionIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<UnfilteredRowIterator>public UnfilteredRowIterator next()
next in interface java.util.Iterator<UnfilteredRowIterator>Copyright © 2018 The Apache Software Foundation