public class HoodiePreCombineAvroRecordMerger extends HoodieAvroRecordMerger
It should only be used for deduplication among incoming records.
| Modifier and Type | Field and Description |
|---|---|
static HoodiePreCombineAvroRecordMerger |
INSTANCE |
DEFAULT_MERGER_STRATEGY_UUID| Constructor and Description |
|---|
HoodiePreCombineAvroRecordMerger() |
| Modifier and Type | Method and Description |
|---|---|
Option<Pair<HoodieRecord,org.apache.avro.Schema>> |
merge(HoodieRecord older,
org.apache.avro.Schema oldSchema,
HoodieRecord newer,
org.apache.avro.Schema newSchema,
TypedProperties props)
This method converges combineAndGetUpdateValue and precombine from HoodiePayload.
|
asPreCombiningMode, getMergingStrategy, getRecordTypepublic static final HoodiePreCombineAvroRecordMerger INSTANCE
public Option<Pair<HoodieRecord,org.apache.avro.Schema>> merge(HoodieRecord older, org.apache.avro.Schema oldSchema, HoodieRecord newer, org.apache.avro.Schema newSchema, TypedProperties props) throws IOException
HoodieRecordMergermerge in interface HoodieRecordMergermerge in class HoodieAvroRecordMergerIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.