Interface TwoInputStreamOperator<IN1,​IN2,​OUT>

    • Method Detail

      • processElement1

        void processElement1​(StreamRecord<IN1> element)
                      throws Exception
        Processes one element 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.
        Throws:
        Exception
      • processElement2

        void processElement2​(StreamRecord<IN2> element)
                      throws Exception
        Processes one element that arrived on the second input of this two-input operator. This method is guaranteed to not be called concurrently with other methods of the operator.
        Throws:
        Exception
      • processWatermark1

        void processWatermark1​(Watermark mark)
                        throws Exception
        Processes a 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.
        Throws:
        Exception
        See Also:
        Watermark
      • processWatermark2

        void processWatermark2​(Watermark mark)
                        throws Exception
        Processes a Watermark that arrived on the second input of this two-input operator. This method is guaranteed to not be called concurrently with other methods of the operator.
        Throws:
        Exception
        See Also:
        Watermark
      • processLatencyMarker1

        void processLatencyMarker1​(LatencyMarker latencyMarker)
                            throws Exception
        Processes a 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.
        Throws:
        Exception
        See Also:
        LatencyMarker
      • processLatencyMarker2

        void processLatencyMarker2​(LatencyMarker latencyMarker)
                            throws Exception
        Processes a LatencyMarker that arrived on the second input of this two-input operator. This method is guaranteed to not be called concurrently with other methods of the operator.
        Throws:
        Exception
        See Also:
        LatencyMarker
      • processWatermarkStatus1

        void processWatermarkStatus1​(WatermarkStatus watermarkStatus)
                              throws Exception
        Processes a WatermarkStatus 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.
        Throws:
        Exception
        See Also:
        WatermarkStatus
      • processWatermarkStatus2

        void processWatermarkStatus2​(WatermarkStatus watermarkStatus)
                              throws Exception
        Processes a WatermarkStatus that arrived on the second input of this two-input operator. This method is guaranteed to not be called concurrently with other methods of the operator.
        Throws:
        Exception
        See Also:
        WatermarkStatus
      • processRecordAttributes1

        @Experimental
        default void processRecordAttributes1​(RecordAttributes recordAttributes)
                                       throws Exception
        Processes a RecordAttributes that arrived on the first input of this operator. This method is guaranteed to not be called concurrently with other methods of the operator.
        Throws:
        Exception
      • processRecordAttributes2

        @Experimental
        default void processRecordAttributes2​(RecordAttributes recordAttributes)
                                       throws Exception
        Processes a RecordAttributes that arrived on the second input of this operator. This method is guaranteed to not be called concurrently with other methods of the operator.
        Throws:
        Exception