Package org.apache.iceberg
Class PartitionStatsUtil
java.lang.Object
org.apache.iceberg.PartitionStatsUtil
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<PartitionStats> computeStats(Table table, Snapshot snapshot) Deprecated.Computes the partition stats for the given snapshot of the table.static List<PartitionStats> sortStats(Collection<PartitionStats> stats, Types.StructType partitionType) Deprecated.Sorts thePartitionStatsbased on the partition data.
-
Method Details
-
computeStats
Deprecated.Computes the partition stats for the given snapshot of the table.- Parameters:
table- the table for which partition stats to be computed.snapshot- the snapshot for which partition stats is computed.- Returns:
- the collection of
PartitionStats
-
sortStats
public static List<PartitionStats> sortStats(Collection<PartitionStats> stats, Types.StructType partitionType) Deprecated.Sorts thePartitionStatsbased on the partition data.- Parameters:
stats- collection ofPartitionStatswhich needs to be sorted.partitionType- unified partition schema.- Returns:
- the list of
PartitionStats
-
PartitionStatsHandlerdirectly