Package org.apache.flink.table.procedure
Class DefaultProcedureContext
java.lang.Object
org.apache.flink.table.procedure.DefaultProcedureContext
- All Implemented Interfaces:
ProcedureContext
The default implementation for
ProcedureContext.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultProcedureContext(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.streaming.api.environment.StreamExecutionEnvironmentReturn theStreamExecutionEnvironmentwhere the procedure is called.
-
Constructor Details
-
DefaultProcedureContext
public DefaultProcedureContext(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
-
-
Method Details
-
getExecutionEnvironment
public org.apache.flink.streaming.api.environment.StreamExecutionEnvironment getExecutionEnvironment()Description copied from interface:ProcedureContextReturn 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.- Specified by:
getExecutionEnvironmentin interfaceProcedureContext
-