com.hazelcast.mapreduce.aggregation.impl
Class ComparableMaxAggregation<Key,Value>
java.lang.Object
com.hazelcast.mapreduce.aggregation.impl.ComparableMaxAggregation<Key,Value>
- Type Parameters:
Key
- the input key typeValue
- the input value type
- All Implemented Interfaces:
- AggType<Key,Value,Key,Comparable,Comparable,Comparable,Comparable>
public class ComparableMaxAggregation<Key,Value>
- extends Object
- implements AggType<Key,Value,Key,Comparable,Comparable,Comparable,Comparable>
The predefined maximum aggregation for values of type Comparable
.
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 |
ComparableMaxAggregation
public ComparableMaxAggregation()
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.