Modifier and Type | Method and Description |
---|---|
static <Key,Value> |
bigDecimalAvg()
Returns an aggregation to calculate the
BigDecimal average
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigDecimalMax()
Returns an aggregation to find the
BigDecimal maximum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigDecimalMin()
Returns an aggregation to find the
BigDecimal minimum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigDecimalSum()
Returns an aggregation to calculate the
BigDecimal sum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerAvg()
Returns an aggregation to calculate the
BigInteger average
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerMax()
Returns an aggregation to find the
BigInteger maximum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerMin()
Returns an aggregation to find the
BigInteger minimum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
bigIntegerSum()
Returns an aggregation to calculate the
BigInteger sum
of all supplied values.This aggregation is similar to: |
static <Key,Value> |
comparableMax()
Returns an aggregation to find the maximum value of all supplied
Comparable implementing values.This aggregation is similar to: |
static <Key,Value> |
comparableMin()
Returns an aggregation to find the minimum value of all supplied
Comparable implementing values.This aggregation is similar to: |
static <Key,Value> |
count()
Returns an aggregation for counting all supplied values.
This aggregation is similar to: |
static <Key,Value,DistinctType> |
distinctValues()
Returns an aggregation for selecting all distinct values.
This aggregation is similar to: |
static <Key,Value> |
doubleAvg()
Returns an aggregation to calculate the double average of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
doubleMax()
Returns an aggregation to find the double maximum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
doubleMin()
Returns an aggregation to find the double minimum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
doubleSum()
Returns an aggregation to calculate the double sum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerAvg()
Returns an aggregation to calculate the integer average of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerMax()
Returns an aggregation to find the integer maximum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerMin()
Returns an aggregation to find the integer minimum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
integerSum()
Returns an aggregation to calculate the integer sum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longAvg()
Returns an aggregation to calculate the long average of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longMax()
Returns an aggregation to find the long maximum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longMin()
Returns an aggregation to find the long minimum of all supplied values.
This aggregation is similar to: |
static <Key,Value> |
longSum()
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 © 2016 Hazelcast, Inc.. All Rights Reserved.