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.IOException
public int blocksCount()
public void updateBlock() throws java.io.IOException
java.io.IOException
public boolean isPastCurrentBlock() throws java.io.IOException
java.io.IOException
public int currentBlockIdx()
public IndexInfo currentIndex() throws java.io.IOException
java.io.IOException
public IndexInfo index(int i) throws java.io.IOException
java.io.IOException
public int findBlockIndex(ClusteringBound bound, int fromIdx) throws java.io.IOException
java.io.IOException
public int indexFor(ClusteringPrefix name, int lastIndex) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
java.io.IOException
Copyright © 2009- The Apache Software Foundation