public class ExecutionContext extends Object
| 构造器和说明 |
|---|
ExecutionContext(org.apache.flink.configuration.Configuration flinkConfig,
URLClassLoader classLoader,
SessionContext.SessionState sessionState) |
ExecutionContext(ExecutionContext context)
Create a new
ExecutionContext. |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.table.api.bridge.java.StreamTableEnvironment |
getTableEnvironment() |
<R> R |
wrapClassLoader(java.util.function.Supplier<R> supplier)
Executes the given supplier using the execution context's classloader as thread classloader.
|
public ExecutionContext(org.apache.flink.configuration.Configuration flinkConfig,
URLClassLoader classLoader,
SessionContext.SessionState sessionState)
public ExecutionContext(ExecutionContext context)
ExecutionContext.
It just copies from the ExecutionContext and rebuild a new TableEnvironment.
public <R> R wrapClassLoader(java.util.function.Supplier<R> supplier)
public org.apache.flink.table.api.bridge.java.StreamTableEnvironment getTableEnvironment()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.