Class Comparator
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.aggregation.Comparator
-
- All Implemented Interfaces:
Serializable
@Internal public abstract class Comparator extends Object implements Serializable
Internal comparator implementation, for use withComparableAggregator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Comparator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ComparatorgetForAggregation(AggregationFunction.AggregationType type)abstract <R> intisExtremal(Comparable<R> o1, R o2)
-
-
-
Method Detail
-
isExtremal
public abstract <R> int isExtremal(Comparable<R> o1, R o2)
-
getForAggregation
public static Comparator getForAggregation(AggregationFunction.AggregationType type)
-
-