userver: userver/storages/clickhouse/io/columns/float32_column.hpp Source File
Loading...
Searching...
No Matches
float32_column.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/storages/clickhouse/io/columns/float32_column.hpp
4/// @brief Float32 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 Float32 column
14class Float32Column final : public ClickhouseColumn<Float32Column> {
15public:
16 using cpp_type = float;
17 using container_type = std::vector<cpp_type>;
18
19 Float32Column(ColumnRef column);
20
21 static ColumnRef Serialize(const container_type& from);
22};
23
24} // namespace storages::clickhouse::io::columns
25
26USERVER_NAMESPACE_END