Package org.apache.iceberg
Class MetadataUpdate.AddSnapshot
- java.lang.Object
-
- org.apache.iceberg.MetadataUpdate.AddSnapshot
-
- All Implemented Interfaces:
java.io.Serializable
,MetadataUpdate
- Enclosing interface:
- MetadataUpdate
public static class MetadataUpdate.AddSnapshot 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.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 Summary
Constructors Constructor Description AddSnapshot(Snapshot snapshot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo(TableMetadata.Builder metadataBuilder)
Snapshot
snapshot()
-
-
-
Constructor Detail
-
AddSnapshot
public AddSnapshot(Snapshot snapshot)
-
-
Method Detail
-
snapshot
public Snapshot snapshot()
-
applyTo
public void applyTo(TableMetadata.Builder metadataBuilder)
- Specified by:
applyTo
in interfaceMetadataUpdate
-
-