org.apache.cassandra.io.sstable
Class SSTableScanner
java.lang.Object
org.apache.cassandra.io.sstable.SSTableScanner
- All Implemented Interfaces:
- java.io.Closeable, java.util.Iterator<IColumnIterator>, CloseableIterator<IColumnIterator>
- Direct Known Subclasses:
- SSTableBoundedScanner
public class SSTableScanner
- extends java.lang.Object
- implements CloseableIterator<IColumnIterator>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
file
protected final RandomAccessReader file
sstable
public final SSTableReader sstable
exhausted
protected boolean exhausted
iterator
protected java.util.Iterator<IColumnIterator> iterator
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Throws:
java.io.IOException
seekTo
public void seekTo(DecoratedKey<?> seekKey)
getFileLength
public long getFileLength()
getFilePointer
public long getFilePointer()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<IColumnIterator>
next
public IColumnIterator next()
- Specified by:
next
in interface java.util.Iterator<IColumnIterator>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<IColumnIterator>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011 The Apache Software Foundation