template<typename ColumnType>
class storages::clickhouse::io::columns::ClickhouseColumn< ColumnType >
Base class for every typed ClickHouse column. To add new columns one should derive from this class, define types aliases:
cpp_type
- to what C++ types are column values mapped,
container_type
(being std::vector<cpp_type>
)
and implement 3 methods:
ctor(ColumnRef)
- column constructor,
static ColumnRef Serialize(const container_type&)
- constructs a column from C++ container,
cpp_type ColumnIterator<YourColumnType>::DataHolder::Get()
see implementation of any of the existing columns for better understanding.
Definition at line 28 of file base_column.hpp.