| Package | Description |
|---|---|
| org.apache.hudi.common.model | |
| org.apache.hudi.keygen |
| Modifier and Type | Method and Description |
|---|---|
Option<org.apache.avro.generic.IndexedRecord> |
HoodieRecordPayload.combineAndGetUpdateValue(org.apache.avro.generic.IndexedRecord currentValue,
org.apache.avro.Schema schema)
Deprecated.
|
Option<org.apache.avro.generic.IndexedRecord> |
HoodieRecordPayload.getInsertValue(org.apache.avro.Schema schema)
Deprecated.
|
default Option<org.apache.avro.generic.IndexedRecord> |
HoodieRecordPayload.getInsertValue(org.apache.avro.Schema schema,
Properties properties)
Generates an avro record out of the given HoodieRecordPayload, to be written out to storage.
|
default Option<Map<String,String>> |
HoodieRecordPayload.getMetadata()
This method can be used to extract some metadata from HoodieRecordPayload.
|
default Comparable<?> |
HoodieRecordPayload.getOrderingValue()
This method can be used to extract the ordering value of the payload for combining/merging,
or 0 if no value is specified which means natural order(arrival time is used).
|
T |
HoodieRecordPayload.preCombine(T oldValue)
Deprecated.
|
default T |
HoodieRecordPayload.preCombine(T oldValue,
Properties properties)
When more than one HoodieRecord have the same HoodieKey in the incoming batch, this function combines them before attempting to insert/upsert by taking in a property map.
|
| Modifier and Type | Method and Description |
|---|---|
abstract HoodieKey |
KeyGenerator.getKey(org.apache.avro.generic.GenericRecord record)
Generate a Hoodie Key out of provided generic record.
|
List<String> |
KeyGenerator.getRecordKeyFieldNames()
Used during bootstrap, to project out only the record key fields from bootstrap source dataset.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.