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

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

Detailed Description

template<typename ColumnType>
class storages::clickhouse::io::columns::ColumnIterator< ColumnType >

Forward-iterator for iterating over column of type ColumnType.

Definition at line 23 of file column_iterator.hpp.

Public Types

enum class  IteratorPosition {
  kBegin ,
  kEnd
}
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = typename ColumnType::cpp_type
 
using reference = value_type&
 
using pointer = value_type*
 

Public Member Functions

 ColumnIterator (ColumnRef column)
 
ColumnIterator operator++ (int)
 
ColumnIteratoroperator++ ()
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const ColumnIterator &other) const
 
bool operator!= (const ColumnIterator &other) const
 

Static Public Member Functions

static ColumnIterator End (ColumnRef column)
 

Member Typedef Documentation

◆ difference_type

template<typename ColumnType >
using storages::clickhouse::io::columns::ColumnIterator< ColumnType >::difference_type = std::ptrdiff_t

Definition at line 26 of file column_iterator.hpp.

◆ iterator_category

template<typename ColumnType >
using storages::clickhouse::io::columns::ColumnIterator< ColumnType >::iterator_category = std::forward_iterator_tag

Definition at line 25 of file column_iterator.hpp.

◆ pointer

template<typename ColumnType >
using storages::clickhouse::io::columns::ColumnIterator< ColumnType >::pointer = value_type*

Definition at line 29 of file column_iterator.hpp.

◆ reference

template<typename ColumnType >
using storages::clickhouse::io::columns::ColumnIterator< ColumnType >::reference = value_type&

Definition at line 28 of file column_iterator.hpp.

◆ value_type

template<typename ColumnType >
using storages::clickhouse::io::columns::ColumnIterator< ColumnType >::value_type = typename ColumnType::cpp_type

Definition at line 27 of file column_iterator.hpp.

Member Enumeration Documentation

◆ IteratorPosition

template<typename ColumnType >
enum class storages::clickhouse::io::columns::ColumnIterator::IteratorPosition
strong

Definition at line 44 of file column_iterator.hpp.

Constructor & Destructor Documentation

◆ ColumnIterator()

template<typename ColumnType >
storages::clickhouse::io::columns::ColumnIterator< ColumnType >::ColumnIterator ( ColumnRef column)

Definition at line 88 of file column_iterator.hpp.

Member Function Documentation

◆ End()

template<typename ColumnType >
ColumnIterator< ColumnType > storages::clickhouse::io::columns::ColumnIterator< ColumnType >::End ( ColumnRef column)
static

Definition at line 92 of file column_iterator.hpp.

◆ operator!=()

template<typename ColumnType >
bool storages::clickhouse::io::columns::ColumnIterator< ColumnType >::operator!= ( const ColumnIterator< ColumnType > & other) const

Definition at line 130 of file column_iterator.hpp.

◆ operator*()

template<typename ColumnType >
ColumnIterator< ColumnType >::reference storages::clickhouse::io::columns::ColumnIterator< ColumnType >::operator* ( ) const

Definition at line 115 of file column_iterator.hpp.

◆ operator++() [1/2]

template<typename ColumnType >
ColumnIterator< ColumnType > & storages::clickhouse::io::columns::ColumnIterator< ColumnType >::operator++ ( )

Definition at line 109 of file column_iterator.hpp.

◆ operator++() [2/2]

template<typename ColumnType >
ColumnIterator< ColumnType > storages::clickhouse::io::columns::ColumnIterator< ColumnType >::operator++ ( int )

Definition at line 101 of file column_iterator.hpp.

◆ operator->()

template<typename ColumnType >
ColumnIterator< ColumnType >::pointer storages::clickhouse::io::columns::ColumnIterator< ColumnType >::operator-> ( ) const

Definition at line 120 of file column_iterator.hpp.

◆ operator==()

template<typename ColumnType >
bool storages::clickhouse::io::columns::ColumnIterator< ColumnType >::operator== ( const ColumnIterator< ColumnType > & other) const

Definition at line 125 of file column_iterator.hpp.

Friends And Related Symbol Documentation

◆ storages::clickhouse::io::IteratorsTester

template<typename ColumnType >
friend class storages::clickhouse::io::IteratorsTester
friend

Definition at line 46 of file column_iterator.hpp.


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