public class ReduceOperator<K,T> extends StreamOperator<ReduceFunction<T>> implements OneInputOperator<T>
collectorList, function, name, richFunction, runtimeContext| Constructor and Description |
|---|
ReduceOperator(ReduceFunction<T> reduceFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(List<Collector> collectorList,
RuntimeContext runtimeContext) |
void |
processElement(Record<T> record) |
close, collect, collect, finish, getChainStrategy, getFunction, getLanguage, getName, loadCheckpoint, saveCheckpoint, setChainStrategy, setFunctionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpTypeclose, finish, getChainStrategy, getFunction, getLanguage, getName, loadCheckpoint, saveCheckpointpublic ReduceOperator(ReduceFunction<T> reduceFunction)
public void open(List<Collector> collectorList, RuntimeContext runtimeContext)
open in interface Operatoropen in class StreamOperator<ReduceFunction<T>>public void processElement(Record<T> record) throws Exception
processElement in interface OneInputOperator<T>ExceptionCopyright © 2021. All rights reserved.