@Immutable public abstract class AggregationData extends Object
AggregationData is the result of applying a given Aggregation to a set of MeasureValues.
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
MeasureValues. |
static class |
AggregationData.DistributionData
The distribution stats of aggregated
MeasureValues. |
static class |
AggregationData.MeanData
The mean value of aggregated
MeasureValues. |
static class |
AggregationData.SumDataDouble
The sum value of aggregated
MeasureValueDoubles. |
static class |
AggregationData.SumDataLong
The sum value of aggregated
MeasureValueLongs. |
| 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)