Class DescriptiveStatisticsHistogramStatistics

    • Constructor Detail

      • DescriptiveStatisticsHistogramStatistics

        public DescriptiveStatisticsHistogramStatistics​(org.apache.flink.runtime.metrics.DescriptiveStatisticsHistogram.CircularDoubleArray histogramValues)
      • DescriptiveStatisticsHistogramStatistics

        public DescriptiveStatisticsHistogramStatistics​(double[] values)
    • Method Detail

      • getQuantile

        public double getQuantile​(double quantile)
        Description copied from class: HistogramStatistics
        Returns the value for the given quantile based on the represented histogram statistics.
        Specified by:
        getQuantile in class HistogramStatistics
        Parameters:
        quantile - Quantile to calculate the value for
        Returns:
        Value for the given quantile
      • getValues

        public long[] getValues()
        Description copied from class: HistogramStatistics
        Returns the elements of the statistics' sample.
        Specified by:
        getValues in class HistogramStatistics
        Returns:
        Elements of the statistics' sample
      • size

        public int size()
        Description copied from class: HistogramStatistics
        Returns the size of the statistics' sample.
        Specified by:
        size in class HistogramStatistics
        Returns:
        Size of the statistics' sample
      • getStdDev

        public double getStdDev()
        Description copied from class: HistogramStatistics
        Returns the standard deviation of the distribution reflected by the histogram statistics.
        Specified by:
        getStdDev in class HistogramStatistics
        Returns:
        Standard deviation of histogram distribution