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

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

public class BigIntegerAvgAggregation<Key,Value>
extends Object
implements AggType<Key,Value,Key,BigInteger,AvgTuple<Long,BigInteger>,AvgTuple<Long,BigInteger>,BigInteger>

The predefined average aggregation for values of type BigInteger.


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

Constructor Detail

BigIntegerAvgAggregation

public BigIntegerAvgAggregation()
Method Detail

getCollator

public Collator<Map.Entry<Key,AvgTuple<Long,BigInteger>>,BigInteger> getCollator()
Specified by:
getCollator in interface AggType<Key,Value,Key,BigInteger,AvgTuple<Long,BigInteger>,AvgTuple<Long,BigInteger>,BigInteger>

getMapper

public Mapper<Key,Value,Key,BigInteger> getMapper(Supplier<Key,Value,BigInteger> supplier)
Specified by:
getMapper in interface AggType<Key,Value,Key,BigInteger,AvgTuple<Long,BigInteger>,AvgTuple<Long,BigInteger>,BigInteger>

getCombinerFactory

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

getReducerFactory

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


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