public class ReduceOperator<K,T> extends StreamOperator<ReduceFunction<T>> implements OneInputOperator<T>
collectorList, function, name, richFunction, runtimeContext| 构造器和说明 |
|---|
ReduceOperator(ReduceFunction<T> reduceFunction) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Operatoropen 在类中 StreamOperator<ReduceFunction<T>>public void processElement(Record<T> record) throws Exception
processElement 在接口中 OneInputOperator<T>ExceptionCopyright © 2022. All rights reserved.