public class BaseRollbackPlanActionExecutor<T,I,K,O> extends BaseActionExecutor<T,I,K,O,Option<HoodieRollbackPlan>>
HoodieRollbackPlan
to rollback.requested instant.| Modifier and Type | Field and Description |
|---|---|
protected HoodieInstant |
instantToRollback |
protected Boolean |
isRestore |
static Integer |
LATEST_ROLLBACK_PLAN_VERSION |
static Integer |
ROLLBACK_PLAN_VERSION_1 |
config, context, hadoopConf, instantTime, table| Constructor and Description |
|---|
BaseRollbackPlanActionExecutor(HoodieEngineContext context,
HoodieWriteConfig config,
HoodieTable<T,I,K,O> table,
String instantTime,
HoodieInstant instantToRollback,
boolean skipTimelinePublish,
boolean shouldRollbackUsingMarkers,
boolean isRestore) |
| Modifier and Type | Method and Description |
|---|---|
Option<HoodieRollbackPlan> |
execute() |
protected Option<HoodieRollbackPlan> |
requestRollback(String startRollbackTime)
Creates a Rollback plan if there are files to be rolled back and stores them in instant file.
|
writeTableMetadata, writeTableMetadata, writeTableMetadata, writeTableMetadataprotected final HoodieInstant instantToRollback
protected final Boolean isRestore
public static final Integer ROLLBACK_PLAN_VERSION_1
public static final Integer LATEST_ROLLBACK_PLAN_VERSION
public BaseRollbackPlanActionExecutor(HoodieEngineContext context, HoodieWriteConfig config, HoodieTable<T,I,K,O> table, String instantTime, HoodieInstant instantToRollback, boolean skipTimelinePublish, boolean shouldRollbackUsingMarkers, boolean isRestore)
protected Option<HoodieRollbackPlan> requestRollback(String startRollbackTime)
startRollbackTime - Rollback Instant Timepublic Option<HoodieRollbackPlan> execute()
execute in class BaseActionExecutor<T,I,K,O,Option<HoodieRollbackPlan>>Copyright © 2023 The Apache Software Foundation. All rights reserved.