@Public public abstract class HistogramStatistics extends Object
The histogram statistics allow to calculate values for quantiles, the mean, the standard deviation, the minimum and the maximum.
Constructor and Description |
---|
HistogramStatistics() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getMax()
Returns the maximum value of the histogram.
|
abstract double |
getMean()
Returns the mean of the histogram values.
|
abstract long |
getMin()
Returns the minimum value of the histogram.
|
abstract double |
getQuantile(double quantile)
Returns the value for the given quantile based on the represented histogram statistics.
|
abstract double |
getStdDev()
Returns the standard deviation of the distribution reflected by the histogram statistics.
|
abstract long[] |
getValues()
Returns the elements of the statistics' sample.
|
abstract int |
size()
Returns the size of the statistics' sample.
|
public abstract double getQuantile(double quantile)
quantile
- Quantile to calculate the value forpublic abstract long[] getValues()
public abstract int size()
public abstract double getMean()
public abstract double getStdDev()
public abstract long getMax()
public abstract long getMin()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.