Enum ClickHouseGrpcOption

java.lang.Object
java.lang.Enum<ClickHouseGrpcOption>
com.clickhouse.client.grpc.config.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.
  • Enum Constant Details

    • FLOW_CONTROL_WINDOW

      public static final ClickHouseGrpcOption FLOW_CONTROL_WINDOW
      Flow control window.
    • MAX_INBOUND_MESSAGE_SIZE

      public static final ClickHouseGrpcOption MAX_INBOUND_MESSAGE_SIZE
      Maximum message size.
    • MAX_INBOUND_METADATA_SIZE

      public static final ClickHouseGrpcOption MAX_INBOUND_METADATA_SIZE
      Maximum size of metadata.
    • USE_OKHTTP

      public static final ClickHouseGrpcOption USE_OKHTTP
      Whether to use Okhttp instead of Netty.
    • USE_FULL_STREAM_DECOMPRESSION

      public static final ClickHouseGrpcOption USE_FULL_STREAM_DECOMPRESSION
      Whether to use full stream decompression.
  • Method Details

    • values

      public static ClickHouseGrpcOption[] 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 ClickHouseGrpcOption 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