public abstract class BaseBulkInsertHelper<T,I,K,O,R> extends ParallelismHelper<I>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseBulkInsertHelper(SerializableFunctionUnchecked<I,Integer> partitionNumberExtractor) |
| Modifier and Type | Method and Description |
|---|---|
abstract HoodieWriteMetadata<O> |
bulkInsert(I inputRecords,
String instantTime,
HoodieTable<T,I,K,O> table,
HoodieWriteConfig config,
BaseCommitActionExecutor<T,I,K,O,R> executor,
boolean performDedupe,
Option<BulkInsertPartitioner> userDefinedBulkInsertPartitioner)
Mark instant as inflight, write input records, update index and return result.
|
abstract O |
bulkInsert(I inputRecords,
String instantTime,
HoodieTable<T,I,K,O> table,
HoodieWriteConfig config,
boolean performDedupe,
BulkInsertPartitioner partitioner,
boolean addMetadataFields,
int parallelism,
WriteHandleFactory writeHandleFactory)
Only write input records.
|
deduceShuffleParallelismprotected BaseBulkInsertHelper(SerializableFunctionUnchecked<I,Integer> partitionNumberExtractor)
public abstract HoodieWriteMetadata<O> bulkInsert(I inputRecords, String instantTime, HoodieTable<T,I,K,O> table, HoodieWriteConfig config, BaseCommitActionExecutor<T,I,K,O,R> executor, boolean performDedupe, Option<BulkInsertPartitioner> userDefinedBulkInsertPartitioner)
public abstract O bulkInsert(I inputRecords, String instantTime, HoodieTable<T,I,K,O> table, HoodieWriteConfig config, boolean performDedupe, BulkInsertPartitioner partitioner, boolean addMetadataFields, int parallelism, WriteHandleFactory writeHandleFactory)
writeHandleFactory - default write handle factory writing records.Copyright © 2023 The Apache Software Foundation. All rights reserved.