Enum ClickHouseHttpOption

java.lang.Object
java.lang.Enum<ClickHouseHttpOption>
com.clickhouse.client.http.config.ClickHouseHttpOption
All Implemented Interfaces:
com.clickhouse.config.ClickHouseOption, Serializable, Comparable<ClickHouseHttpOption>, java.lang.constant.Constable

public enum ClickHouseHttpOption extends Enum<ClickHouseHttpOption> implements com.clickhouse.config.ClickHouseOption
Http client options.
  • Enum Constant Details

  • Method Details

    • values

      public static ClickHouseHttpOption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ClickHouseHttpOption valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefaultValue

      public Serializable getDefaultValue()
      Specified by:
      getDefaultValue in interface com.clickhouse.config.ClickHouseOption
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface com.clickhouse.config.ClickHouseOption
    • getKey

      public String getKey()
      Specified by:
      getKey in interface com.clickhouse.config.ClickHouseOption
    • getValueType

      public Class<? extends Serializable> getValueType()
      Specified by:
      getValueType in interface com.clickhouse.config.ClickHouseOption