Enum ClickHouseHttpOption

    • Enum Constant Detail

      • CONNECTION_PROVIDER

        public static final ClickHouseHttpOption CONNECTION_PROVIDER
        HTTP connection provider.
      • CUSTOM_PARAMS

        public static final ClickHouseHttpOption CUSTOM_PARAMS
        Custom HTTP query parameters.
      • 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.
      • RECEIVE_QUERY_PROGRESS

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

      • values

        public static ClickHouseHttpOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ClickHouseHttpOption c : ClickHouseHttpOption.values())
            System.out.println(c);
        
        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