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

    • CONNECTION_PROVIDER

      public static final ClickHouseHttpOption CONNECTION_PROVIDER
      HTTP connection provider.
    • CUSTOM_HEADERS

      public static final ClickHouseHttpOption CUSTOM_HEADERS
      Custom HTTP headers.
    • CUSTOM_PARAMS

      public static final ClickHouseHttpOption CUSTOM_PARAMS
      Custom HTTP query parameters. Consider ClickHouseClientOption.CUSTOM_SETTINGS if you don't want your implementation ties to http protocol.
    • DEFAULT_RESPONSE

      public static final ClickHouseHttpOption DEFAULT_RESPONSE
      Default server response.
    • KEEP_ALIVE

      public static final ClickHouseHttpOption KEEP_ALIVE
      Whether to enable keep-alive or not.
    • MAX_OPEN_CONNECTIONS

      public static final ClickHouseHttpOption MAX_OPEN_CONNECTIONS
      Max open connections apply with Apache HttpClient only.
    • RECEIVE_QUERY_PROGRESS

      public static final ClickHouseHttpOption RECEIVE_QUERY_PROGRESS
      Whether to receive information about the progress of a query in response headers.
    • WEB_CONTEXT

      public static final ClickHouseHttpOption WEB_CONTEXT
      Web context.
  • 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
    • isSensitive

      public boolean isSensitive()
      Specified by:
      isSensitive in interface com.clickhouse.config.ClickHouseOption