public static class MetadataUpdate.AddSchema extends java.lang.Object implements MetadataUpdate
MetadataUpdate.AddPartitionSpec, MetadataUpdate.AddSchema, MetadataUpdate.AddSnapshot, MetadataUpdate.AddSortOrder, MetadataUpdate.AssignUUID, MetadataUpdate.RemoveProperties, MetadataUpdate.RemoveSnapshot, MetadataUpdate.RemoveSnapshotRef, MetadataUpdate.RemoveStatistics, MetadataUpdate.SetCurrentSchema, MetadataUpdate.SetDefaultPartitionSpec, MetadataUpdate.SetDefaultSortOrder, MetadataUpdate.SetLocation, 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) |
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