public class ExecutionContext extends Object
| Constructor and Description |
|---|
ExecutionContext(org.apache.flink.configuration.Configuration flinkConfig,
URLClassLoader classLoader,
SessionContext.SessionState sessionState) |
ExecutionContext(ExecutionContext context)
Create a new
ExecutionContext. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.api.TableEnvironment |
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.TableEnvironment getTableEnvironment()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.