public class HoodieAvroPayload extends Object implements HoodieRecordPayload<HoodieAvroPayload>
| Constructor and Description |
|---|
HoodieAvroPayload(Option<org.apache.avro.generic.GenericRecord> record) |
| Modifier and Type | Method and Description |
|---|---|
Option<org.apache.avro.generic.IndexedRecord> |
combineAndGetUpdateValue(org.apache.avro.generic.IndexedRecord currentValue,
org.apache.avro.Schema schema)
This methods is deprecated.
|
Option<org.apache.avro.generic.IndexedRecord> |
getInsertValue(org.apache.avro.Schema schema)
This method is deprecated.
|
byte[] |
getRecordBytes() |
HoodieAvroPayload |
preCombine(HoodieAvroPayload another)
This method is deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombineAndGetUpdateValue, getInsertValue, getMetadata, preCombinepublic HoodieAvroPayload(Option<org.apache.avro.generic.GenericRecord> record)
public HoodieAvroPayload preCombine(HoodieAvroPayload another)
HoodieRecordPayloadHoodieRecordPayload.preCombine(HoodieRecordPayload, Properties) method.preCombine in interface HoodieRecordPayload<HoodieAvroPayload>public Option<org.apache.avro.generic.IndexedRecord> combineAndGetUpdateValue(org.apache.avro.generic.IndexedRecord currentValue, org.apache.avro.Schema schema) throws IOException
HoodieRecordPayloadHoodieRecordPayload.combineAndGetUpdateValue(IndexedRecord, Schema, Properties) for java docs.combineAndGetUpdateValue in interface HoodieRecordPayload<HoodieAvroPayload>IOExceptionpublic Option<org.apache.avro.generic.IndexedRecord> getInsertValue(org.apache.avro.Schema schema) throws IOException
HoodieRecordPayloadHoodieRecordPayload.getInsertValue(Schema, Properties) for java docs.getInsertValue in interface HoodieRecordPayload<HoodieAvroPayload>schema - Schema used for recordIndexedRecord to be inserted.IOExceptionpublic byte[] getRecordBytes()
Copyright © 2021 The Apache Software Foundation. All rights reserved.