public class DescriptiveStatisticsHistogramStatistics extends org.apache.flink.metrics.HistogramStatistics implements Serializable
DescriptiveStatisticsHistogram.
The statistics takes a point-in-time snapshot of a DescriptiveStatistics instance and
allows optimised metrics retrieval from this.
| Constructor and Description |
|---|
DescriptiveStatisticsHistogramStatistics(org.apache.flink.runtime.metrics.DescriptiveStatisticsHistogram.CircularDoubleArray histogramValues) |
DescriptiveStatisticsHistogramStatistics(double[] values) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMax() |
double |
getMean() |
long |
getMin() |
double |
getQuantile(double quantile) |
double |
getStdDev() |
long[] |
getValues() |
int |
size() |
public DescriptiveStatisticsHistogramStatistics(org.apache.flink.runtime.metrics.DescriptiveStatisticsHistogram.CircularDoubleArray histogramValues)
public DescriptiveStatisticsHistogramStatistics(double[] values)
public double getQuantile(double quantile)
getQuantile in class org.apache.flink.metrics.HistogramStatisticspublic long[] getValues()
getValues in class org.apache.flink.metrics.HistogramStatisticspublic int size()
size in class org.apache.flink.metrics.HistogramStatisticspublic double getMean()
getMean in class org.apache.flink.metrics.HistogramStatisticspublic double getStdDev()
getStdDev in class org.apache.flink.metrics.HistogramStatisticspublic long getMax()
getMax in class org.apache.flink.metrics.HistogramStatisticspublic long getMin()
getMin in class org.apache.flink.metrics.HistogramStatisticsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.