public static class MetadataUpdate.UpgradeFormatVersion extends java.lang.Object implements MetadataUpdate
MetadataUpdate.AddPartitionSpec, MetadataUpdate.AddSchema, MetadataUpdate.AddSnapshot, MetadataUpdate.AddSortOrder, MetadataUpdate.AddViewVersion, MetadataUpdate.AssignUUID, MetadataUpdate.RemovePartitionStatistics, MetadataUpdate.RemoveProperties, MetadataUpdate.RemoveSnapshot, MetadataUpdate.RemoveSnapshotRef, MetadataUpdate.RemoveStatistics, MetadataUpdate.SetCurrentSchema, MetadataUpdate.SetCurrentViewVersion, MetadataUpdate.SetDefaultPartitionSpec, MetadataUpdate.SetDefaultSortOrder, MetadataUpdate.SetLocation, MetadataUpdate.SetPartitionStatistics, MetadataUpdate.SetProperties, MetadataUpdate.SetSnapshotRef, MetadataUpdate.SetStatistics, MetadataUpdate.UpgradeFormatVersion
Constructor and Description |
---|
UpgradeFormatVersion(int formatVersion) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(TableMetadata.Builder metadataBuilder) |
void |
applyTo(ViewMetadata.Builder viewMetadataBuilder) |
int |
formatVersion() |
public int formatVersion()
public void applyTo(TableMetadata.Builder metadataBuilder)
applyTo
in interface MetadataUpdate
public void applyTo(ViewMetadata.Builder viewMetadataBuilder)
applyTo
in interface MetadataUpdate