Interface ComputePartitionStats

All Superinterfaces:
Action<ComputePartitionStats,ComputePartitionStats.Result>
All Known Implementing Classes:
ComputePartitionStatsSparkAction

public interface ComputePartitionStats extends Action<ComputePartitionStats,ComputePartitionStats.Result>
An action that computes and writes the partition statistics of an Iceberg table. Current snapshot is used by default.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The result of partition statistics collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    snapshot(long snapshotId)
    Choose the table snapshot to compute partition stats.

    Methods inherited from interface org.apache.iceberg.actions.Action

    execute, option, options
  • Method Details

    • snapshot

      ComputePartitionStats snapshot(long snapshotId)
      Choose the table snapshot to compute partition stats.
      Parameters:
      snapshotId - long ID of the snapshot for which stats need to be computed
      Returns:
      this for method chaining