| Modifier and Type | Method and Description |
|---|---|
<T> ConfigProperty<T> |
ConfigProperty.PropertyBuilder.defaultValue(T value) |
<T> ConfigProperty<T> |
ConfigProperty.PropertyBuilder.defaultValue(T value,
String docOnDefaultValue) |
ConfigProperty<T> |
ConfigProperty.deprecatedAfter(String deprecatedVersion) |
ConfigProperty<T> |
ConfigProperty.markAdvanced()
Marks the config as an advanced config.
|
ConfigProperty<String> |
ConfigProperty.PropertyBuilder.noDefaultValue() |
ConfigProperty<String> |
ConfigProperty.PropertyBuilder.noDefaultValue(String docOnDefaultValue) |
ConfigProperty<T> |
ConfigProperty.sinceVersion(String sinceVersion) |
ConfigProperty<T> |
ConfigProperty.withAlternatives(String... alternatives) |
<U extends Enum<U>> |
ConfigProperty.withDocumentation(Class<U> e) |
<U extends Enum<U>> |
ConfigProperty.withDocumentation(Class<U> e,
String doc) |
ConfigProperty<T> |
ConfigProperty.withDocumentation(String doc) |
ConfigProperty<T> |
ConfigProperty.withInferFunction(Function<HoodieConfig,Option<T>> inferFunction) |
ConfigProperty<T> |
ConfigProperty.withValidValues(String... validValues) |
| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
HoodieConfig.contains(ConfigProperty<T> configProperty) |
<T> Boolean |
HoodieConfig.getBoolean(ConfigProperty<T> configProperty) |
<T> boolean |
HoodieConfig.getBooleanOrDefault(ConfigProperty<T> configProperty) |
<T> boolean |
HoodieConfig.getBooleanOrDefault(ConfigProperty<T> configProperty,
boolean defaultVal) |
<T> Double |
HoodieConfig.getDouble(ConfigProperty<T> configProperty) |
<T> Double |
HoodieConfig.getDoubleOrDefault(ConfigProperty<T> configProperty) |
<T> Float |
HoodieConfig.getFloat(ConfigProperty<T> configProperty) |
<T> Float |
HoodieConfig.getFloatOrDefault(ConfigProperty<T> configProperty) |
<T> Integer |
HoodieConfig.getInt(ConfigProperty<T> configProperty) |
<T> Integer |
HoodieConfig.getIntOrDefault(ConfigProperty<T> configProperty) |
<T> Long |
HoodieConfig.getLong(ConfigProperty<T> configProperty) |
<T> Long |
HoodieConfig.getLongOrDefault(ConfigProperty<T> configProperty) |
<T> List<String> |
HoodieConfig.getSplitStrings(ConfigProperty<T> configProperty) |
<T> List<String> |
HoodieConfig.getSplitStrings(ConfigProperty<T> configProperty,
String delimiter) |
<T> String |
HoodieConfig.getString(ConfigProperty<T> configProperty) |
<T> String |
HoodieConfig.getStringOrDefault(ConfigProperty<T> configProperty) |
<T> String |
HoodieConfig.getStringOrDefault(ConfigProperty<T> configProperty,
String defaultVal) |
<T> String |
HoodieConfig.getStringOrThrow(ConfigProperty<T> configProperty,
String errorMessage) |
<T> void |
HoodieConfig.setDefaultValue(ConfigProperty<T> configProperty)
Sets the default value of a config if user does not set it already.
|
<T> void |
HoodieConfig.setDefaultValue(ConfigProperty<T> configProperty,
T defaultVal) |
<T> void |
HoodieConfig.setValue(ConfigProperty<T> cfg,
String val) |
| Modifier and Type | Field and Description |
|---|---|
static ConfigProperty<String> |
ConsistencyGuardConfig.ENABLE |
static ConfigProperty<String> |
FileSystemRetryConfig.FILESYSTEM_RETRY_ENABLE |
static ConfigProperty<Long> |
ConsistencyGuardConfig.INITIAL_CHECK_INTERVAL_MS |
static ConfigProperty<Long> |
FileSystemRetryConfig.INITIAL_RETRY_INTERVAL_MS |
static ConfigProperty<Long> |
ConsistencyGuardConfig.MAX_CHECK_INTERVAL_MS |
static ConfigProperty<Integer> |
ConsistencyGuardConfig.MAX_CHECKS |
static ConfigProperty<Long> |
FileSystemRetryConfig.MAX_RETRY_INTERVAL_MS |
static ConfigProperty<Integer> |
FileSystemRetryConfig.MAX_RETRY_NUMBERS |
static ConfigProperty<Boolean> |
ConsistencyGuardConfig.OPTIMISTIC_CONSISTENCY_GUARD_ENABLE |
static ConfigProperty<Long> |
ConsistencyGuardConfig.OPTIMISTIC_CONSISTENCY_GUARD_SLEEP_TIME_MS |
static ConfigProperty<String> |
FileSystemRetryConfig.RETRY_EXCEPTIONS |
| Modifier and Type | Field and Description |
|---|---|
static List<ConfigProperty<String>> |
HoodieTableConfig.PERSISTED_CONFIG_LIST |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConfigUtils.containsConfigProperty(Map<String,Object> props,
ConfigProperty<?> configProperty)
Whether the properties contain a config.
|
static boolean |
ConfigUtils.containsConfigProperty(TypedProperties props,
ConfigProperty<?> configProperty)
Whether the properties contain a config.
|
static boolean |
ConfigUtils.getBooleanWithAltKeys(Properties props,
ConfigProperty<?> configProperty)
Gets the boolean value for a
ConfigProperty config from properties. |
static int |
ConfigUtils.getIntWithAltKeys(TypedProperties props,
ConfigProperty<?> configProperty)
Gets the integer value for a
ConfigProperty config from properties. |
static long |
ConfigUtils.getLongWithAltKeys(TypedProperties props,
ConfigProperty<Long> configProperty)
Gets the long value for a
ConfigProperty config from properties. |
static Option<Object> |
ConfigUtils.getRawValueWithAltKeys(Properties props,
ConfigProperty<?> configProperty)
Gets the raw value for a
ConfigProperty config from properties. |
static String |
ConfigUtils.getStringWithAltKeys(Map<String,Object> props,
ConfigProperty<String> configProperty)
Gets the String value for a
ConfigProperty config from a Map. |
static String |
ConfigUtils.getStringWithAltKeys(TypedProperties props,
ConfigProperty<?> configProperty,
String defaultValue)
Gets the String value for a
ConfigProperty config from properties. |
static String |
ConfigUtils.getStringWithAltKeys(TypedProperties props,
ConfigProperty<String> configProperty)
Gets the String value for a
ConfigProperty config from properties. |
static String |
ConfigUtils.getStringWithAltKeys(TypedProperties props,
ConfigProperty<String> configProperty,
boolean useDefaultValue)
Gets the String value for a
ConfigProperty config from properties. |
static void |
ConfigUtils.removeConfigFromProps(TypedProperties props,
ConfigProperty<?> configProperty)
Removes a
ConfigProperty config from properties. |
static Option<String> |
ConfigUtils.stripPrefix(String prop,
ConfigProperty<String> prefixConfig)
Strips the prefix from a config key.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ConfigUtils.checkRequiredConfigProperties(TypedProperties props,
List<ConfigProperty<?>> configPropertyList)
Validates that all
ConfigProperty configs exist in the properties. |
static Map<String,Object> |
ConfigUtils.filterProperties(TypedProperties props,
List<ConfigProperty<String>> configPropertyList)
Returns filtered properties based on the given
ConfigProperty config list to keep. |
static Set<String> |
ConfigUtils.getAllConfigKeys(List<ConfigProperty<String>> configPropertyList) |
| Modifier and Type | Field and Description |
|---|---|
static ConfigProperty<String> |
KeyGeneratorOptions.HIVE_STYLE_PARTITIONING_ENABLE |
static ConfigProperty<String> |
KeyGeneratorOptions.KEYGENERATOR_CONSISTENT_LOGICAL_TIMESTAMP_ENABLED |
static ConfigProperty<String> |
KeyGeneratorOptions.PARTITIONPATH_FIELD_NAME |
static ConfigProperty<String> |
KeyGeneratorOptions.RECORDKEY_FIELD_NAME |
static ConfigProperty<String> |
KeyGeneratorOptions.URL_ENCODE_PARTITIONING |
Copyright © 2024 The Apache Software Foundation. All rights reserved.