public class HFileFileInfoBlock extends HFileBlock
HFileBlockType.FILE_INFO block.| Modifier and Type | Field and Description |
|---|---|
static byte[] |
PB_MAGIC |
byteBuff, bytesPerChecksum, compressedByteBuff, context, HFILEBLOCK_HEADER_SIZE, HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM, onDiskSizeWithoutHeader, sizeCheckSum, startOffsetInBuff, startOffsetInCompressedBuff, uncompressedEndOffset, uncompressedSizeWithoutHeader| Constructor and Description |
|---|
HFileFileInfoBlock(HFileContext context,
byte[] byteBuff,
int startOffsetInBuff) |
| Modifier and Type | Method and Description |
|---|---|
HFileInfo |
readFileInfo() |
allocateBufferForUnpacking, getBlockType, getByteBuff, getOnDiskSizeWithHeader, parse, unpackpublic HFileFileInfoBlock(HFileContext context, byte[] byteBuff, int startOffsetInBuff)
public HFileInfo readFileInfo() throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.