public class SSTableScanner extends java.lang.Object implements ISSTableScanner
Modifier and Type | Class and Description |
---|---|
static class |
SSTableScanner.EmptySSTableScanner |
protected class |
SSTableScanner.KeyScanningIterator |
Modifier and Type | Field and Description |
---|---|
protected RandomAccessReader |
dfile |
protected RandomAccessReader |
ifile |
protected java.util.Iterator<OnDiskAtomIterator> |
iterator |
SSTableReader |
sstable |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getBackingFiles() |
long |
getCurrentPosition() |
long |
getLengthInBytes() |
static ISSTableScanner |
getScanner(SSTableReader sstable,
java.util.Collection<Range<Token>> tokenRanges,
com.google.common.util.concurrent.RateLimiter limiter) |
static ISSTableScanner |
getScanner(SSTableReader sstable,
DataRange dataRange,
com.google.common.util.concurrent.RateLimiter limiter) |
boolean |
hasNext() |
OnDiskAtomIterator |
next() |
void |
remove() |
java.lang.String |
toString() |
protected final RandomAccessReader dfile
protected final RandomAccessReader ifile
public final SSTableReader sstable
protected java.util.Iterator<OnDiskAtomIterator> iterator
public static ISSTableScanner getScanner(SSTableReader sstable, DataRange dataRange, com.google.common.util.concurrent.RateLimiter limiter)
public static ISSTableScanner getScanner(SSTableReader sstable, java.util.Collection<Range<Token>> tokenRanges, com.google.common.util.concurrent.RateLimiter limiter)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public long getLengthInBytes()
getLengthInBytes
in interface ISSTableScanner
public long getCurrentPosition()
getCurrentPosition
in interface ISSTableScanner
public java.lang.String getBackingFiles()
getBackingFiles
in interface ISSTableScanner
public boolean hasNext()
hasNext
in interface java.util.Iterator<OnDiskAtomIterator>
public OnDiskAtomIterator next()
next
in interface java.util.Iterator<OnDiskAtomIterator>
public void remove()
remove
in interface java.util.Iterator<OnDiskAtomIterator>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 The Apache Software Foundation