Package org.apache.iceberg.actions
Interface ComputeTableStats
- All Superinterfaces:
Action<ComputeTableStats,
ComputeTableStats.Result>
- All Known Implementing Classes:
ComputeTableStatsSparkAction
An action that collects statistics of an Iceberg table and writes to Puffin files.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The result of table statistics collection. -
Method Summary
Modifier and TypeMethodDescriptionChoose the set of columns to collect stats, by default all columns are chosen.snapshot
(long snapshotId) Choose the table snapshot to compute stats, by default the current snapshot is used.
-
Method Details
-
columns
Choose the set of columns to collect stats, by default all columns are chosen.- Parameters:
columns
- a set of column names to be analyzed- Returns:
- this for method chaining
-
snapshot
Choose the table snapshot to compute stats, by default the current snapshot is used.- Parameters:
snapshotId
- long ID of the snapshot for which stats need to be computed- Returns:
- this for method chaining
-