public static class MetadataUpdate.AddSchema 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 |
---|
AddSchema(Schema schema,
int lastColumnId) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(TableMetadata.Builder metadataBuilder) |
void |
applyTo(ViewMetadata.Builder viewMetadataBuilder) |
int |
lastColumnId() |
Schema |
schema() |
public AddSchema(Schema schema, int lastColumnId)
public Schema schema()
public int lastColumnId()
public void applyTo(TableMetadata.Builder metadataBuilder)
applyTo
in interface MetadataUpdate
public void applyTo(ViewMetadata.Builder viewMetadataBuilder)
applyTo
in interface MetadataUpdate