sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::sparse_union_array Class Reference

#include <union_array.hpp>

Inheritance diagram for sparrow::sparse_union_array:
[legend]
Collaboration diagram for sparrow::sparse_union_array:
[legend]

Public Types

using base_type = union_array_crtp_base<sparse_union_array>
 
using type_id_buffer_type = typename base_type::type_id_buffer_type
 
- Public Types inherited from sparrow::union_array_crtp_base< sparse_union_array >
using self_type
 
using derived_type
 
using inner_value_type
 
using value_type
 
using functor_type
 
using const_functor_type
 
using iterator
 
using const_iterator
 
using const_reverse_iterator
 
using size_type
 
using type_id_buffer_type
 

Public Member Functions

template<class... Args>
requires (mpl::excludes_copy_and_move_ctor_v<sparse_union_array, Args...>)
 sparse_union_array (Args &&... args)
 
SPARROW_API sparse_union_array (arrow_proxy proxy)
 
- Public Member Functions inherited from sparrow::union_array_crtp_base< sparse_union_array >
std::optional< std::string_view > name () const
 
std::optional< std::string_view > metadata () const
 
value_type at (size_type i) const
 
value_type operator[] (size_type i) const
 
value_type operator[] (size_type i)
 
value_type front () const
 
value_type back () const
 
bool empty () const
 
size_type size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
auto type_id_map_from_child_to_type_id (R &&child_index_to_type_id) -> type_id_map
 
std::optional< std::string_view > name () const
 
std::optional< std::string_view > metadata () const
 
value_type at (size_type i) const
 
value_type operator[] (size_type i) const
 
value_type operator[] (size_type i)
 
value_type front () const
 
value_type back () const
 
bool empty () const
 
size_type size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
auto type_id_map_from_child_to_type_id (R &&child_index_to_type_id) -> type_id_map
 

Friends

class union_array_crtp_base< sparse_union_array >
 

Additional Inherited Members

- Protected Types inherited from sparrow::union_array_crtp_base< sparse_union_array >
using type_id_map
 
using children_type
 
- Protected Types inherited from sparrow::crtp_base< D >
using derived_type = D
 
- Protected Member Functions inherited from sparrow::union_array_crtp_base< sparse_union_array >
children_type make_children (arrow_proxy &proxy)
 
 union_array_crtp_base (arrow_proxy proxy)
 
 union_array_crtp_base (const self_type &rhs)
 
self_typeoperator= (const self_type &rhs)
 
 union_array_crtp_base (self_type &&rhs)=default
 
self_typeoperator= (self_type &&rhs)=default
 
arrow_proxyget_arrow_proxy ()
 
const arrow_proxyget_arrow_proxy () const
 
children_type make_children (arrow_proxy &proxy)
 
 union_array_crtp_base (arrow_proxy proxy)
 
 union_array_crtp_base (const self_type &rhs)
 
 union_array_crtp_base (self_type &&rhs)=default
 
self_typeoperator= (const self_type &rhs)
 
self_typeoperator= (self_type &&rhs)=default
 
arrow_proxyget_arrow_proxy ()
 
const arrow_proxyget_arrow_proxy () const
 
- Protected Member Functions inherited from sparrow::crtp_base< D >
derived_typederived_cast ()
 
const derived_typederived_cast () const
 
- Static Protected Member Functions inherited from sparrow::union_array_crtp_base< sparse_union_array >
static type_id_map parse_type_id_map (std::string_view format_string)
 
static type_id_map type_id_map_from_child_to_type_id (R &&child_index_to_type_id)
 
static std::string make_format_string (bool dense, std::size_t n, R &&child_index_to_type_id)
 
static type_id_map parse_type_id_map (std::string_view format_string)
 
static type_id_map type_id_map_from_child_to_type_id (R &&child_index_to_type_id)
 
static std::string make_format_string (bool dense, std::size_t n, R &&child_index_to_type_id)
 
- Protected Attributes inherited from sparrow::union_array_crtp_base< sparse_union_array >
arrow_proxy m_proxy
 
const std::uint8_t * p_type_ids
 
children_type m_children
 
std::array< std::uint8_t, 256 > m_type_id_map
 
arrow_proxy m_proxy
 
const std::uint8_t * p_type_ids
 
children_type m_children
 
std::array< std::uint8_t, 256 > m_type_id_map
 

Detailed Description

Definition at line 212 of file union_array.hpp.

Member Typedef Documentation

◆ base_type

◆ type_id_buffer_type

using sparrow::sparse_union_array::type_id_buffer_type = typename base_type::type_id_buffer_type

Definition at line 217 of file union_array.hpp.

Constructor & Destructor Documentation

◆ sparse_union_array() [1/2]

template<class... Args>
requires (mpl::excludes_copy_and_move_ctor_v<sparse_union_array, Args...>)
sparrow::sparse_union_array::sparse_union_array ( Args &&... args)
inlineexplicit

Definition at line 221 of file union_array.hpp.

Here is the caller graph for this function:

◆ sparse_union_array() [2/2]

SPARROW_API sparrow::sparse_union_array::sparse_union_array ( arrow_proxy proxy)
explicit

Friends And Related Symbol Documentation

◆ union_array_crtp_base< sparse_union_array >

friend class union_array_crtp_base< sparse_union_array >
friend

Definition at line 247 of file union_array.hpp.


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