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