public static class MetadataUpdate.SetSnapshotRef 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 |
---|
SetSnapshotRef(java.lang.String refName,
java.lang.Long snapshotId,
org.apache.iceberg.SnapshotRefType type,
java.lang.Integer minSnapshotsToKeep,
java.lang.Long maxSnapshotAgeMs,
java.lang.Long maxRefAgeMs) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(TableMetadata.Builder metadataBuilder) |
java.lang.Long |
maxRefAgeMs() |
java.lang.Long |
maxSnapshotAgeMs() |
java.lang.Integer |
minSnapshotsToKeep() |
java.lang.String |
name() |
long |
snapshotId() |
java.lang.String |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyTo
public SetSnapshotRef(java.lang.String refName, java.lang.Long snapshotId, org.apache.iceberg.SnapshotRefType type, java.lang.Integer minSnapshotsToKeep, java.lang.Long maxSnapshotAgeMs, java.lang.Long maxRefAgeMs)
public java.lang.String name()
public java.lang.String type()
public long snapshotId()
public java.lang.Integer minSnapshotsToKeep()
public java.lang.Long maxSnapshotAgeMs()
public java.lang.Long maxRefAgeMs()
public void applyTo(TableMetadata.Builder metadataBuilder)
applyTo
in interface MetadataUpdate