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