public class DefaultContext extends Object
| Constructor and Description |
|---|
DefaultContext(org.apache.flink.configuration.Configuration flinkConfig,
List<URL> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
getDependencies() |
org.apache.flink.configuration.Configuration |
getFlinkConfig() |
static DefaultContext |
load(org.apache.flink.configuration.Configuration dynamicConfig,
List<URL> dependencies,
boolean discoverExecutionConfig,
boolean discoverPythonJar)
Build the
DefaultContext from flink-conf.yaml, dynamic configuration and users
specified jars. |
public org.apache.flink.configuration.Configuration getFlinkConfig()
public static DefaultContext load(org.apache.flink.configuration.Configuration dynamicConfig, List<URL> dependencies, boolean discoverExecutionConfig, boolean discoverPythonJar)
DefaultContext from flink-conf.yaml, dynamic configuration and users
specified jars.dynamicConfig - user specified configuration.dependencies - user specified jarsdiscoverExecutionConfig - flag whether to load the execution configurationdiscoverPythonJar - flag whetehr to load the python jarCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.