You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -162,6 +163,10 @@ Configuration is defined during client creation. See `com.clickhouse.client.api.
162
163
|`useHTTPBasicAuth(boolean useBasicAuth)`| - `useBasicAuth` - flag that indicates if the option should be enabled | Sets if basic HTTP authentication should be used for user-password authentication. Default is enabled. Using this type of authentication resolves issues with passwords containing special characters that cannot be transferred over HTTP headers. <br/> <br/> Default: `true` <br/> Enum: `ClientConfigProperties.HTTP_USE_BASIC_AUTH` <br/> Key: `http_use_basic_auth`|
163
164
|`setClientName(String clientName)`| - `clientName` - a string representing application name | Sets additional information about calling application. This string will be passed to server as a client name. In case of HTTP protocol it will be passed as a `User-Agent` header. <br/> <br/> Default: - <br/> Enum: `ClientConfigProperties.CLIENT_NAME` <br/> Key: `client_name`|
164
165
|`useBearerTokenAuth(String bearerToken)`| - `bearerToken` - an encoded bearer token | Specifies whether to use Bearer Authentication and what token to use. The token will be sent as is, so it should be encoded before passing to this method. <br/> <br/> Default: - <br/> Enum: `ClientConfigProperties.BEARERTOKEN_AUTH` <br/> Key: `bearer_token`|
166
+
|`registerClientMetrics(Object registry, String name)`| - `registry` - Micrometer registry instance<br /> - `name` - metrics group name | Registers sensors with Micrometer (https://micrometer.io/) registry instance. |
167
+
|`setServerVersion(String version)`| - `version` - string value of a server version | Sets server version to avoid version detection. <br/> <br/> Default: - <br/> Enum: `ClientConfigProperties.SERVER_VERSION` <br/> Key: `server_version`|
168
+
|`typeHintMapping(Map typeHintMapping)`| - `typeHintMapping` - map of type hints | Sets type hint mapping for ClickHouse types. For example, to make multidimesional arrays be present as Java containers instead of own Array objects. <br/> <br/> Default: - <br/> Enum: `ClientConfigProperties.TYPE_HINT_MAPPING` <br/> Key: `type_hint_mapping`|
169
+
|`sslSocketSNI(String sni)`| - `sni` - string value of a server name | Sets server name to be used for SNI (Server Name Indication) in SSL/TLS connection. <br/> <br/> Default: - <br/> Enum: `ClientConfigProperties.SSL_SOCKET_SNI` <br/> Key: `ssl_socket_sni`|
|`clickhouse.jdbc.v1`|`false`| Use older JDBC implementation instead of new JDBC |
80
80
|`default_query_settings`|`null`| Allows passing of default query settings with query operations |
81
+
|`jdbc_resultset_auto_close`|`true`| Automatically closes `ResultSet` when `Statement` is closed |
82
+
|`beta.row_binary_for_simple_insert`|`false`| Use `PreparedStatement` implementation based on `RowBinary` writer. Works only for `INSERT INTO ... VALUES` queries. |
0 commit comments