Class FinishedOnRestoreInput<IN>
- java.lang.Object
-
- org.apache.flink.streaming.runtime.tasks.FinishedOnRestoreInput<IN>
-
-
Constructor Summary
Constructors Constructor Description FinishedOnRestoreInput(RecordWriterOutput<?>[] streamOutputs, int inputCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processElement(StreamRecord<IN> element)
Processes one element that arrived on this input of theMultipleInputStreamOperator
.void
processLatencyMarker(LatencyMarker latencyMarker)
Processes aLatencyMarker
that arrived on the first input of this two-input operator.void
processWatermark(Watermark watermark)
Processes aWatermark
that arrived on the first input of this two-input operator.void
processWatermarkStatus(WatermarkStatus watermarkStatus)
Processes aWatermarkStatus
that arrived on this input of theMultipleInputStreamOperator
.void
setKeyContextElement(StreamRecord<IN> record)
Set the correct key context before processing therecord
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.streaming.api.operators.Input
processRecordAttributes
-
-
-
-
Constructor Detail
-
FinishedOnRestoreInput
public FinishedOnRestoreInput(RecordWriterOutput<?>[] streamOutputs, int inputCount)
-
-
Method Detail
-
processElement
public void processElement(StreamRecord<IN> element) throws Exception
Description copied from interface:Input
Processes one element that arrived on this input of theMultipleInputStreamOperator
. This method is guaranteed to not be called concurrently with other methods of the operator.- Specified by:
processElement
in interfaceInput<IN>
- Throws:
Exception
-
processWatermark
public void processWatermark(Watermark watermark)
Description copied from interface:Input
Processes aWatermark
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.- Specified by:
processWatermark
in interfaceInput<IN>
- See Also:
Watermark
-
processWatermarkStatus
public void processWatermarkStatus(WatermarkStatus watermarkStatus) throws Exception
Description copied from interface:Input
Processes aWatermarkStatus
that arrived on this input of theMultipleInputStreamOperator
. This method is guaranteed to not be called concurrently with other methods of the operator.- Specified by:
processWatermarkStatus
in interfaceInput<IN>
- Throws:
Exception
- See Also:
WatermarkStatus
-
processLatencyMarker
public void processLatencyMarker(LatencyMarker latencyMarker) throws Exception
Description copied from interface:Input
Processes aLatencyMarker
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.- Specified by:
processLatencyMarker
in interfaceInput<IN>
- Throws:
Exception
- See Also:
LatencyMarker
-
setKeyContextElement
public void setKeyContextElement(StreamRecord<IN> record) throws Exception
Description copied from interface:Input
Set the correct key context before processing therecord
. Used for example to extract key from therecord
and pass that key to the state backends. This method is guaranteed to not be called concurrently with other methods of the operator.- Specified by:
setKeyContextElement
in interfaceInput<IN>
- Throws:
Exception
-
-