public class SecondInputOfTwoInput extends InputBase
Input
for the second input of TwoInputStreamOperator
.Constructor and Description |
---|
SecondInputOfTwoInput(TwoInputStreamOperator<RowData,RowData,RowData> operator) |
Modifier and Type | Method and Description |
---|---|
void |
processElement(StreamRecord<RowData> element)
Processes one element that arrived on this input of the
MultipleInputStreamOperator . |
void |
processLatencyMarker(LatencyMarker latencyMarker)
Processes a
LatencyMarker that arrived on the first input of this two-input operator. |
void |
processWatermark(Watermark mark)
Processes a
Watermark that arrived on the first input of this two-input operator. |
setKeyContextElement
public SecondInputOfTwoInput(TwoInputStreamOperator<RowData,RowData,RowData> operator)
public void processElement(StreamRecord<RowData> element) throws Exception
Input
MultipleInputStreamOperator
.
This method is guaranteed to not be called concurrently with other methods of the operator.Exception
public void processWatermark(Watermark mark) throws Exception
Input
Watermark
that arrived on the first input of this two-input operator.
This method is guaranteed to not be called concurrently with other methods of the operator.public void processLatencyMarker(LatencyMarker latencyMarker) throws Exception
Input
LatencyMarker
that arrived on the first input of this two-input operator.
This method is guaranteed to not be called concurrently with other methods of the operator.Exception
LatencyMarker
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.