@InterfaceAudience.Private public class HFileBlockIndex extends Object
HFileBlockIndex.BlockIndexWriter) and read
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.| 限定符和类型 | 类和说明 |
|---|---|
static class |
HFileBlockIndex.BlockIndexReader
The reader will always hold the root level index in the memory.
|
static class |
HFileBlockIndex.BlockIndexWriter
Writes the block index into the output stream.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
MAX_CHUNK_SIZE_KEY
The maximum size guideline for index blocks (both leaf, intermediate, and
root).
|
static String |
MIN_INDEX_NUM_ENTRIES_KEY
Minimum number of entries in a single index block.
|
| 构造器和说明 |
|---|
HFileBlockIndex() |
public static final String MAX_CHUNK_SIZE_KEY
DEFAULT_MAX_CHUNK_SIZE is used.public static final String MIN_INDEX_NUM_ENTRIES_KEY
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.