public static class AbstractSSTableIterator.IndexState
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
IndexState(AbstractSSTableIterator.Reader reader,
ClusteringComparator comparator,
RowIndexEntry indexEntry,
boolean reversed,
FileHandle indexFile) |
| Modifier and Type | Method and Description |
|---|---|
int |
blocksCount() |
void |
close() |
int |
currentBlockIdx() |
IndexInfo |
currentIndex() |
int |
findBlockIndex(ClusteringBound bound,
int fromIdx) |
IndexInfo |
index(int i) |
int |
indexFor(ClusteringPrefix name,
int lastIndex) |
boolean |
isDone() |
boolean |
isPastCurrentBlock() |
void |
setToBlock(int blockIdx) |
java.lang.String |
toString() |
void |
updateBlock() |
public IndexState(AbstractSSTableIterator.Reader reader, ClusteringComparator comparator, RowIndexEntry indexEntry, boolean reversed, FileHandle indexFile)
public boolean isDone()
public void setToBlock(int blockIdx)
throws java.io.IOException
java.io.IOExceptionpublic int blocksCount()
public void updateBlock()
throws java.io.IOException
java.io.IOExceptionpublic boolean isPastCurrentBlock()
throws java.io.IOException
java.io.IOExceptionpublic int currentBlockIdx()
public IndexInfo currentIndex() throws java.io.IOException
java.io.IOExceptionpublic IndexInfo index(int i) throws java.io.IOException
java.io.IOExceptionpublic int findBlockIndex(ClusteringBound bound, int fromIdx) throws java.io.IOException
java.io.IOExceptionpublic int indexFor(ClusteringPrefix name, int lastIndex) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright © 2018 The Apache Software Foundation