public abstract class UpdateStrategy<T extends HoodieRecordPayload,I> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HoodieEngineContext |
engineContext |
protected Set<HoodieFileGroupId> |
fileGroupsInPendingClustering |
| Modifier | Constructor and Description |
|---|---|
protected |
UpdateStrategy(HoodieEngineContext engineContext,
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 HoodieEngineContext engineContext
protected Set<HoodieFileGroupId> fileGroupsInPendingClustering
protected UpdateStrategy(HoodieEngineContext engineContext, 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 © 2022 The Apache Software Foundation. All rights reserved.