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