public class HoodieMergeHandleFactory extends Object
| Constructor and Description |
|---|
HoodieMergeHandleFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T,I,K,O> HoodieMergeHandle<T,I,K,O> |
create(HoodieWriteConfig writeConfig,
String instantTime,
HoodieTable<T,I,K,O> table,
Map<String,HoodieRecord<T>> keyToNewRecords,
String partitionPath,
String fileId,
HoodieBaseFile dataFileToBeMerged,
TaskContextSupplier taskContextSupplier,
Option<BaseKeyGenerator> keyGeneratorOpt)
Creates a merge handle for compaction path.
|
static <T,I,K,O> HoodieMergeHandle<T,I,K,O> |
create(WriteOperationType operationType,
HoodieWriteConfig writeConfig,
String instantTime,
HoodieTable<T,I,K,O> table,
Iterator<HoodieRecord<T>> recordItr,
String partitionPath,
String fileId,
TaskContextSupplier taskContextSupplier,
Option<BaseKeyGenerator> keyGeneratorOpt)
Creates a merge handle for normal write path.
|
public static <T,I,K,O> HoodieMergeHandle<T,I,K,O> create(WriteOperationType operationType, HoodieWriteConfig writeConfig, String instantTime, HoodieTable<T,I,K,O> table, Iterator<HoodieRecord<T>> recordItr, String partitionPath, String fileId, TaskContextSupplier taskContextSupplier, Option<BaseKeyGenerator> keyGeneratorOpt)
public static <T,I,K,O> HoodieMergeHandle<T,I,K,O> create(HoodieWriteConfig writeConfig, String instantTime, HoodieTable<T,I,K,O> table, Map<String,HoodieRecord<T>> keyToNewRecords, String partitionPath, String fileId, HoodieBaseFile dataFileToBeMerged, TaskContextSupplier taskContextSupplier, Option<BaseKeyGenerator> keyGeneratorOpt)
Copyright © 2023 The Apache Software Foundation. All rights reserved.