Interface OneInputStreamOperator<IN,​OUT>

    • Method Detail

      • setKeyContextElement

        default void setKeyContextElement​(StreamRecord<IN> record)
                                   throws Exception
        Description copied from interface: Input
        Set the correct key context before processing the record. 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.
        Specified by:
        setKeyContextElement in interface Input<IN>
        Throws:
        Exception