Interface Reducer<I,O>
- Type Parameters:
I- the physical Java type of the inputO- the physical Java type of the output
@Evolving
public interface Reducer<I,O>
A 'reducer' for output of user-defined functions.
-
Method Details
-
reduce
-
displayName
Returns a short string representation for plan display (e.g. explain output). Defaults to the unqualified class name; implementations may override for a richer description. -
resultType
DataType resultType()Returns thedata typeof values produced by this reducer.- Returns:
- the data type of values produced by this reducer.
-