public class BigTableScanner extends java.lang.Object implements ISSTableScanner
| Modifier and Type | Class and Description |
|---|---|
static class |
BigTableScanner.EmptySSTableScanner |
protected class |
BigTableScanner.KeyScanningIterator |
| Modifier and Type | Field and Description |
|---|---|
protected RandomAccessReader |
dfile |
protected RandomAccessReader |
ifile |
protected java.util.Iterator<UnfilteredRowIterator> |
iterator |
SSTableReader |
sstable |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.util.Set<SSTableReader> |
getBackingSSTables() |
long |
getBytesScanned() |
long |
getCompressedLengthInBytes() |
long |
getCurrentPosition() |
long |
getLengthInBytes() |
static ISSTableScanner |
getScanner(SSTableReader sstable) |
static ISSTableScanner |
getScanner(SSTableReader sstable,
java.util.Collection<Range<Token>> tokenRanges) |
static ISSTableScanner |
getScanner(SSTableReader sstable,
ColumnFilter columns,
DataRange dataRange,
SSTableReadsListener listener) |
static ISSTableScanner |
getScanner(SSTableReader sstable,
java.util.Iterator<AbstractBounds<PartitionPosition>> rangeIterator) |
boolean |
hasNext() |
TableMetadata |
metadata() |
UnfilteredRowIterator |
next() |
void |
remove() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloseAllAndPropagateprotected final RandomAccessReader dfile
protected final RandomAccessReader ifile
public final SSTableReader sstable
protected java.util.Iterator<UnfilteredRowIterator> iterator
public static ISSTableScanner getScanner(SSTableReader sstable)
public static ISSTableScanner getScanner(SSTableReader sstable, ColumnFilter columns, DataRange dataRange, SSTableReadsListener listener)
public static ISSTableScanner getScanner(SSTableReader sstable, java.util.Collection<Range<Token>> tokenRanges)
public static ISSTableScanner getScanner(SSTableReader sstable, java.util.Iterator<AbstractBounds<PartitionPosition>> rangeIterator)
public void close()
close in interface java.lang.AutoCloseableclose in interface BasePartitionIterator<UnfilteredRowIterator>close in interface CloseableIterator<UnfilteredRowIterator>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.util.Set<SSTableReader> getBackingSSTables()
getBackingSSTables in interface ISSTableScannerpublic TableMetadata metadata()
metadata in interface UnfilteredPartitionIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<UnfilteredRowIterator>public UnfilteredRowIterator next()
next in interface java.util.Iterator<UnfilteredRowIterator>public void remove()
remove in interface java.util.Iterator<UnfilteredRowIterator>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2020 The Apache Software Foundation