public class HoodieJsonPayload extends Object implements HoodieRecordPayload<HoodieJsonPayload>
| Constructor and Description |
|---|
HoodieJsonPayload(String json) |
| Modifier and Type | Method and Description |
|---|---|
Option<org.apache.avro.generic.IndexedRecord> |
combineAndGetUpdateValue(org.apache.avro.generic.IndexedRecord oldRec,
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.
|
String |
getPartitionPath(String partitionPathField) |
String |
getRowKey(String keyColumnField) |
HoodieJsonPayload |
preCombine(HoodieJsonPayload oldValue)
This method is deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombineAndGetUpdateValue, getInsertValue, getMetadata, getOrderingValue, preCombine, preCombinepublic HoodieJsonPayload(String json) throws IOException
IOExceptionpublic HoodieJsonPayload preCombine(HoodieJsonPayload oldValue)
HoodieRecordPayloadHoodieRecordPayload.preCombine(HoodieRecordPayload, Properties) method.preCombine in interface HoodieRecordPayload<HoodieJsonPayload>public Option<org.apache.avro.generic.IndexedRecord> combineAndGetUpdateValue(org.apache.avro.generic.IndexedRecord oldRec, org.apache.avro.Schema schema) throws IOException
HoodieRecordPayloadHoodieRecordPayload.combineAndGetUpdateValue(IndexedRecord, Schema, Properties) for java docs.combineAndGetUpdateValue in interface HoodieRecordPayload<HoodieJsonPayload>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<HoodieJsonPayload>schema - Schema used for recordIndexedRecord to be inserted.IOExceptionpublic String getRowKey(String keyColumnField) throws IOException
IOExceptionpublic String getPartitionPath(String partitionPathField) throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.