public abstract class HFileIndexBlock extends HFileBlock
| Modifier and Type | Field and Description |
|---|---|
protected long |
blockDataSize |
protected List<BlockIndexEntry> |
entries |
byteBuff, bytesPerChecksum, compressedByteBuff, context, HFILEBLOCK_HEADER_SIZE, HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM, onDiskSizeWithoutHeader, sizeCheckSum, startOffsetInBuff, startOffsetInCompressedBuff, uncompressedEndOffset, uncompressedSizeWithoutHeader| Modifier | Constructor and Description |
|---|---|
protected |
HFileIndexBlock(HFileContext context,
HFileBlockType blockType) |
protected |
HFileIndexBlock(HFileContext context,
HFileBlockType blockType,
byte[] byteBuff,
int startOffsetInBuff) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(byte[] firstKey,
long offset,
int size) |
int |
getNumOfEntries() |
boolean |
isEmpty() |
allocateBufferForUnpacking, getBlockType, getByteBuff, getOnDiskSizeWithHeader, getStartOffsetInBuffForWrite, getUncompressedBlockDataToWrite, parse, serialize, setStartOffsetInBuffForWrite, unpackprotected final List<BlockIndexEntry> entries
protected long blockDataSize
protected HFileIndexBlock(HFileContext context, HFileBlockType blockType, byte[] byteBuff, int startOffsetInBuff)
protected HFileIndexBlock(HFileContext context, HFileBlockType blockType)
Copyright © 2025 The Apache Software Foundation. All rights reserved.