userver: storages::clickhouse::io::columns Namespace Reference
Loading...
Searching...
No Matches
storages::clickhouse::io::columns Namespace Reference

Detailed Description

uClickHouse columns.

Namespace containing definitions of supported ClickHouse column types. For more information see Clickhouse types

Classes

class  ArrayColumn
 Represents ClickHouse Array(T) column, where T is a ClickhouseColumn as well. More...
 
struct  ArrayColumnMeta
 
class  ClickhouseColumn
 Base class for every typed ClickHouse column. To add new columns one should derive from this class, define types aliases: More...
 
class  ColumnIterator
 Forward-iterator for iterating over column of type ColumnType. More...
 
class  DateTime64Column
 Helper class for instantiating DateTime64 columns. More...
 
class  DateTime64Column< Precision, Duration< Rep, Period > >
 
class  DateTimeColumn
 Represents ClickHouse DateTime column. More...
 
class  Float32Column
 Represents Clickhouse Float32 column. More...
 
class  Float64Column
 Represents Clickhouse Float64 column. More...
 
class  Int32Column
 Represents Clickhouse Int32 column. More...
 
class  Int64Column
 Represents ClickHouse Int64 column. More...
 
class  Int8Column
 Represents ClickHouse UInt8 Column. More...
 
class  MismatchedEndiannessUuidColumn
 Legacy broken ClickHouse UUID column representation. More...
 
class  NullableColumn
 Represents ClickHouse Nullable(T) column, where T is a ClickhouseColumn as well. More...
 
struct  NullableColumnMeta
 
class  StringColumn
 Represents ClickHouse String column. More...
 
class  UInt16Column
 Represents Clickhouse UInt16 column. More...
 
class  UInt32Column
 Represents ClickHouse UInt32 column. More...
 
class  UInt64Column
 Represents ClickHouse UInt64 column. More...
 
class  UInt8Column
 Represents ClickHouse UInt8 Column. More...
 
class  UuidColumn
 
class  UuidRfc4122Column
 Represents ClickHouse UUID column. More...
 

Typedefs

using ColumnRef = std::shared_ptr<::clickhouse::Column>
 
using DateTime64ColumnMilli = DateTime64Column<3, std::chrono::milliseconds>
 Represents ClickHouse DateTime64(3) column.
 
using DateTime64ColumnMicro = DateTime64Column<6, std::chrono::microseconds>
 Represents ClickHouse DateTime64(6) column.
 
using DateTime64ColumnNano = DateTime64Column<9, std::chrono::nanoseconds>
 Represents ClickHouse DateTime64(9) column.
 

Functions

ColumnRef ConvertMetaToColumn (ArrayColumnMeta &&meta)
 
ColumnRef ExtractArrayItem (const ColumnRef &column, std::size_t ind)
 
ColumnRef GetWrappedColumn (clickhouse::impl::BlockWrapper &block, size_t ind)
 
void AppendWrappedColumn (clickhouse::impl::BlockWrapper &block, ColumnRef &&column, std::string_view name, size_t ind)
 
size_t GetColumnSize (const ColumnRef &column)
 
NullableColumnMeta ExtractNullableMeta (const ColumnRef &column)
 
ColumnRef ConvertMetaToColumn (NullableColumnMeta &&meta)
 

Typedef Documentation

◆ ColumnRef

using storages::clickhouse::io::columns::ColumnRef = std::shared_ptr<::clickhouse::Column>

Definition at line 16 of file column_wrapper.hpp.

◆ DateTime64ColumnMicro

Represents ClickHouse DateTime64(6) column.

Definition at line 46 of file datetime64_column.hpp.

◆ DateTime64ColumnMilli

Represents ClickHouse DateTime64(3) column.

Definition at line 43 of file datetime64_column.hpp.

◆ DateTime64ColumnNano

Represents ClickHouse DateTime64(9) column.

Definition at line 49 of file datetime64_column.hpp.