Aggregators
@Deprecated public final class Aggregations extends Object
Modifier and Type | Method and Description |
---|---|
static <Key,Value> |
bigDecimalAvg()
Deprecated.
Returns an aggregation to calculate the
BigDecimal average
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigDecimalMax()
Deprecated.
Returns an aggregation to find the
BigDecimal maximum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigDecimalMin()
Deprecated.
Returns an aggregation to find the
BigDecimal minimum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigDecimalSum()
Deprecated.
Returns an aggregation to calculate the
BigDecimal sum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerAvg()
Deprecated.
Returns an aggregation to calculate the
BigInteger average
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerMax()
Deprecated.
Returns an aggregation to find the
BigInteger maximum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerMin()
Deprecated.
Returns an aggregation to find the
BigInteger minimum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerSum()
Deprecated.
Returns an aggregation to calculate the
BigInteger sum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
comparableMax()
Deprecated.
Returns an aggregation to find the maximum value of all supplied
Comparable implementing values.This aggregation is similar to: |
static <Key,Value> |
comparableMin()
Deprecated.
Returns an aggregation to find the minimum value of all supplied
Comparable implementing values.This aggregation is similar to: |
static <Key,Value> |
count()
Deprecated.
Returns an aggregation for counting all supplied values.
This aggregation is similar to: |
static <Key,Value,DistinctType> |
distinctValues()
Deprecated.
Returns an aggregation for selecting all distinct values.
This aggregation is similar to: |
static <Key,Value> |
doubleAvg()
Deprecated.
Returns an aggregation to calculate the double average of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
doubleMax()
Deprecated.
Returns an aggregation to find the double maximum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
doubleMin()
Deprecated.
Returns an aggregation to find the double minimum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
doubleSum()
Deprecated.
Returns an aggregation to calculate the double sum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerAvg()
Deprecated.
Returns an aggregation to calculate the integer average of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerMax()
Deprecated.
Returns an aggregation to find the integer maximum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerMin()
Deprecated.
Returns an aggregation to find the integer minimum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerSum()
Deprecated.
Returns an aggregation to calculate the integer sum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longAvg()
Deprecated.
Returns an aggregation to calculate the long average of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longMax()
Deprecated.
Returns an aggregation to find the long maximum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longMin()
Deprecated.
Returns an aggregation to find the long minimum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longSum()
Deprecated.
Returns an aggregation to calculate the long sum of all supplied values.
This aggregation is similar to: |
public static <Key,Value> Aggregation<Key,Value,Long> count()
SELECT COUNT(*) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value,DistinctType> Aggregation<Key,Value,Set<DistinctType>> distinctValues()
SELECT DISTINCT * FROM x
Key
- the input key typeValue
- the supplied value typeDistinctType
- the type of all distinct valuesSet
containing all distinct valuespublic static <Key,Value> Aggregation<Key,Value,Integer> integerAvg()
SELECT AVG(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Integer,Integer> integerSum()
SELECT SUM(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Integer,Integer> integerMin()
SELECT MIN(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Integer,Integer> integerMax()
SELECT MAX(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Long,Long> longAvg()
SELECT AVG(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Long,Long> longSum()
SELECT SUM(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Long,Long> longMin()
SELECT MIN(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Long,Long> longMax()
SELECT MAX(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Double,Double> doubleAvg()
SELECT AVG(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Double,Double> doubleSum()
SELECT SUM(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Double,Double> doubleMin()
SELECT MIN(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Double,Double> doubleMax()
SELECT MAX(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigDecimal,BigDecimal> bigDecimalAvg()
BigDecimal
average
of all supplied values.SELECT AVG(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigDecimal,BigDecimal> bigDecimalSum()
BigDecimal
sum
of all supplied values.SELECT SUM(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigDecimal,BigDecimal> bigDecimalMin()
BigDecimal
minimum
of all supplied values.SELECT MIN(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigDecimal,BigDecimal> bigDecimalMax()
BigDecimal
maximum
of all supplied values.SELECT MAX(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigInteger,BigInteger> bigIntegerAvg()
BigInteger
average
of all supplied values.SELECT AVG(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigInteger,BigInteger> bigIntegerSum()
BigInteger
sum
of all supplied values.SELECT SUM(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigInteger,BigInteger> bigIntegerMin()
BigInteger
minimum
of all supplied values.SELECT MIN(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,BigInteger,BigInteger> bigIntegerMax()
BigInteger
maximum
of all supplied values.SELECT MAX(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Comparable,Comparable> comparableMin()
Comparable
implementing values.SELECT MIN(value) FROM x
Key
- the input key typeValue
- the supplied value typepublic static <Key,Value> Aggregation<Key,Comparable,Comparable> comparableMax()
Comparable
implementing values.SELECT MAX(value) FROM x
Key
- the input key typeValue
- the supplied value typeCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.