@Immutable public abstract static class AggregationData.DistributionData extends AggregationData
MeasureValues. Distribution stats include mean,
count, histogram, min, max and sum of squared deviations.| Modifier and Type | Class and Description |
|---|---|
static class |
AggregationData.DistributionData.Exemplar
An example point that may be used to annotate aggregated distribution values, associated with
a histogram bucket.
|
AggregationData.CountData, AggregationData.DistributionData, AggregationData.LastValueDataDouble, AggregationData.LastValueDataLong, AggregationData.MeanData, AggregationData.SumDataDouble, AggregationData.SumDataLong| Modifier and Type | Method and Description |
|---|---|
static AggregationData.DistributionData |
create(double mean,
long count,
double min,
double max,
double sumOfSquaredDeviations,
List<Long> bucketCounts)
Deprecated.
since 0.17. Use
create(double, long, double, List). |
static AggregationData.DistributionData |
create(double mean,
long count,
double min,
double max,
double sumOfSquaredDeviations,
List<Long> bucketCounts,
List<AggregationData.DistributionData.Exemplar> exemplars)
Deprecated.
since 0.17. Use
create(double, long, double, List, List) |
static AggregationData.DistributionData |
create(double mean,
long count,
double sumOfSquaredDeviations,
List<Long> bucketCounts)
Creates a
DistributionData. |
static AggregationData.DistributionData |
create(double mean,
long count,
double sumOfSquaredDeviations,
List<Long> bucketCounts,
List<AggregationData.DistributionData.Exemplar> exemplars)
Creates a
DistributionData. |
abstract List<Long> |
getBucketCounts()
Returns the aggregated bucket counts.
|
abstract long |
getCount()
Returns the aggregated count.
|
abstract List<AggregationData.DistributionData.Exemplar> |
getExemplars()
Returns the
AggregationData.DistributionData.Exemplars associated with histogram buckets. |
double |
getMax()
Deprecated.
since 0.17. Returns
0. |
abstract double |
getMean()
Returns the aggregated mean.
|
double |
getMin()
Deprecated.
since 0.17. Returns
0. |
abstract double |
getSumOfSquaredDeviations()
Returns the aggregated sum of squared deviations.
|
<T> T |
match(Function<? super AggregationData.SumDataDouble,T> p0,
Function<? super AggregationData.SumDataLong,T> p1,
Function<? super AggregationData.CountData,T> p2,
Function<? super AggregationData.DistributionData,T> p3,
Function<? super AggregationData.LastValueDataDouble,T> p4,
Function<? super AggregationData.LastValueDataLong,T> p5,
Function<? super AggregationData,T> defaultFunction)
Applies the given match function to the underlying data type.
|
@Deprecated public static AggregationData.DistributionData create(double mean, long count, double min, double max, double sumOfSquaredDeviations, List<Long> bucketCounts, List<AggregationData.DistributionData.Exemplar> exemplars)
create(double, long, double, List, List)DistributionData.mean - mean value.count - count value.min - min value.max - max value.sumOfSquaredDeviations - sum of squared deviations.bucketCounts - histogram bucket counts.exemplars - the exemplars associated with histogram buckets.DistributionData.public static AggregationData.DistributionData create(double mean, long count, double sumOfSquaredDeviations, List<Long> bucketCounts, List<AggregationData.DistributionData.Exemplar> exemplars)
DistributionData.mean - mean value.count - count value.sumOfSquaredDeviations - sum of squared deviations.bucketCounts - histogram bucket counts.exemplars - the exemplars associated with histogram buckets.DistributionData.@Deprecated public static AggregationData.DistributionData create(double mean, long count, double min, double max, double sumOfSquaredDeviations, List<Long> bucketCounts)
create(double, long, double, List).DistributionData.mean - mean value.count - count value.min - min value.max - max value.sumOfSquaredDeviations - sum of squared deviations.bucketCounts - histogram bucket counts.DistributionData.public static AggregationData.DistributionData create(double mean, long count, double sumOfSquaredDeviations, List<Long> bucketCounts)
DistributionData.mean - mean value.count - count value.sumOfSquaredDeviations - sum of squared deviations.bucketCounts - histogram bucket counts.DistributionData.public abstract double getMean()
public abstract long getCount()
@Deprecated public double getMin()
0.@Deprecated public double getMax()
0.public abstract double getSumOfSquaredDeviations()
public abstract List<Long> getBucketCounts()
UnsupportedOperationException.public abstract List<AggregationData.DistributionData.Exemplar> getExemplars()
AggregationData.DistributionData.Exemplars associated with histogram buckets.Exemplars associated with histogram buckets.public final <T> T match(Function<? super AggregationData.SumDataDouble,T> p0, Function<? super AggregationData.SumDataLong,T> p1, Function<? super AggregationData.CountData,T> p2, Function<? super AggregationData.DistributionData,T> p3, Function<? super AggregationData.LastValueDataDouble,T> p4, Function<? super AggregationData.LastValueDataLong,T> p5, Function<? super AggregationData,T> defaultFunction)
AggregationDatamatch in class AggregationData