@@ -1597,6 +1597,27 @@ interface ClickHouseServerSettings {
15971597
15981598/** @see https://clickhouse.com/docs/en/interfaces/http */
15991599interface ClickHouseHTTPSettings {
1600+ /** If you specify compress=1, the server will compress the data it sends to you. */
1601+ compress : Bool
1602+ /** If you specify decompress=1, the server will decompress the data which you pass in the POST method. */
1603+ decompress : Bool
1604+ /** User name. If the user name is not specified, then the default name is used. */
1605+ user : string
1606+ /** User password. If the password is not specified, then an empty password is used. */
1607+ password : string
1608+ /** The quota_key "key" is passed in the query parameter, and the quota is tracked separately for each key value.
1609+ * For example, you can pass a username as the key, so the quota will be counted separately for each username. */
1610+ quota_key : string
1611+ /** This is any string that serves as the query identifier.
1612+ * If a query from the same user with the same 'query_id' already exists at this time,
1613+ * the behaviour depends on the 'replace_running_query' parameter. */
1614+ query_id : string
1615+ /** Determines the number of bytes in the result to buffer in the server memory.
1616+ * If a result body is larger than this threshold, the buffer is written to the HTTP channel,
1617+ * and the remaining data is sent directly to the HTTP channel.
1618+ * To ensure that the entire response is buffered, set wait_end_of_query=1.
1619+ * In this case, the data that is not stored in memory will be buffered in a temporary server file. */
1620+ buffer_size : UInt64
16001621 /** Ensures that the entire response is buffered.
16011622 * In this case, the data that is not stored in memory will be buffered in a temporary server file.
16021623 * This could help prevent errors that might occur during the streaming of SELECT queries.
@@ -1607,6 +1628,9 @@ interface ClickHouseHTTPSettings {
16071628 * Only useful for the {@link ClickHouseClient.exec} method,
16081629 * as {@link ClickHouseClient.query} method always attaches this clause. */
16091630 default_format : DataFormat
1631+ /** The user defined session identifier.
1632+ * It allows to modify settings, create temporary tables and reuse them in subsequent requests. */
1633+ session_id : string
16101634 /** By default, the session is terminated after 60 seconds of inactivity
16111635 * This is regulated by the `default_session_timeout` server setting. */
16121636 session_timeout : UInt64
0 commit comments