public class CoStreamReduce<IN1,IN2,OUT> extends AbstractUdfStreamOperator<OUT,CoReduceFunction<IN1,IN2,OUT>> implements TwoInputStreamOperator<IN1,IN2,OUT>
StreamOperator.ChainingStrategy| Modifier and Type | Field and Description |
|---|---|
protected IN1 |
currentValue1 |
protected IN2 |
currentValue2 |
userFunctionchainingStrategy, executionConfig, inputCopyDisabled, output, runtimeContext| Constructor and Description |
|---|
CoStreamReduce(CoReduceFunction<IN1,IN2,OUT> coReducer) |
| Modifier and Type | Method and Description |
|---|---|
void |
processElement1(IN1 element) |
void |
processElement2(IN2 element) |
close, confirmCheckpointCompleted, getStateSnapshotFromFunction, getUserFunction, open, restoreInitialState, setupdisableInputCopy, getChainingStrategy, isInputCopyingDisabled, setChainingStrategyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getChainingStrategy, isInputCopyingDisabled, open, setChainingStrategy, setuppublic CoStreamReduce(CoReduceFunction<IN1,IN2,OUT> coReducer)
public void processElement1(IN1 element) throws Exception
processElement1 in interface TwoInputStreamOperator<IN1,IN2,OUT>Exceptionpublic void processElement2(IN2 element) throws Exception
processElement2 in interface TwoInputStreamOperator<IN1,IN2,OUT>ExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.