public abstract class BasicNumberAggregation<T extends java.lang.Number> extends BasicAggregation<T>
Modifier and Type | Method and Description |
---|---|
T |
avg(java.util.Collection<T> items) |
java.util.EnumSet<AggregationInfo.Type> |
getSupportedAggregationTypes() |
T |
max(java.util.Collection<T> items) |
T |
min(java.util.Collection<T> items) |
T |
sum(java.util.Collection<T> items) |
count, getResultClass
public T sum(java.util.Collection<T> items)
sum
in interface Aggregation<T extends java.lang.Number>
sum
in class BasicAggregation<T extends java.lang.Number>
public T avg(java.util.Collection<T> items)
avg
in interface Aggregation<T extends java.lang.Number>
avg
in class BasicAggregation<T extends java.lang.Number>
public T max(java.util.Collection<T> items)
max
in interface Aggregation<T extends java.lang.Number>
max
in class BasicAggregation<T extends java.lang.Number>
public java.util.EnumSet<AggregationInfo.Type> getSupportedAggregationTypes()
getSupportedAggregationTypes
in interface Aggregation<T extends java.lang.Number>
getSupportedAggregationTypes
in class BasicAggregation<T extends java.lang.Number>
public T min(java.util.Collection<T> items)
min
in interface Aggregation<T extends java.lang.Number>
min
in class BasicAggregation<T extends java.lang.Number>