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