T - public abstract class BaseDeleteHelper<T extends HoodieRecordPayload,I,K,O,R> extends Object
| Constructor and Description |
|---|
BaseDeleteHelper() |
| Modifier and Type | Method and Description |
|---|---|
abstract K |
deduplicateKeys(K keys,
HoodieTable<T,I,K,O> table,
int parallelism)
Deduplicate Hoodie records, using the given deduplication function.
|
abstract HoodieWriteMetadata<O> |
execute(String instantTime,
K keys,
HoodieEngineContext context,
HoodieWriteConfig config,
HoodieTable<T,I,K,O> table,
BaseCommitActionExecutor<T,I,K,O,R> deleteExecutor) |
public abstract K deduplicateKeys(K keys, HoodieTable<T,I,K,O> table, int parallelism)
keys - HoodieKeys to deduplicatetable - target Hoodie table for deduplicatingparallelism - parallelism or partitions to be used while reducing/deduplicatingpublic abstract HoodieWriteMetadata<O> execute(String instantTime, K keys, HoodieEngineContext context, HoodieWriteConfig config, HoodieTable<T,I,K,O> table, BaseCommitActionExecutor<T,I,K,O,R> deleteExecutor)
Copyright © 2022 The Apache Software Foundation. All rights reserved.