Class DefaultProcedureContext

    • Constructor Detail

      • DefaultProcedureContext

        public DefaultProcedureContext​(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
    • Method Detail

      • getExecutionEnvironment

        public org.apache.flink.streaming.api.environment.StreamExecutionEnvironment getExecutionEnvironment()
        Description copied from interface: ProcedureContext
        Return the StreamExecutionEnvironment where the procedure is called. Flink will create a new StreamExecutionEnvironment based on the current configuration and pass it to the procedure for every procedure call. The procedure can modify the passed StreamExecutionEnvironment safely inside as it won't be leaked outside.
        Specified by:
        getExecutionEnvironment in interface ProcedureContext