public class HFileMetaBlock extends HFileBlock
HFileBlockType.META block.| Modifier and Type | Field and Description |
|---|---|
protected KeyValueEntry |
entryToWrite |
byteBuff, bytesPerChecksum, compressedByteBuff, context, HFILEBLOCK_HEADER_SIZE, HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM, onDiskSizeWithoutHeader, sizeCheckSum, startOffsetInBuff, startOffsetInCompressedBuff, uncompressedEndOffset, uncompressedSizeWithoutHeader| Modifier | Constructor and Description |
|---|---|
protected |
HFileMetaBlock(HFileContext context,
byte[] byteBuff,
int startOffsetInBuff) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFirstKey() |
ByteBuffer |
getUncompressedBlockDataToWrite()
Returns serialized "data" part of the block.
|
ByteBuffer |
readContent() |
allocateBufferForUnpacking, getBlockType, getByteBuff, getOnDiskSizeWithHeader, getStartOffsetInBuffForWrite, parse, serialize, setStartOffsetInBuffForWrite, unpackprotected KeyValueEntry entryToWrite
protected HFileMetaBlock(HFileContext context, byte[] byteBuff, int startOffsetInBuff)
public ByteBuffer readContent()
public byte[] getFirstKey()
public ByteBuffer getUncompressedBlockDataToWrite() throws IOException
HFileBlockgetUncompressedBlockDataToWrite in class HFileBlockIOExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.