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