public static class MetadataUpdate.AddSnapshot 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 |
---|
AddSnapshot(Snapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(TableMetadata.Builder metadataBuilder) |
Snapshot |
snapshot() |
public AddSnapshot(Snapshot snapshot)
public Snapshot snapshot()
public void applyTo(TableMetadata.Builder metadataBuilder)
applyTo
in interface MetadataUpdate