@Immutable public abstract class AggregationData extends Object
AggregationData
is the result of applying a given Aggregation
to a set of MeasureValue
s.
AggregationData
currently supports 5 types of basic aggregation values:
ViewData
will contain one AggregationData
, corresponding to its Aggregation
definition in View
.
Modifier and Type | Class and Description |
---|---|
static class |
AggregationData.CountData
The count value of aggregated
MeasureValue s. |
static class |
AggregationData.DistributionData
The distribution stats of aggregated
MeasureValue s. |
static class |
AggregationData.MeanData
The mean value of aggregated
MeasureValue s. |
static class |
AggregationData.SumDataDouble
The sum value of aggregated
MeasureValueDouble s. |
static class |
AggregationData.SumDataLong
The sum value of aggregated
MeasureValueLong s. |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
match(Function<? super AggregationData.SumDataDouble,T> p0,
Function<? super AggregationData.SumDataLong,T> p1,
Function<? super AggregationData.CountData,T> p2,
Function<? super AggregationData.MeanData,T> p3,
Function<? super AggregationData.DistributionData,T> p4,
Function<? super AggregationData,T> defaultFunction)
Applies the given match function to the underlying data type.
|
public abstract <T> T match(Function<? super AggregationData.SumDataDouble,T> p0, Function<? super AggregationData.SumDataLong,T> p1, Function<? super AggregationData.CountData,T> p2, Function<? super AggregationData.MeanData,T> p3, Function<? super AggregationData.DistributionData,T> p4, Function<? super AggregationData,T> defaultFunction)