@PublicEvolving
public interface Input<IN>
Input interface used in MultipleInputStreamOperator.| 限定符和类型 | 方法和说明 |
|---|---|
void |
processElement(StreamRecord<IN> 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. |
void |
processWatermarkStatus(WatermarkStatus watermarkStatus)
Processes a
WatermarkStatus that arrived on this input of the MultipleInputStreamOperator. |
void |
setKeyContextElement(StreamRecord<IN> record) |
void processElement(StreamRecord<IN> element) throws Exception
MultipleInputStreamOperator.
This method is guaranteed to not be called concurrently with other methods of the operator.Exceptionvoid processWatermark(Watermark mark) throws Exception
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.void processWatermarkStatus(WatermarkStatus watermarkStatus) throws Exception
WatermarkStatus that arrived on this input of the MultipleInputStreamOperator. This method is guaranteed to not be called concurrently with
other methods of the operator.ExceptionWatermarkStatusvoid processLatencyMarker(LatencyMarker latencyMarker) throws Exception
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.ExceptionLatencyMarkervoid setKeyContextElement(StreamRecord<IN> record) throws Exception
ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.