Package com.clickhouse.client.config
Enum ClickHouseDefaults
- All Implemented Interfaces:
ClickHouseOption,Serializable,Comparable<ClickHouseDefaults>,java.lang.constant.Constable
@Deprecated
public enum ClickHouseDefaults
extends Enum<ClickHouseDefaults>
implements ClickHouseOption
Deprecated.
System-wide default options. System properties and environment variables can
be set to change default value.
For example, by default ASYNC is set to true. However, you
can change it to false by either specifying
-Ddefault_async=false on the Java command line, or setting
environment variable DEFAULT_ASYNC=false.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Default execution mode.Deprecated.Whether to create session automatically when there are multiple queries.Deprecated.Default buffering mode.Deprecated.Default database.Deprecated.Default format.Deprecated.Default server host.Deprecated.Max requests.Deprecated.Maximum number of threads that the scheduler(shared by all client instances) can use to run the adhoc/scheduled tasks like discovery and health check.Deprecated.Max threads.Deprecated.Default password.Deprecated.Default protocol.Deprecated.Rounding mode for type conversion.Deprecated.Server time zone, defaults toUTC.Deprecated.Server version, defaults tolatest.Deprecated.Whether to resolve DNS SRV name usingSrvResolver(e.g.Deprecated.SSL certificiate type.Deprecated.SSL key algorithm.Deprecated.SSL key.Deprecated.Thread keep alive timeout in milliseconds.Deprecated.Default user. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getKey()Deprecated.Deprecated.Class<? extends Serializable>Deprecated.booleanDeprecated.static ClickHouseDefaultsDeprecated.Returns the enum constant of this type with the specified name.static ClickHouseDefaults[]values()Deprecated.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, getSystemProperty, name
-
Enum Constant Details
-
ASYNC
Deprecated.Default execution mode. -
AUTO_SESSION
Deprecated.Whether to create session automatically when there are multiple queries. -
BUFFERING
Deprecated.Default buffering mode. -
HOST
Deprecated.Default server host. -
PROTOCOL
Deprecated.Default protocol. -
DATABASE
Deprecated.Default database. -
USER
Deprecated.Default user. -
PASSWORD
Deprecated.Default password. -
FORMAT
Deprecated.Default format. -
MAX_SCHEDULER_THREADS
Deprecated.Maximum number of threads that the scheduler(shared by all client instances) can use to run the adhoc/scheduled tasks like discovery and health check. -
MAX_THREADS
Deprecated.Max threads. -
MAX_REQUESTS
Deprecated.Max requests. -
ROUNDING_MODE
Deprecated.Rounding mode for type conversion. -
THREAD_KEEPALIVE_TIMEOUT
Deprecated.Thread keep alive timeout in milliseconds. -
SERVER_TIME_ZONE
Deprecated.Server time zone, defaults toUTC. -
SERVER_VERSION
Deprecated.Server version, defaults tolatest. -
SSL_CERTIFICATE_TYPE
Deprecated.SSL certificiate type. -
SSL_KEY_ALGORITHM
Deprecated.SSL key algorithm. -
SSL_PROTOCOL
Deprecated.SSL key. -
SRV_RESOLVE
Deprecated.Whether to resolve DNS SRV name usingSrvResolver(e.g. resolve SRV record to extract both host and port from a given name).
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
Deprecated.- Specified by:
getDefaultValuein interfaceClickHouseOption
-
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceClickHouseOption
-
getKey
Deprecated.- Specified by:
getKeyin interfaceClickHouseOption
-
getPrefix
Deprecated.- Specified by:
getPrefixin interfaceClickHouseOption
-
getValueType
Deprecated.- Specified by:
getValueTypein interfaceClickHouseOption
-
isSensitive
public boolean isSensitive()Deprecated.- Specified by:
isSensitivein interfaceClickHouseOption
-