public class SelectByMaxFunction<T> extends Object implements ReduceFunction<T>
Constructor and Description |
---|
SelectByMaxFunction(TupleTypeInfoBase<T> t,
int[] fields) |
Modifier and Type | Method and Description |
---|---|
T |
reduce(T value1,
T value2)
The core method of ReduceFunction, combining two values into one value of the same type.
|
public SelectByMaxFunction(TupleTypeInfoBase<T> t, int[] fields)
public T reduce(T value1, T value2)
ReduceFunction
reduce
in interface ReduceFunction<T>
value1
- The first value to combine.value2
- The second value to combine.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.