org.apache.hadoop.hbase.io.hfile
Class HFileBlockIndex
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileBlockIndex
@InterfaceAudience.Private
public class HFileBlockIndex
- extends Object
Provides functionality to write (HFileBlockIndex.BlockIndexWriter) and read
(HFileBlockIndex.BlockIndexReader) single-level and multi-level block indexes.
Examples of how to use the block index writer can be found in
CompoundBloomFilterWriter and HFileWriterV2. Examples of how
to use the reader can be found in HFileReaderV2 and
TestHFileBlockIndex.
|
Field Summary |
static String |
MAX_CHUNK_SIZE_KEY
The maximum size guideline for index blocks (both leaf, intermediate, and
root). |
|
Method Summary |
static int |
getMaxChunkSize(org.apache.hadoop.conf.Configuration conf)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_CHUNK_SIZE_KEY
public static final String MAX_CHUNK_SIZE_KEY
- The maximum size guideline for index blocks (both leaf, intermediate, and
root). If not specified,
DEFAULT_MAX_CHUNK_SIZE is used.
- See Also:
- Constant Field Values
HFileBlockIndex
public HFileBlockIndex()
getMaxChunkSize
public static int getMaxChunkSize(org.apache.hadoop.conf.Configuration conf)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.