#[non_exhaustive]pub struct Extension {
pub arrow: Option<ArrowOptions>,
pub chunked_send: ChunkedProtocolMode,
pub chunked_recv: ChunkedProtocolMode,
pub fast_mode_size: Option<u8>,
}
Expand description
Extra configuration options for ClickHouse
.
These options are separated to allow extending the configuration capabilities of a connection
without breaking the core ClientOptions
that are unlikely to ever change. For this reason,
Extensions
is non_exhaustive
so the api can change without breaking existing
implementations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arrow: Option<ArrowOptions>
Options specific to (de)serializing arrow data.
chunked_send: ChunkedProtocolMode
Options related to server/client protocol send chunking. This may be removed, as it may be defaulted.
chunked_recv: ChunkedProtocolMode
Options related to server/client protocol recv chunking. This may be removed, as it may be defaulted
fast_mode_size: Option<u8>
Related to inner_pool
, how many ‘inner clients’ to spawn. Currently capped at 4.
Implementations§
Source§impl Extension
Configuration extensions for specialized ClickHouse
client behavior.
impl Extension
Configuration extensions for specialized ClickHouse
client behavior.
This type provides additional configuration options beyond the standard client settings, including Arrow format options and cloud-specific settings.