public class MaxWithComparator<T> extends ComparisonAggregator<T>
comparator
for comparing two values in a
stream.ComparisonAggregator.State
Constructor and Description |
---|
MaxWithComparator(Comparator<T> comparator) |
MaxWithComparator(String inputFieldName,
Comparator<T> comparator) |
Modifier and Type | Method and Description |
---|---|
protected T |
compare(T value1,
T value2) |
String |
toString() |
aggregate, complete, init, valueFromTuple
cleanup, prepare
public MaxWithComparator(Comparator<T> comparator)
public MaxWithComparator(String inputFieldName, Comparator<T> comparator)
Copyright © 2023 The Apache Software Foundation. All rights reserved.