Class ClickHouseDefaultOption

java.lang.Object
com.clickhouse.config.ClickHouseDefaultOption
All Implemented Interfaces:
ClickHouseOption, Serializable

@Deprecated public final class ClickHouseDefaultOption extends Object implements ClickHouseOption
Deprecated.
See Also:
  • Constructor Details

    • ClickHouseDefaultOption

      public ClickHouseDefaultOption(String name, T defaultValue)
      Deprecated.
    • ClickHouseDefaultOption

      public ClickHouseDefaultOption(String name, T defaultValue, boolean sensitive)
      Deprecated.
  • Method Details

    • getDefaultValue

      public Serializable getDefaultValue()
      Deprecated.
      Description copied from interface: ClickHouseOption
      Gets default value of the option.
      Specified by:
      getDefaultValue in interface ClickHouseOption
      Returns:
      default value of the option
    • getDescription

      public String getDescription()
      Deprecated.
      Description copied from interface: ClickHouseOption
      Gets description of the option.
      Specified by:
      getDescription in interface ClickHouseOption
      Returns:
      description of the option
    • getKey

      public String getKey()
      Deprecated.
      Description copied from interface: ClickHouseOption
      Gets key of the option.
      Specified by:
      getKey in interface ClickHouseOption
      Returns:
      key of the option
    • getValueType

      public Class<? extends Serializable> getValueType()
      Deprecated.
      Description copied from interface: ClickHouseOption
      Gets value type of the option.
      Specified by:
      getValueType in interface ClickHouseOption
      Returns:
      value type of the option, defaults to String
    • isSensitive

      public boolean isSensitive()
      Deprecated.
      Description copied from interface: ClickHouseOption
      Checks whether the option is sensitive or not. A sensitive option should be used carefully and be masked in logging for security reason.
      Specified by:
      isSensitive in interface ClickHouseOption
      Returns:
      true if the option is sensitive; false otherwise
    • name

      public String name()
      Deprecated.
      Description copied from interface: ClickHouseOption
      Gets name of the option.
      Specified by:
      name in interface ClickHouseOption
      Returns:
      name of the option