@Immutable public abstract static class Aggregation.Sum extends Aggregation
MeasureValue
s.Aggregation.Count, Aggregation.Distribution, Aggregation.LastValue, Aggregation.Mean, Aggregation.Sum
Modifier and Type | Method and Description |
---|---|
static Aggregation.Sum |
create()
Construct a
Sum . |
<T> T |
match(Function<? super Aggregation.Sum,T> p0,
Function<? super Aggregation.Count,T> p1,
Function<? super Aggregation.Distribution,T> p2,
Function<? super Aggregation.LastValue,T> p3,
Function<? super Aggregation,T> defaultFunction)
Applies the given match function to the underlying data type.
|
public static Aggregation.Sum create()
Sum
.Sum
.public final <T> T match(Function<? super Aggregation.Sum,T> p0, Function<? super Aggregation.Count,T> p1, Function<? super Aggregation.Distribution,T> p2, Function<? super Aggregation.LastValue,T> p3, Function<? super Aggregation,T> defaultFunction)
Aggregation
match
in class Aggregation