public abstract class UpdateStrategy<T,I> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected HoodieEngineContext |
engineContext |
protected Set<HoodieFileGroupId> |
fileGroupsInPendingClustering |
protected HoodieTable |
table |
| Constructor and Description |
|---|
UpdateStrategy(HoodieEngineContext engineContext,
HoodieTable table,
Set<HoodieFileGroupId> fileGroupsInPendingClustering) |
| Modifier and Type | Method and Description |
|---|---|
abstract Pair<I,Set<HoodieFileGroupId>> |
handleUpdate(I taggedRecordsRDD)
Check the update records to the file group in clustering.
|
protected final transient HoodieEngineContext engineContext
protected HoodieTable table
protected Set<HoodieFileGroupId> fileGroupsInPendingClustering
public UpdateStrategy(HoodieEngineContext engineContext, HoodieTable table, Set<HoodieFileGroupId> fileGroupsInPendingClustering)
public abstract Pair<I,Set<HoodieFileGroupId>> handleUpdate(I taggedRecordsRDD)
taggedRecordsRDD - the records to write, tagged with target file id,
future can update tagged records location to a different fileId.Copyright © 2024 The Apache Software Foundation. All rights reserved.