Class MultiLevelIndex.Reader
- java.lang.Object
-
- org.apache.accumulo.core.file.rfile.MultiLevelIndex.Reader
-
- Enclosing class:
- MultiLevelIndex
public static class MultiLevelIndex.Reader extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiLevelIndex.Reader.IndexIterator
class
MultiLevelIndex.Reader.Node
-
Constructor Summary
Constructors Constructor Description Reader(CachableBlockFile.Reader blockStore, int version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getIndexInfo(Map<Integer,Long> sizes, Map<Integer,Long> counts)
Key
getLastKey()
MultiLevelIndex.Reader.IndexIterator
lookup(Key key)
void
printIndex(String prefix, PrintStream out)
void
readFields(DataInput in)
int
size()
-
-
-
Constructor Detail
-
Reader
public Reader(CachableBlockFile.Reader blockStore, int version)
-
-
Method Detail
-
lookup
public MultiLevelIndex.Reader.IndexIterator lookup(Key key) throws IOException
- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
- Throws:
IOException
-
size
public int size()
-
getIndexInfo
public void getIndexInfo(Map<Integer,Long> sizes, Map<Integer,Long> counts) throws IOException
- Throws:
IOException
-
printIndex
public void printIndex(String prefix, PrintStream out) throws IOException
- Throws:
IOException
-
getLastKey
public Key getLastKey()
-
-