T - public abstract class BaseDeleteHelper<T,I,K,O,R> extends ParallelismHelper<I>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseDeleteHelper(SerializableFunctionUnchecked<I,Integer> partitionNumberExtractor) |
| 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) |
deduceShuffleParallelismprotected BaseDeleteHelper(SerializableFunctionUnchecked<I,Integer> partitionNumberExtractor)
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 © 2024 The Apache Software Foundation. All rights reserved.