| 构造器和说明 |
|---|
FinishedOnRestoreInput(RecordWriterOutput<?>[] streamOutputs,
int inputCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 watermark)
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)
Set the correct key context before processing the
record. |
public FinishedOnRestoreInput(RecordWriterOutput<?>[] streamOutputs, int inputCount)
public void processElement(StreamRecord<IN> element) throws Exception
InputMultipleInputStreamOperator.
This method is guaranteed to not be called concurrently with other methods of the operator.processElement 在接口中 Input<IN>Exceptionpublic void processWatermark(Watermark watermark)
InputWatermark 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.processWatermark 在接口中 Input<IN>Watermarkpublic void processWatermarkStatus(WatermarkStatus watermarkStatus) throws Exception
InputWatermarkStatus that arrived on this input of the MultipleInputStreamOperator. This method is guaranteed to not be called concurrently with
other methods of the operator.processWatermarkStatus 在接口中 Input<IN>ExceptionWatermarkStatuspublic void processLatencyMarker(LatencyMarker latencyMarker) throws Exception
InputLatencyMarker 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.processLatencyMarker 在接口中 Input<IN>ExceptionLatencyMarkerpublic void setKeyContextElement(StreamRecord<IN> record) throws Exception
Inputrecord. Used for example to extract
key from the record and pass that key to the state backends. This method is
guaranteed to not be called concurrently with other methods of the operator.setKeyContextElement 在接口中 Input<IN>ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.