Enum ClickHouseGrpcOption
- All Implemented Interfaces:
com.clickhouse.config.ClickHouseOption,Serializable,Comparable<ClickHouseGrpcOption>,java.lang.constant.Constable
public enum ClickHouseGrpcOption
extends Enum<ClickHouseGrpcOption>
implements com.clickhouse.config.ClickHouseOption
gRPC 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 ConstantDescriptionFlow control window.Maximum message size.Maximum size of metadata.Whether to use full stream decompression.Whether to use Okhttp instead of Netty. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Class<? extends Serializable>static ClickHouseGrpcOptionReturns the enum constant of this type with the specified name.static ClickHouseGrpcOption[]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
-
FLOW_CONTROL_WINDOW
Flow control window. -
MAX_INBOUND_MESSAGE_SIZE
Maximum message size. -
MAX_INBOUND_METADATA_SIZE
Maximum size of metadata. -
USE_OKHTTP
Whether to use Okhttp instead of Netty. -
USE_FULL_STREAM_DECOMPRESSION
Whether to use full stream decompression.
-
-
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
-