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

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

public class ComparableMinAggregation<Key,Value>
extends Object
implements AggType<Key,Value,Key,Comparable,Comparable,Comparable,Comparable>

The predefined minimum aggregation for values of type Comparable.


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

Constructor Detail

ComparableMinAggregation

public ComparableMinAggregation()
Method Detail

getCollator

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

getMapper

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

getCombinerFactory

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

getReducerFactory

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


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