T - The type of the default value.public class ConfigProperty<T> extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigProperty.PropertyBuilder
The PropertyBuilder is used to build the ConfigProperty.
|
public String key()
public T defaultValue()
public boolean hasDefaultValue()
public String getDocOnDefaultValue()
public String doc()
public boolean hasInferFunction()
public void checkValues(String value)
public boolean isAdvanced()
public ConfigProperty<T> withDocumentation(String doc)
public <U extends Enum<U>> ConfigProperty<T> withDocumentation(Class<U> e)
public <U extends Enum<U>> ConfigProperty<T> withDocumentation(Class<U> e, String doc)
public ConfigProperty<T> withValidValues(String... validValues)
public ConfigProperty<T> withAlternatives(String... alternatives)
public ConfigProperty<T> sinceVersion(String sinceVersion)
public ConfigProperty<T> deprecatedAfter(String deprecatedVersion)
public ConfigProperty<T> withInferFunction(Function<HoodieConfig,Option<T>> inferFunction)
public ConfigProperty<T> markAdvanced()
public static ConfigProperty.PropertyBuilder key(String key)
key - The key of the optionCopyright © 2024 The Apache Software Foundation. All rights reserved.