public interface HoodieRecordCompatibilityInterface
| Modifier and Type | Method and Description |
|---|---|
Option<HoodieAvroIndexedRecord> |
toIndexedRecord(org.apache.avro.Schema recordSchema,
Properties props) |
HoodieRecord |
truncateRecordKey(org.apache.avro.Schema recordSchema,
Properties props,
String keyFieldName)
This method used to overwrite record key field.
|
HoodieRecord |
wrapIntoHoodieRecordPayloadWithKeyGen(org.apache.avro.Schema recordSchema,
Properties props,
Option<BaseKeyGenerator> keyGen)
This method used to extract HoodieKey through keyGenerator.
|
HoodieRecord |
wrapIntoHoodieRecordPayloadWithParams(org.apache.avro.Schema recordSchema,
Properties props,
Option<Pair<String,String>> simpleKeyGenFieldsOpt,
Boolean withOperation,
Option<String> partitionNameOp,
Boolean populateMetaFieldsOp,
Option<org.apache.avro.Schema> schemaWithoutMetaFields)
This method used to extract HoodieKey not through keyGenerator.
|
HoodieRecord wrapIntoHoodieRecordPayloadWithParams(org.apache.avro.Schema recordSchema, Properties props, Option<Pair<String,String>> simpleKeyGenFieldsOpt, Boolean withOperation, Option<String> partitionNameOp, Boolean populateMetaFieldsOp, Option<org.apache.avro.Schema> schemaWithoutMetaFields) throws IOException
IOExceptionHoodieRecord wrapIntoHoodieRecordPayloadWithKeyGen(org.apache.avro.Schema recordSchema, Properties props, Option<BaseKeyGenerator> keyGen)
HoodieRecord truncateRecordKey(org.apache.avro.Schema recordSchema, Properties props, String keyFieldName) throws IOException
IOExceptionOption<HoodieAvroIndexedRecord> toIndexedRecord(org.apache.avro.Schema recordSchema, Properties props) throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.