T - Type of the elements that this function processes.public abstract class RichReduceFunction<T> extends AbstractRichFunction implements ReduceFunction<T>
ReduceFunction. As a RichFunction, it gives access to the
RuntimeContext and provides setup and teardown methods:
RichFunction.open(org.apache.flink.configuration.Configuration) and
RichFunction.close().| Constructor and Description |
|---|
RichReduceFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
reduce(T value1,
T value2) |
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextCopyright © 2014 The Apache Software Foundation. All rights reserved.