com.hazelcast.mapreduce.aggregation.impl
Class IntegerAvgAggregation<Key,Value>

java.lang.Object
  extended by com.hazelcast.mapreduce.aggregation.impl.IntegerAvgAggregation<Key,Value>
Type Parameters:
Key - the input key type
Value - the input value type
All Implemented Interfaces:
AggType<Key,Value,Key,Integer,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>,Integer>

public class IntegerAvgAggregation<Key,Value>
extends Object
implements AggType<Key,Value,Key,Integer,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>,Integer>

The predefined average aggregation for values of type integer.


Constructor Summary
IntegerAvgAggregation()
           
 
Method Summary
 Collator<Map.Entry<Key,AvgTuple<Integer,Integer>>,Integer> getCollator()
           
 CombinerFactory<Key,Integer,AvgTuple<Integer,Integer>> getCombinerFactory()
           
 Mapper<Key,Value,Key,Integer> getMapper(Supplier<Key,Value,Integer> supplier)
           
 ReducerFactory<Key,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>> getReducerFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerAvgAggregation

public IntegerAvgAggregation()
Method Detail

getCollator

public Collator<Map.Entry<Key,AvgTuple<Integer,Integer>>,Integer> getCollator()
Specified by:
getCollator in interface AggType<Key,Value,Key,Integer,AvgTuple<Integer,Integer>,AvgTuple<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,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>,Integer>

getCombinerFactory

public CombinerFactory<Key,Integer,AvgTuple<Integer,Integer>> getCombinerFactory()
Specified by:
getCombinerFactory in interface AggType<Key,Value,Key,Integer,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>,Integer>

getReducerFactory

public ReducerFactory<Key,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>> getReducerFactory()
Specified by:
getReducerFactory in interface AggType<Key,Value,Key,Integer,AvgTuple<Integer,Integer>,AvgTuple<Integer,Integer>,Integer>


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.