Package org.apache.flink.table.procedure
Class DefaultProcedureContext
- java.lang.Object
-
- org.apache.flink.table.procedure.DefaultProcedureContext
-
- All Implemented Interfaces:
ProcedureContext
@Internal public class DefaultProcedureContext extends Object implements ProcedureContext
The default implementation forProcedureContext.
-
-
Constructor Summary
Constructors Constructor Description DefaultProcedureContext(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.streaming.api.environment.StreamExecutionEnvironmentgetExecutionEnvironment()Return theStreamExecutionEnvironmentwhere the procedure is called.
-
-
-
Method Detail
-
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
-
-