sparrow 0.9.0
|
#include <union_array.hpp>
Public Types | |
using | self_type = union_array_crtp_base<DERIVED> |
using | derived_type = DERIVED |
using | inner_value_type = array_traits::inner_value_type |
using | value_type = array_traits::const_reference |
using | functor_type = detail::layout_bracket_functor<derived_type, value_type> |
using | const_functor_type = detail::layout_bracket_functor<const derived_type, value_type> |
using | iterator = functor_index_iterator<functor_type> |
using | const_iterator = functor_index_iterator<const_functor_type> |
using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
using | size_type = std::size_t |
using | type_id_buffer_type = u8_buffer<std::uint8_t> |
Public Member Functions | |
std::optional< std::string_view > | name () const |
std::optional< key_value_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 |
void | zero_null_values (const inner_value_type &value) |
Sets all null values to the specified value. | |
template<std::ranges::input_range R> | |
auto | type_id_map_from_child_to_type_id (R &&child_index_to_type_id) -> type_id_map |
Protected Types | |
using | type_id_map = std::array<std::uint8_t, 256> |
using | children_type = std::vector<cloning_ptr<array_wrapper>> |
![]() | |
using | derived_type |
Protected Member Functions | |
children_type | make_children (arrow_proxy &proxy) |
union_array_crtp_base (arrow_proxy proxy) | |
union_array_crtp_base (const self_type &rhs) | |
self_type & | operator= (const self_type &rhs) |
union_array_crtp_base (self_type &&rhs)=default | |
self_type & | operator= (self_type &&rhs)=default |
arrow_proxy & | get_arrow_proxy () |
const arrow_proxy & | get_arrow_proxy () const |
![]() | |
derived_type & | derived_cast () |
const derived_type & | derived_cast () const |
Static Protected Member Functions | |
static type_id_map | parse_type_id_map (std::string_view format_string) |
template<std::ranges::input_range R> | |
static type_id_map | type_id_map_from_child_to_type_id (R &&child_index_to_type_id) |
template<std::ranges::input_range R> requires (std::convertible_to<std::ranges::range_value_t<R>, std::uint8_t>) | |
static std::string | make_format_string (bool dense, std::size_t n, R &&child_index_to_type_id) |
Protected Attributes | |
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 |
Friends | |
class | detail::array_access |
Definition at line 77 of file union_array.hpp.
|
protected |
Definition at line 143 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::const_functor_type = detail::layout_bracket_functor<const derived_type, value_type> |
Definition at line 86 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::const_iterator = functor_index_iterator<const_functor_type> |
Definition at line 88 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 89 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::derived_type = DERIVED |
Definition at line 82 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::functor_type = detail::layout_bracket_functor<derived_type, value_type> |
Definition at line 85 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::inner_value_type = array_traits::inner_value_type |
Definition at line 83 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::iterator = functor_index_iterator<functor_type> |
Definition at line 87 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::self_type = union_array_crtp_base<DERIVED> |
Definition at line 81 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::size_type = std::size_t |
Definition at line 90 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::type_id_buffer_type = u8_buffer<std::uint8_t> |
Definition at line 92 of file union_array.hpp.
|
protected |
Definition at line 133 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::value_type = array_traits::const_reference |
Definition at line 84 of file union_array.hpp.
|
explicitprotected |
|
protected |
Definition at line 449 of file union_array.hpp.
|
protecteddefault |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
Definition at line 519 of file union_array.hpp.
|
nodiscard |
Definition at line 525 of file union_array.hpp.
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
Definition at line 555 of file union_array.hpp.
|
nodiscardprotected |
Definition at line 428 of file union_array.hpp.
|
nodiscardprotected |
Definition at line 434 of file union_array.hpp.
|
protected |
Definition at line 567 of file union_array.hpp.
|
staticprotected |
Definition at line 386 of file union_array.hpp.
|
nodiscard |
Definition at line 422 of file union_array.hpp.
|
nodiscard |
Definition at line 416 of file union_array.hpp.
|
protected |
|
protecteddefault |
|
nodiscard |
Definition at line 477 of file union_array.hpp.
|
nodiscard |
|
staticprotected |
|
nodiscard |
Definition at line 531 of file union_array.hpp.
|
nodiscard |
Definition at line 537 of file union_array.hpp.
|
nodiscard |
|
staticprotected |
auto sparrow::union_array_crtp_base< DERIVED >::type_id_map_from_child_to_type_id | ( | R && | child_index_to_type_id | ) | -> type_id_map |
Definition at line 361 of file union_array.hpp.
|
inline |
Sets all null values to the specified value.
This operation modifies the underlying data values but not the validity bitmap. The bitmap remains unchanged, so the elements will still be considered null.
value | The value to assign to null elements |
Definition at line 126 of file union_array.hpp.
|
friend |
Definition at line 164 of file union_array.hpp.
|
protected |
Definition at line 159 of file union_array.hpp.
|
protected |
Definition at line 157 of file union_array.hpp.
|
protected |
Definition at line 162 of file union_array.hpp.
|
protected |
Definition at line 158 of file union_array.hpp.