userver: userver/storages/clickhouse/io/columns/int8_column.hpp Source File
Loading...
Searching...
No Matches
int8_column.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/storages/clickhouse/io/columns/int8_column.hpp
4/// @brief Int8 column support
5/// @ingroup userver_clickhouse_types
6
7#include <userver/storages/clickhouse/io/columns/column_includes.hpp>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace storages::clickhouse::io::columns {
12
13/// @brief Represents ClickHouse UInt8 Column
14class Int8Column final : public ClickhouseColumn<Int8Column> {
15 public:
16 using cpp_type = std::int8_t;
17 using container_type = std::vector<cpp_type>;
18
19 Int8Column(ColumnRef column);
20
21 static ColumnRef Serialize(const container_type& from);
22};
23
24} // namespace storages::clickhouse::io::columns
25
26USERVER_NAMESPACE_END