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, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public EmptySSTableScanner(SSTableReader sstable)
public long getLengthInBytes()
getLengthInBytes
in interface ISSTableScanner
public long getCurrentPosition()
getCurrentPosition
in interface ISSTableScanner
public long getBytesScanned()
getBytesScanned
in interface ISSTableScanner
public long getCompressedLengthInBytes()
getCompressedLengthInBytes
in interface ISSTableScanner
public java.lang.String getBackingFiles()
getBackingFiles
in interface ISSTableScanner
public boolean isForThrift()
UnfilteredPartitionIterator
If 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 UnfilteredPartitionIterator
public CFMetaData metadata()
metadata
in interface UnfilteredPartitionIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<UnfilteredRowIterator>
public UnfilteredRowIterator next()
next
in interface java.util.Iterator<UnfilteredRowIterator>
Copyright © 2020 The Apache Software Foundation