public class OverwriteWithLatestMerger extends Object implements HoodieRecordMerger
DEFAULT_MERGER_STRATEGY_UUID, OVERWRITE_MERGER_STRATEGY_UUID| Constructor and Description |
|---|
OverwriteWithLatestMerger() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMergingStrategy()
The kind of merging strategy this recordMerger belongs to.
|
HoodieRecord.HoodieRecordType |
getRecordType()
The record type handled by the current merger.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfullOuterMerge, getMandatoryFieldsForMerging, getRecordMergeMode, partialMerge, shouldFlushpublic 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 HoodieRecordMergerIOExceptionpublic HoodieRecord.HoodieRecordType getRecordType()
HoodieRecordMergergetRecordType in interface HoodieRecordMergerpublic String getMergingStrategy()
HoodieRecordMergergetMergingStrategy in interface HoodieRecordMergerCopyright © 2024 The Apache Software Foundation. All rights reserved.