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