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