Package org.apache.flink.table.procedure
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 TypeMethodDescriptionorg.apache.flink.streaming.api.environment.StreamExecutionEnvironmentReturn theStreamExecutionEnvironmentwhere the procedure is called.
-
Method Details
-
getExecutionEnvironment
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment getExecutionEnvironment()Return theStreamExecutionEnvironmentwhere the procedure is called. Flink will create a newStreamExecutionEnvironmentbased 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.
-