Class Aggregators
java.lang.Object
com.loomcache.server.compute.Aggregators
Factory methods for built-in map value aggregators.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K, V extends Number>
AverageAggregator<K, V> avg()static <K, V extends Number>
BigDecimalAverageAggregator<K, V> static <K, V extends Number>
BigDecimalAverageAggregator<K, V> static <K, V extends Number>
BigDecimalSumAggregator<K, V> static <K, V extends Number>
BigIntegerSumAggregator<K, V> static <K, V extends Comparable<? super V>>
ComparableMaxAggregator<K, V> static <K, V extends Comparable<? super V>>
ComparableMinAggregator<K, V> static <K,V> CountAggregator <K, V> count()static <K,V> DistinctValuesAggregator <K, V> distinct()static <K,V> DistinctValuesAggregator <K, V> distinct(int maxDistinctValues) static <K, V extends Number>
MaxAggregator<K, V> max()static <K, V extends Number>
MinAggregator<K, V> min()static <K, V extends Number>
SumAggregator<K, V> sum()
-
Method Details
-
count
-
sum
-
avg
-
min
-
max
-
distinct
-
bigDecimalSum
-
bigDecimalAvg
-
bigDecimalAverage
-
bigIntegerSum
-
comparableMin
-
comparableMax
-
distinct
-