Enum 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHTTP connection provider.Custom HTTP headers.Custom HTTP query parameters.Default server response.Whether to enable keep-alive or not.Max open connections apply with Apache HttpClient only.Whether to receive information about the progress of a query in response headers. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Class<? extends Serializable>booleanstatic ClickHouseHttpOptionReturns the enum constant of this type with the specified name.static ClickHouseHttpOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.clickhouse.config.ClickHouseOption
getDefaultValueFromEnvVar, getDefaultValueFromSysProp, getEffectiveDefaultValue, getEffectiveValue, getEnvironmentVariable, getPrefix, getSystemProperty, name
-
Enum Constant Details
-
CONNECTION_PROVIDER
HTTP connection provider. -
CUSTOM_HEADERS
Custom HTTP headers. -
CUSTOM_PARAMS
Custom HTTP query parameters. ConsiderClickHouseClientOption.CUSTOM_SETTINGSif you don't want your implementation ties to http protocol. -
DEFAULT_RESPONSE
Default server response. -
KEEP_ALIVE
Whether to enable keep-alive or not. -
MAX_OPEN_CONNECTIONS
Max open connections apply with Apache HttpClient only. -
RECEIVE_QUERY_PROGRESS
Whether to receive information about the progress of a query in response headers.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDefaultValue
- Specified by:
getDefaultValuein interfacecom.clickhouse.config.ClickHouseOption
-
getDescription
- Specified by:
getDescriptionin interfacecom.clickhouse.config.ClickHouseOption
-
getKey
- Specified by:
getKeyin interfacecom.clickhouse.config.ClickHouseOption
-
getValueType
- Specified by:
getValueTypein interfacecom.clickhouse.config.ClickHouseOption
-
isSensitive
public boolean isSensitive()- Specified by:
isSensitivein interfacecom.clickhouse.config.ClickHouseOption
-