Interface ProcedureContext

All Known Implementing Classes:
DefaultProcedureContext

@PublicEvolving public interface ProcedureContext
A context to provide necessary context used by stored procedure.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.streaming.api.environment.StreamExecutionEnvironment
    Return the StreamExecutionEnvironment where the procedure is called.
  • Method Details

    • getExecutionEnvironment

      org.apache.flink.streaming.api.environment.StreamExecutionEnvironment getExecutionEnvironment()
      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.