Package com.clickhouse.config
Class ClickHouseDefaultOption
java.lang.Object
com.clickhouse.config.ClickHouseDefaultOption
- All Implemented Interfaces:
ClickHouseOption,Serializable
Deprecated.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClickHouseDefaultOption(String name, T defaultValue) Deprecated.ClickHouseDefaultOption(String name, T defaultValue, boolean sensitive) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets default value of the option.Deprecated.Gets description of the option.getKey()Deprecated.Gets key of the option.Class<? extends Serializable>Deprecated.Gets value type of the option.booleanDeprecated.Checks whether the option is sensitive or not.name()Deprecated.Gets name of the option.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.clickhouse.config.ClickHouseOption
getDefaultValueFromEnvVar, getDefaultValueFromSysProp, getEffectiveDefaultValue, getEffectiveValue, getEnvironmentVariable, getPrefix, getSystemProperty
-
Constructor Details
-
ClickHouseDefaultOption
Deprecated. -
ClickHouseDefaultOption
Deprecated.
-
-
Method Details
-
getDefaultValue
Deprecated.Description copied from interface:ClickHouseOptionGets default value of the option.- Specified by:
getDefaultValuein interfaceClickHouseOption- Returns:
- default value of the option
-
getDescription
Deprecated.Description copied from interface:ClickHouseOptionGets description of the option.- Specified by:
getDescriptionin interfaceClickHouseOption- Returns:
- description of the option
-
getKey
Deprecated.Description copied from interface:ClickHouseOptionGets key of the option.- Specified by:
getKeyin interfaceClickHouseOption- Returns:
- key of the option
-
getValueType
Deprecated.Description copied from interface:ClickHouseOptionGets value type of the option.- Specified by:
getValueTypein interfaceClickHouseOption- Returns:
- value type of the option, defaults to String
-
isSensitive
public boolean isSensitive()Deprecated.Description copied from interface:ClickHouseOptionChecks whether the option is sensitive or not. A sensitive option should be used carefully and be masked in logging for security reason.- Specified by:
isSensitivein interfaceClickHouseOption- Returns:
- true if the option is sensitive; false otherwise
-
name
Deprecated.Description copied from interface:ClickHouseOptionGets name of the option.- Specified by:
namein interfaceClickHouseOption- Returns:
- name of the option
-