| Package | Description |
|---|---|
| org.apache.hudi.io | |
| org.apache.hudi.table.action.commit |
| Modifier and Type | Class and Description |
|---|---|
class |
HoodieConcatHandle<T,I,K,O>
Handle to concatenate new records to old records w/o any merging.
|
class |
HoodieMergeHandleWithChangeLog<T,I,K,O>
A merge handle that supports logging change logs.
|
class |
HoodieSortedMergeHandle<T,I,K,O>
Hoodie merge handle which writes records (new inserts or updates) sorted by their key.
|
class |
HoodieSortedMergeHandleWithChangeLog<T,I,K,O>
A sorted merge handle that supports logging change logs.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,I,K,O> HoodieMergeHandle<T,I,K,O> |
HoodieMergeHandleFactory.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> |
HoodieMergeHandleFactory.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HoodieMergeHelper.runMerge(HoodieTable<?,?,?,?> table,
HoodieMergeHandle<?,?,?,?> mergeHandle) |
abstract void |
BaseMergeHelper.runMerge(HoodieTable<?,?,?,?> table,
HoodieMergeHandle<?,?,?,?> upsertHandle)
Read records from previous version of base file and merge.
|
| Constructor and Description |
|---|
UpdateHandler(HoodieMergeHandle upsertHandle) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.