public class HoodieDeleteBlock extends HoodieLogBlock
HoodieLogBlock.FooterMetadataType, HoodieLogBlock.HeaderMetadataType, HoodieLogBlock.HoodieLogBlockContentLocation, HoodieLogBlock.HoodieLogBlockTypeinputStream, readBlockLazily, version| Constructor and Description |
|---|
HoodieDeleteBlock(HoodieKey[] keysToDelete,
Map<HoodieLogBlock.HeaderMetadataType,String> header) |
| Modifier and Type | Method and Description |
|---|---|
static HoodieLogBlock |
getBlock(HoodieLogFile logFile,
org.apache.hadoop.fs.FSDataInputStream inputStream,
Option<byte[]> content,
boolean readBlockLazily,
long position,
long blockSize,
long blockEndPos,
Map<HoodieLogBlock.HeaderMetadataType,String> header,
Map<HoodieLogBlock.HeaderMetadataType,String> footer) |
HoodieLogBlock.HoodieLogBlockType |
getBlockType() |
byte[] |
getContentBytes() |
HoodieKey[] |
getKeysToDelete() |
deflate, getBlockContentLocation, getContent, getLogBlockFooter, getLogBlockHeader, getLogBlockLength, getLogMetadata, getLogMetadataBytes, getMagic, inflate, readOrSkipContentpublic HoodieDeleteBlock(HoodieKey[] keysToDelete, Map<HoodieLogBlock.HeaderMetadataType,String> header)
public byte[] getContentBytes()
throws IOException
getContentBytes in class HoodieLogBlockIOExceptionpublic HoodieKey[] getKeysToDelete()
public HoodieLogBlock.HoodieLogBlockType getBlockType()
getBlockType in class HoodieLogBlockpublic static HoodieLogBlock getBlock(HoodieLogFile logFile, org.apache.hadoop.fs.FSDataInputStream inputStream, Option<byte[]> content, boolean readBlockLazily, long position, long blockSize, long blockEndPos, Map<HoodieLogBlock.HeaderMetadataType,String> header, Map<HoodieLogBlock.HeaderMetadataType,String> footer) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.