@Internal public class StatsSummarySnapshot extends Object implements Serializable
StatsSummary.| 构造器和说明 |
|---|
StatsSummarySnapshot(long min,
long max,
long sum,
long count,
org.apache.flink.metrics.HistogramStatistics histogram) |
| 限定符和类型 | 方法和说明 |
|---|---|
static StatsSummarySnapshot |
empty() |
long |
getAverage()
Calculates the average over all seen values.
|
long |
getCount()
Returns the count of all seen values.
|
long |
getMaximum()
Returns the maximum seen value.
|
long |
getMinimum()
Returns the minimum seen value.
|
double |
getQuantile(double quantile)
Returns the value for the given quantile based on the represented histogram statistics or
Double.NaN if the histogram was not built. |
long |
getSum()
Returns the sum of all seen values.
|
public StatsSummarySnapshot(long min,
long max,
long sum,
long count,
@Nullable
org.apache.flink.metrics.HistogramStatistics histogram)
public static StatsSummarySnapshot empty()
public long getMinimum()
public long getMaximum()
public long getSum()
public long getCount()
public long getAverage()
public double getQuantile(double quantile)
Double.NaN if the histogram was not built.quantile - Quantile to calculate the value forCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.