userver: storages::clickhouse::io::columns::ArrayColumn< T > Class Template Reference
Loading...
Searching...
No Matches
storages::clickhouse::io::columns::ArrayColumn< T > Class Template Referencefinal

#include <userver/storages/clickhouse/io/columns/array_column.hpp>

Detailed Description

template<typename T>
class storages::clickhouse::io::columns::ArrayColumn< T >

Represents ClickHouse Array(T) column, where T is a ClickhouseColumn as well.

Definition at line 27 of file array_column.hpp.

+ Inheritance diagram for storages::clickhouse::io::columns::ArrayColumn< T >:

Classes

class  ArrayDataHolder
 

Public Types

using cpp_type = std::vector<typename T::cpp_type>
 
using container_type = std::vector<cpp_type>
 
using iterator_data = ArrayDataHolder
 
using iterator
 

Public Member Functions

 ArrayColumn (ColumnRef column)
 
iterator begin () const
 
iterator end () const
 
size_t Size () const
 

Static Public Member Functions

static ColumnRef Serialize (const container_type &from)
 
static cpp_type RetrieveElement (const ColumnRef &ref, std::size_t ind)
 

Member Typedef Documentation

◆ container_type

template<typename T >
using storages::clickhouse::io::columns::ArrayColumn< T >::container_type = std::vector<cpp_type>

Definition at line 30 of file array_column.hpp.

◆ cpp_type

template<typename T >
using storages::clickhouse::io::columns::ArrayColumn< T >::cpp_type = std::vector<typename T::cpp_type>

Definition at line 29 of file array_column.hpp.

◆ iterator

Definition at line 30 of file base_column.hpp.

◆ iterator_data

template<typename T >
using storages::clickhouse::io::columns::ArrayColumn< T >::iterator_data = ArrayDataHolder

Definition at line 52 of file array_column.hpp.

Constructor & Destructor Documentation

◆ ArrayColumn()

template<typename T >
storages::clickhouse::io::columns::ArrayColumn< T >::ArrayColumn ( ColumnRef column)

Definition at line 107 of file array_column.hpp.

Member Function Documentation

◆ begin()

Definition at line 34 of file base_column.hpp.

◆ end()

Definition at line 36 of file base_column.hpp.

◆ RetrieveElement()

template<typename T >
ArrayColumn< T >::cpp_type storages::clickhouse::io::columns::ArrayColumn< T >::RetrieveElement ( const ColumnRef & ref,
std::size_t ind )
static

Definition at line 137 of file array_column.hpp.

◆ Serialize()

template<typename T >
ColumnRef storages::clickhouse::io::columns::ArrayColumn< T >::Serialize ( const container_type & from)
static

Definition at line 111 of file array_column.hpp.

◆ Size()

size_t storages::clickhouse::io::columns::ClickhouseColumn< ArrayColumn< T > >::Size ( ) const
inlineinherited

Definition at line 38 of file base_column.hpp.


The documentation for this class was generated from the following file: