com.hazelcast.mapreduce.aggregation.impl
Class BigDecimalAvgAggregation<Key,Value>
java.lang.Object
com.hazelcast.mapreduce.aggregation.impl.BigDecimalAvgAggregation<Key,Value>
- Type Parameters:
Key
- the input key typeValue
- the input value type
- All Implemented Interfaces:
- AggType<Key,Value,Key,BigDecimal,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>,BigDecimal>
public class BigDecimalAvgAggregation<Key,Value>
- extends Object
- implements AggType<Key,Value,Key,BigDecimal,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>,BigDecimal>
The predefined average aggregation for values of type BigDecimal
.
Method Summary |
Collator<Map.Entry<Key,AvgTuple<Long,BigDecimal>>,BigDecimal> |
getCollator()
|
CombinerFactory<Key,BigDecimal,AvgTuple<Long,BigDecimal>> |
getCombinerFactory()
|
Mapper<Key,Value,Key,BigDecimal> |
getMapper(Supplier<Key,Value,BigDecimal> supplier)
|
ReducerFactory<Key,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>> |
getReducerFactory()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigDecimalAvgAggregation
public BigDecimalAvgAggregation()
getCollator
public Collator<Map.Entry<Key,AvgTuple<Long,BigDecimal>>,BigDecimal> getCollator()
- Specified by:
getCollator
in interface AggType<Key,Value,Key,BigDecimal,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>,BigDecimal>
getMapper
public Mapper<Key,Value,Key,BigDecimal> getMapper(Supplier<Key,Value,BigDecimal> supplier)
- Specified by:
getMapper
in interface AggType<Key,Value,Key,BigDecimal,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>,BigDecimal>
getCombinerFactory
public CombinerFactory<Key,BigDecimal,AvgTuple<Long,BigDecimal>> getCombinerFactory()
- Specified by:
getCombinerFactory
in interface AggType<Key,Value,Key,BigDecimal,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>,BigDecimal>
getReducerFactory
public ReducerFactory<Key,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>> getReducerFactory()
- Specified by:
getReducerFactory
in interface AggType<Key,Value,Key,BigDecimal,AvgTuple<Long,BigDecimal>,AvgTuple<Long,BigDecimal>,BigDecimal>
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.