sql-client.yaml
configuration file.@Deprecated public class YamlConfigUtils extends Object
ExecutionEntry
to Configuration
.
ExecutionEntry
, set the key and corresponding ConfigOption
at the same time.
ConfigOption
and corresponding ExecutionEntry
is not set, set
the value for ConfigOption
only.
ConfigOption
and corresponding ExecutionEntry
is set, set the
value for both.
When read all entries from the Configuration
, read the key from ExecutionEntry
first and then read the ConfigOption
.
Constructor and Description |
---|
YamlConfigUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Configuration |
convertExecutionEntryToConfiguration(ExecutionEntry execution)
Deprecated.
|
static String |
getDeprecatedNameWithOptionKey(String key)
Deprecated.
|
static String |
getOptionNameWithDeprecatedKey(String key)
Deprecated.
|
static List<String> |
getPropertiesInPretty(Map<String,String> properties)
Deprecated.
|
static boolean |
isDeprecatedKey(String key)
Deprecated.
|
static boolean |
isOptionHasDeprecatedKey(String key)
Deprecated.
|
static boolean |
isRemovedKey(String key)
Deprecated.
|
static void |
setKeyToConfiguration(Configuration configuration,
String key,
String value)
Deprecated.
|
public static boolean isRemovedKey(String key)
public static boolean isDeprecatedKey(String key)
public static String getOptionNameWithDeprecatedKey(String key)
public static boolean isOptionHasDeprecatedKey(String key)
public static String getDeprecatedNameWithOptionKey(String key)
public static void setKeyToConfiguration(Configuration configuration, String key, String value)
public static Configuration convertExecutionEntryToConfiguration(ExecutionEntry execution)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.