public class HoodieCommandBlock extends HoodieLogBlock
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieCommandBlock.HoodieCommandBlockTypeEnum
Hoodie command block type enum.
|
HoodieLogBlock.FooterMetadataType, HoodieLogBlock.HeaderMetadataType, HoodieLogBlock.HoodieLogBlockContentLocation, HoodieLogBlock.HoodieLogBlockTypereadBlockLazily, version| Constructor and Description |
|---|
HoodieCommandBlock(Map<HoodieLogBlock.HeaderMetadataType,String> header) |
HoodieCommandBlock(Option<byte[]> content,
Supplier<SeekableDataInputStream> inputStreamSupplier,
boolean readBlockLazily,
Option<HoodieLogBlock.HoodieLogBlockContentLocation> blockContentLocation,
Map<HoodieLogBlock.HeaderMetadataType,String> header,
Map<HoodieLogBlock.HeaderMetadataType,String> footer) |
| Modifier and Type | Method and Description |
|---|---|
HoodieLogBlock.HoodieLogBlockType |
getBlockType() |
byte[] |
getContentBytes(HoodieStorage storage) |
HoodieCommandBlock.HoodieCommandBlockTypeEnum |
getType() |
deflate, getBlockContentLocation, getContent, getLogBlockFooter, getLogBlockHeader, getLogBlockLength, getLogMetadata, getLogMetadataBytes, getMagic, getRecordPositions, inflate, isCompactedLogBlock, tryReadContentpublic HoodieCommandBlock(Map<HoodieLogBlock.HeaderMetadataType,String> header)
public HoodieCommandBlock(Option<byte[]> content, Supplier<SeekableDataInputStream> inputStreamSupplier, boolean readBlockLazily, Option<HoodieLogBlock.HoodieLogBlockContentLocation> blockContentLocation, Map<HoodieLogBlock.HeaderMetadataType,String> header, Map<HoodieLogBlock.HeaderMetadataType,String> footer)
public HoodieCommandBlock.HoodieCommandBlockTypeEnum getType()
public HoodieLogBlock.HoodieLogBlockType getBlockType()
getBlockType in class HoodieLogBlockpublic byte[] getContentBytes(HoodieStorage storage)
getContentBytes in class HoodieLogBlockCopyright © 2024 The Apache Software Foundation. All rights reserved.