Package org.apache.iceberg
Class MetadataUpdate.AddSchema
- java.lang.Object
-
- org.apache.iceberg.MetadataUpdate.AddSchema
-
- All Implemented Interfaces:
java.io.Serializable
,MetadataUpdate
- Enclosing interface:
- MetadataUpdate
public static class MetadataUpdate.AddSchema extends java.lang.Object implements MetadataUpdate
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.MetadataUpdate
MetadataUpdate.AddPartitionSpec, MetadataUpdate.AddSchema, MetadataUpdate.AddSnapshot, MetadataUpdate.AddSortOrder, MetadataUpdate.AddViewVersion, MetadataUpdate.AssignUUID, MetadataUpdate.RemoveProperties, MetadataUpdate.RemoveSnapshot, MetadataUpdate.RemoveSnapshotRef, MetadataUpdate.RemoveStatistics, MetadataUpdate.SetCurrentSchema, MetadataUpdate.SetCurrentViewVersion, MetadataUpdate.SetDefaultPartitionSpec, MetadataUpdate.SetDefaultSortOrder, MetadataUpdate.SetLocation, MetadataUpdate.SetProperties, MetadataUpdate.SetSnapshotRef, MetadataUpdate.SetStatistics, MetadataUpdate.UpgradeFormatVersion
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo(TableMetadata.Builder metadataBuilder)
void
applyTo(ViewMetadata.Builder viewMetadataBuilder)
int
lastColumnId()
Schema
schema()
-
-
-
Constructor Detail
-
AddSchema
public AddSchema(Schema schema, int lastColumnId)
-
-
Method Detail
-
schema
public Schema schema()
-
lastColumnId
public int lastColumnId()
-
applyTo
public void applyTo(TableMetadata.Builder metadataBuilder)
- Specified by:
applyTo
in interfaceMetadataUpdate
-
applyTo
public void applyTo(ViewMetadata.Builder viewMetadataBuilder)
- Specified by:
applyTo
in interfaceMetadataUpdate
-
-