public static class MultiLevelIndex.Reader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MultiLevelIndex.Reader.IndexIterator |
class |
MultiLevelIndex.Reader.Node |
Constructor and Description |
---|
Reader(BlockFileReader blockStore,
int version) |
Modifier and Type | Method and 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() |
public Reader(BlockFileReader blockStore, int version)
public MultiLevelIndex.Reader.IndexIterator lookup(Key key) throws IOException
IOException
public void readFields(DataInput in) throws IOException
IOException
public int size()
public void getIndexInfo(Map<Integer,Long> sizes, Map<Integer,Long> counts) throws IOException
IOException
public void printIndex(String prefix, PrintStream out) throws IOException
IOException
public Key getLastKey()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.