| Package | Description |
|---|---|
| org.apache.hudi.io.hfile |
| Modifier and Type | Method and Description |
|---|---|
HFileBlockType |
HFileBlock.getBlockType() |
static HFileBlockType |
HFileBlockType.parse(byte[] buf,
int offset)
Parses the block type from the block magic.
|
static HFileBlockType |
HFileBlockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HFileBlockType[] |
HFileBlockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HFileBlock |
HFileBlockReader.nextBlock(HFileBlockType expectedBlockType)
Reads the next block based on the expected block type.
|
| Constructor and Description |
|---|
HFileBlock(HFileContext context,
HFileBlockType blockType,
byte[] byteBuff,
int startOffsetInBuff)
Initialize HFileBlock for read.
|
HFileBlock(HFileContext context,
HFileBlockType blockType,
long previousBlockOffsetForWrite)
Initialize HFileBlock for write.
|
HFileIndexBlock(HFileContext context,
HFileBlockType blockType) |
HFileIndexBlock(HFileContext context,
HFileBlockType blockType,
byte[] byteBuff,
int startOffsetInBuff) |
HFileLeafIndexBlock(HFileContext context,
HFileBlockType blockType,
byte[] byteBuff,
int startOffsetInBuff) |
Copyright © 2025 The Apache Software Foundation. All rights reserved.