Package org.apache.iceberg.metrics
Interface Histogram.Statistics
- Enclosing interface:
- Histogram
public static interface Histogram.Statistics
- 
Method SummaryModifier and TypeMethodDescriptionlongmax()Returns the maximum value of the histogram observations.doublemean()Returns the mean value of the histogram observations.longmin()Returns the minimum value of the histogram observations.longpercentile(double percentile) Returns the percentile value based on the histogram statistics.intsize()Return the number of values that the statistics computation is based on.doublestdDev()Returns the standard deviation of the histogram distribution.
- 
Method Details- 
sizeint size()Return the number of values that the statistics computation is based on.If the number of sampling is less than the reservoir size, the sampling count should be returned. Otherwise, the reservoir size is returned. 
- 
meandouble mean()Returns the mean value of the histogram observations.
- 
stdDevdouble stdDev()Returns the standard deviation of the histogram distribution.
- 
maxlong max()Returns the maximum value of the histogram observations.
- 
minlong min()Returns the minimum value of the histogram observations.
- 
percentilelong percentile(double percentile) Returns the percentile value based on the histogram statistics.- Parameters:
- percentile- percentile point in double. E.g., 0.75 means 75 percentile. It is up to the implementation to decide what valid percentile points are supported.
- Returns:
- Value for the given percentile
 
 
-