@Internal public final class GlobalConfiguration extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FLINK_CONF_FILENAME |
static String |
HIDDEN_CONTENT |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isSensitive(String key)
Check whether the key is a hidden key.
|
static Configuration |
loadConfiguration()
Loads the global configuration from the environment.
|
static Configuration |
loadConfiguration(Configuration dynamicProperties)
Loads the global configuration and adds the given dynamic properties configuration.
|
static Configuration |
loadConfiguration(String configDir)
Loads the configuration files from the specified directory.
|
static Configuration |
loadConfiguration(String configDir,
Configuration dynamicProperties)
Loads the configuration files from the specified directory.
|
public static Configuration loadConfiguration()
public static Configuration loadConfiguration(Configuration dynamicProperties)
dynamicProperties - The given dynamic propertiespublic static Configuration loadConfiguration(String configDir)
YAML files are supported as configuration files.
configDir - the directory which contains the configuration filespublic static Configuration loadConfiguration(String configDir, @Nullable Configuration dynamicProperties)
configDir - directory to load the configuration fromdynamicProperties - configuration file containing the dynamic properties. Null if none.public static boolean isSensitive(String key)
key - the config keyCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.