Skip to main content

Crate adbc_clickhouse

Crate adbc_clickhouse 

Source
Expand description

Official ClickHouse driver for Arrow Database Connectivity (ADBC).

Utilizes the official ClickHouse Rust client.

§Feature Flags

§ADBC Driver Manager Integration

When the ffi feature is enabled, this crate exports the AdbcDriverInit() and AdbcClickhouseInit() functions.

It then may be built as a dynamic library and loaded by an ADBC driver manager.

§TLS Support

This package exposes the same Transport Layer Security (TLS) features as the clickhouse crate it uses under the hood:

  • native-tls: use the native TLS implementation for the platform
  • OpenSSL on Linux
  • SChannel on Windows
  • Secure Transport on macOS
  • rustls-tls: enables both rustls-tls-aws-lc and rustls-tls-webpki-roots
  • rustls-tls-aws-lc: use Rustls with the aws-lc cryptography provider
  • rustls-tls-ring: use Rustls with the ring cryptography provider
  • rustls-tls-native-roots: configure Rustls to use the native TLS root certificate store for the platform
  • rustls-tls-webpki-roots: configure Rustls to use a statically compiled set of TLS roots (webpki-roots crate)

Note that Rustls has no TLS roots by default; when using the rustls-tls-aws-lc or rustls-tls-ring features, you should also enable either rustls-tls-native-roots or rustls-tls-webpki-roots to choose a TLS root store.

Modules§

options
Keys for setting options on various ClickHouse ADBC objects.

Structs§

ClickhouseConnection
ClickHouse ADBC Connection implementation.
ClickhouseDatabase
ClickHouse ADBC Database implementation.
ClickhouseDriver
ClickHouse ADBC Driver implementation.
ClickhouseStatement
ClickHouse ADBC Statement implementation.