Package org.apache.gravitino.stats
Interface PartitionStatisticsUpdate
- All Known Implementing Classes:
PartitionStatisticsUpdateDTO
public interface PartitionStatisticsUpdate
PartitionUpdateStatistics represents the statistics for a specific partition that can be updated.
It contains the partition name and a map of statistic names to their values.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the partition for which these statistics are applicable.Map<String,
StatisticValue<?>> Returns the statistics to be updated for the partition.
-
Method Details
-
partitionName
String partitionName()Returns the name of the partition for which these statistics are applicable.- Returns:
- the name of the partition.
-
statistics
Map<String,StatisticValue<?>> statistics()Returns the statistics to be updated for the partition.- Returns:
- a map where the key is the statistic name and the value is the statistic value.
-