public class MySqlDebeziumAvroPayload extends AbstractDebeziumAvroPayload
Debezium change event types are determined for the op field in the payload
- For inserts, op=i - For deletes, op=d - For updates, op=u - For snapshot inserts, op=r
This payload implementation will issue matching insert, delete, updates against the hudi table
isDeletedRecord, orderingVal, recordBytes| Constructor and Description |
|---|
MySqlDebeziumAvroPayload(org.apache.avro.generic.GenericRecord record,
Comparable orderingVal) |
MySqlDebeziumAvroPayload(Option<org.apache.avro.generic.GenericRecord> record) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
shouldPickCurrentRecord(org.apache.avro.generic.IndexedRecord currentRecord,
org.apache.avro.generic.IndexedRecord insertRecord,
org.apache.avro.Schema schema) |
combineAndGetUpdateValue, getInsertValue, isDeleteRecordgetOrderingValue, overwriteField, preCombinecanProduceSentinel, getOrderingVal, isDeletedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombineAndGetUpdateValue, getInsertValue, getMetadata, preCombine, preCombinepublic MySqlDebeziumAvroPayload(org.apache.avro.generic.GenericRecord record,
Comparable orderingVal)
public MySqlDebeziumAvroPayload(Option<org.apache.avro.generic.GenericRecord> record)
protected boolean shouldPickCurrentRecord(org.apache.avro.generic.IndexedRecord currentRecord,
org.apache.avro.generic.IndexedRecord insertRecord,
org.apache.avro.Schema schema)
throws IOException
shouldPickCurrentRecord in class AbstractDebeziumAvroPayloadIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.