public class CleanPlanV2MigrationHandler extends AbstractMigratorBase<HoodieCleanerPlan>
| Modifier and Type | Field and Description |
|---|---|
static Integer |
VERSION |
metaClient| Constructor and Description |
|---|
CleanPlanV2MigrationHandler(HoodieTableMetaClient metaClient) |
| Modifier and Type | Method and Description |
|---|---|
HoodieCleanerPlan |
downgradeFrom(HoodieCleanerPlan input)
Downgrades metadata of type T from next version to this version.
|
Integer |
getManagedVersion()
Version of Metadata that this class will handle.
|
HoodieCleanerPlan |
upgradeFrom(HoodieCleanerPlan plan)
Upgrades metadata of type T from previous version to this version.
|
public static final Integer VERSION
public CleanPlanV2MigrationHandler(HoodieTableMetaClient metaClient)
public Integer getManagedVersion()
VersionMigratorpublic HoodieCleanerPlan upgradeFrom(HoodieCleanerPlan plan)
VersionMigratorplan - Metadata as of previous version.public HoodieCleanerPlan downgradeFrom(HoodieCleanerPlan input)
VersionMigratorinput - Metadata as of next highest versionCopyright © 2024 The Apache Software Foundation. All rights reserved.