Package org.apache.iceberg
Class PartitionStatsUtil
java.lang.Object
org.apache.iceberg.PartitionStatsUtil
Deprecated.
- 
Method SummaryModifier 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- 
computeStatsDeprecated.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
 
- 
sortStatspublic static List<PartitionStats> sortStats(Collection<PartitionStats> stats, Types.StructType partitionType) Deprecated.Sorts thePartitionStatsbased on the partition data.- Parameters:
- stats- collection of- PartitionStatswhich needs to be sorted.
- partitionType- unified partition schema.
- Returns:
- the list of PartitionStats
 
 
- 
PartitionStatsHandlerdirectly