userver: userver/storages/clickhouse.hpp Source File
Loading...
Searching...
No Matches
clickhouse.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/storages/clickhouse.hpp
4/// This file is mainly for documentation purposes and inclusion of all headers
5/// that are required for working with ClickHouse µserver component.
6
7#include <userver/storages/clickhouse/cluster.hpp>
8#include <userver/storages/clickhouse/component.hpp>
9#include <userver/storages/clickhouse/execution_result.hpp>
10#include <userver/storages/clickhouse/options.hpp>
11#include <userver/storages/clickhouse/query.hpp>
12
13/// @page clickhouse_driver ClickHouse Driver
14///
15/// **Quality:** @ref QUALITY_TIERS "Golden Tier".
16///
17/// 🐙 **userver** provides access to ClickHouse databases servers via
18/// components::ClickHouse. The uClickHouse driver is asynchronous, it suspends
19/// current coroutine for carrying out network I/O.
20///
21/// @section feature Features
22/// - Connection pooling;
23/// - Variadic template query parameter passing;
24/// - Query result extraction to C++ types;
25/// - Mapping C++ types to native ClickHouse types.
26///
27/// @section info More information
28/// - For configuration see components::ClickHouse
29/// - For cluster operations see storages::clickhouse::Cluster
30/// - For mapping C++ types to Clickhouse types see @ref clickhouse_io
31///
32/// ----------
33///
34/// @htmlonly <div class="bottom-nav"> @endhtmlonly
35/// ⇦ @ref scripts/docs/en/userver/redis.md |
36/// @ref scripts/docs/en/userver/libraries/s3api.md ⇨
37/// @htmlonly </div> @endhtmlonly
38
39USERVER_NAMESPACE_BEGIN
40
41/// @brief Top namespace for uClickHouse driver.
42///
43/// For more information see @ref clickhouse_driver.
44namespace storages::clickhouse {}
45
46/// @brief uClickHouse input-output.
47///
48/// Namespace containing classes and functions for defining datatype
49/// input-output and specifying mapping between C++ and ClickHouse types.
50namespace storages::clickhouse::io {}
51
52/// @brief uClickHouse columns.
53///
54/// Namespace containing definitions of supported ClickHouse column types.
55/// For more information see @ref userver_clickhouse_types
56namespace storages::clickhouse::io::columns {}
57
58USERVER_NAMESPACE_END