Class MetadataUpdate.SetSnapshotRef

java.lang.Object
org.apache.iceberg.MetadataUpdate.SetSnapshotRef
All Implemented Interfaces:
Serializable, MetadataUpdate
Enclosing interface:
MetadataUpdate

public static class MetadataUpdate.SetSnapshotRef extends Object implements MetadataUpdate
See Also:
  • Constructor Details

    • SetSnapshotRef

      public SetSnapshotRef(String refName, Long snapshotId, org.apache.iceberg.SnapshotRefType type, Integer minSnapshotsToKeep, Long maxSnapshotAgeMs, Long maxRefAgeMs)
  • Method Details

    • name

      public String name()
    • type

      public String type()
    • snapshotId

      public long snapshotId()
    • minSnapshotsToKeep

      public Integer minSnapshotsToKeep()
    • maxSnapshotAgeMs

      public Long maxSnapshotAgeMs()
    • maxRefAgeMs

      public Long maxRefAgeMs()
    • applyTo

      public void applyTo(TableMetadata.Builder metadataBuilder)
      Specified by:
      applyTo in interface MetadataUpdate