public class ListingBasedRollbackStrategy extends Object
HoodieRollbackRequests.| Modifier and Type | Field and Description |
|---|---|
protected HoodieWriteConfig |
config |
protected HoodieEngineContext |
context |
protected String |
instantTime |
protected HoodieTable |
table |
| Constructor and Description |
|---|
ListingBasedRollbackStrategy(HoodieTable table,
HoodieEngineContext context,
HoodieWriteConfig config,
String instantTime) |
| Modifier and Type | Method and Description |
|---|---|
List<HoodieRollbackRequest> |
getRollbackRequests(HoodieInstant instantToRollback)
Fetch list of
HoodieRollbackRequests to be added to rollback plan. |
protected final HoodieTable table
protected final HoodieEngineContext context
protected final HoodieWriteConfig config
protected final String instantTime
public ListingBasedRollbackStrategy(HoodieTable table, HoodieEngineContext context, HoodieWriteConfig config, String instantTime)
public List<HoodieRollbackRequest> getRollbackRequests(HoodieInstant instantToRollback)
HoodieRollbackRequests to be added to rollback plan.instantToRollback - instant to be rolled back.HoodieRollbackRequests to be added to rollback planCopyright © 2022 The Apache Software Foundation. All rights reserved.