public class HoodieCDCDataBlock extends HoodieAvroDataBlock
HoodieLogBlock.FooterMetadataType, HoodieLogBlock.HeaderMetadataType, HoodieLogBlock.HoodieLogBlockContentLocation, HoodieLogBlock.HoodieLogBlockTypereaderSchemareadBlockLazily, version| Constructor and Description |
|---|
HoodieCDCDataBlock(List<HoodieRecord> records,
Map<HoodieLogBlock.HeaderMetadataType,String> header,
String keyField) |
HoodieCDCDataBlock(Supplier<SeekableDataInputStream> inputStreamSupplier,
Option<byte[]> content,
boolean readBlockLazily,
HoodieLogBlock.HoodieLogBlockContentLocation logBlockContentLocation,
org.apache.avro.Schema readerSchema,
Map<HoodieLogBlock.HeaderMetadataType,String> header,
String keyField) |
| Modifier and Type | Method and Description |
|---|---|
HoodieLogBlock.HoodieLogBlockType |
getBlockType() |
deserializeRecords, getBlock, getBlock, getBytes, serializeRecordsgetContentBytes, getKeyField, getKeyFieldName, getRecordIterator, getRecordIterator, getRecordKey, getSchema, getSchemaFromHeader, getWriterSchema, lookupRecords, readRecordsFromBlockPayloaddeflate, getBlockContentLocation, getContent, getLogBlockFooter, getLogBlockHeader, getLogBlockLength, getLogMetadata, getLogMetadataBytes, getMagic, getRecordPositions, inflate, isCompactedLogBlock, tryReadContentpublic HoodieCDCDataBlock(Supplier<SeekableDataInputStream> inputStreamSupplier, Option<byte[]> content, boolean readBlockLazily, HoodieLogBlock.HoodieLogBlockContentLocation logBlockContentLocation, org.apache.avro.Schema readerSchema, Map<HoodieLogBlock.HeaderMetadataType,String> header, String keyField)
public HoodieCDCDataBlock(List<HoodieRecord> records, Map<HoodieLogBlock.HeaderMetadataType,String> header, String keyField)
public HoodieLogBlock.HoodieLogBlockType getBlockType()
getBlockType in class HoodieAvroDataBlockCopyright © 2024 The Apache Software Foundation. All rights reserved.