sparrow 0.6.0
Loading...
Searching...
No Matches
sparrow::decimal_array< T > Class Template Reference

#include <decimal_array.hpp>

Inheritance diagram for sparrow::decimal_array< T >:
[legend]
Collaboration diagram for sparrow::decimal_array< T >:
[legend]

Public Types

using self_type = decimal_array<T>
 
using base_type = array_bitmap_base<self_type>
 
using inner_types = array_inner_types<self_type>
 
using inner_value_type = typename inner_types::inner_value_type
 
using inner_reference = typename inner_types::inner_reference
 
using inner_const_reference = typename inner_types::inner_const_reference
 
using storage_type = typename T::integer_type
 
using bitmap_type = typename base_type::bitmap_type
 
using bitmap_const_reference = typename base_type::bitmap_const_reference
 
using const_bitmap_iterator = typename base_type::const_bitmap_iterator
 
using const_bitmap_range = typename base_type::const_bitmap_range
 
using value_type = nullable<inner_value_type>
 
using const_reference = nullable<inner_const_reference, bitmap_const_reference>
 
using size_type = typename base_type::size_type
 
using difference_type = typename base_type::difference_type
 
using iterator_tag = typename base_type::iterator_tag
 
using value_iterator = typename inner_types::value_iterator
 
using const_value_iterator = typename inner_types::const_value_iterator
 
- Public Types inherited from sparrow::array_bitmap_base_impl< D, false >
using base_type
 
using size_type
 
using bitmap_type
 
using bitmap_iterator
 
using const_bitmap_iterator
 
using bitmap_const_reference
 
using difference_type
 
using const_bitmap_range
 
using iterator_tag
 

Public Member Functions

 decimal_array (arrow_proxy)
 
template<class... Args>
requires (mpl::excludes_copy_and_move_ctor_v<decimal_array<T>, Args...>)
 decimal_array (Args &&... args)
 
template<std::ranges::input_range VALUE_RANGE, validity_bitmap_input VALIDITY_RANGE, input_metadata_container METADATA_RANGE>
requires std::convertible_to<std::ranges::range_value_t<VALUE_RANGE>, typename T::integer_type>
arrow_proxy create_proxy (VALUE_RANGE &&range, VALIDITY_RANGE &&bitmaps, std::size_t precision, int scale, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata)
 
template<std::ranges::input_range NULLABLE_VALUE_RANGE, input_metadata_container METADATA_RANGE>
requires std::is_same_v<std::ranges::range_value_t<NULLABLE_VALUE_RANGE>, nullable<typename T::integer_type>>
arrow_proxy create_proxy (NULLABLE_VALUE_RANGE &&range, std::size_t precision, int scale, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata)
 
- Public Member Functions inherited from sparrow::array_bitmap_base_impl< D, false >
auto insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable
 
auto insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable
 

Friends

class detail::layout_value_functor< self_type, inner_value_type >
 
class detail::layout_value_functor< const self_type, inner_value_type >
 

Additional Inherited Members

- Protected Member Functions inherited from sparrow::array_bitmap_base_impl< D, false >
 array_bitmap_base_impl (arrow_proxy)
 
 array_bitmap_base_impl (const array_bitmap_base_impl &)
 
array_bitmap_base_imploperator= (const array_bitmap_base_impl &)
 
 array_bitmap_base_impl (array_bitmap_base_impl &&) noexcept=default
 
array_bitmap_base_imploperator= (array_bitmap_base_impl &&) noexcept=default
 
bitmap_typeget_bitmap ()
 
const bitmap_typeget_bitmap () const
 
void resize_bitmap (size_type new_length, bool value)
 
bitmap_iterator insert_bitmap (const_bitmap_iterator pos, bool value, size_type count)
 
bitmap_iterator insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) is_mutable
 
bitmap_iterator erase_bitmap (const_bitmap_iterator pos, size_type count)
 
void update ()
 
non_owning_dynamic_bitset< uint8_t > get_non_owning_dynamic_bitset ()
 
bitmap_type make_bitmap ()
 
 array_bitmap_base_impl (arrow_proxy)
 
 array_bitmap_base_impl (const array_bitmap_base_impl &)
 
 array_bitmap_base_impl (array_bitmap_base_impl &&) noexcept=default
 
array_bitmap_base_imploperator= (const array_bitmap_base_impl &)
 
array_bitmap_base_imploperator= (array_bitmap_base_impl &&) noexcept=default
 
bitmap_typeget_bitmap ()
 
const bitmap_typeget_bitmap () const
 
void resize_bitmap (size_type new_length, bool value)
 
bitmap_iterator insert_bitmap (const_bitmap_iterator pos, bool value, size_type count)
 
bitmap_iterator insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) is_mutable
 
bitmap_iterator erase_bitmap (const_bitmap_iterator pos, size_type count)
 
void update ()
 
non_owning_dynamic_bitset< uint8_t > get_non_owning_dynamic_bitset ()
 
bitmap_type make_bitmap ()
 

Detailed Description

template<decimal_type T>
class sparrow::decimal_array< T >

Definition at line 111 of file decimal_array.hpp.

Member Typedef Documentation

◆ base_type

template<decimal_type T>
using sparrow::decimal_array< T >::base_type = array_bitmap_base<self_type>

Definition at line 116 of file decimal_array.hpp.

◆ bitmap_const_reference

template<decimal_type T>
using sparrow::decimal_array< T >::bitmap_const_reference = typename base_type::bitmap_const_reference

Definition at line 132 of file decimal_array.hpp.

◆ bitmap_type

template<decimal_type T>
using sparrow::decimal_array< T >::bitmap_type = typename base_type::bitmap_type

Definition at line 131 of file decimal_array.hpp.

◆ const_bitmap_iterator

template<decimal_type T>
using sparrow::decimal_array< T >::const_bitmap_iterator = typename base_type::const_bitmap_iterator

Definition at line 133 of file decimal_array.hpp.

◆ const_bitmap_range

template<decimal_type T>
using sparrow::decimal_array< T >::const_bitmap_range = typename base_type::const_bitmap_range

Definition at line 134 of file decimal_array.hpp.

◆ const_reference

template<decimal_type T>
using sparrow::decimal_array< T >::const_reference = nullable<inner_const_reference, bitmap_const_reference>

Definition at line 137 of file decimal_array.hpp.

◆ const_value_iterator

template<decimal_type T>
using sparrow::decimal_array< T >::const_value_iterator = typename inner_types::const_value_iterator

Definition at line 144 of file decimal_array.hpp.

◆ difference_type

template<decimal_type T>
using sparrow::decimal_array< T >::difference_type = typename base_type::difference_type

Definition at line 140 of file decimal_array.hpp.

◆ inner_const_reference

template<decimal_type T>
using sparrow::decimal_array< T >::inner_const_reference = typename inner_types::inner_const_reference

Definition at line 121 of file decimal_array.hpp.

◆ inner_reference

template<decimal_type T>
using sparrow::decimal_array< T >::inner_reference = typename inner_types::inner_reference

Definition at line 120 of file decimal_array.hpp.

◆ inner_types

template<decimal_type T>
using sparrow::decimal_array< T >::inner_types = array_inner_types<self_type>

Definition at line 118 of file decimal_array.hpp.

◆ inner_value_type

template<decimal_type T>
using sparrow::decimal_array< T >::inner_value_type = typename inner_types::inner_value_type

Definition at line 119 of file decimal_array.hpp.

◆ iterator_tag

template<decimal_type T>
using sparrow::decimal_array< T >::iterator_tag = typename base_type::iterator_tag

Definition at line 141 of file decimal_array.hpp.

◆ self_type

template<decimal_type T>
using sparrow::decimal_array< T >::self_type = decimal_array<T>

Definition at line 115 of file decimal_array.hpp.

◆ size_type

template<decimal_type T>
using sparrow::decimal_array< T >::size_type = typename base_type::size_type

Definition at line 139 of file decimal_array.hpp.

◆ storage_type

template<decimal_type T>
using sparrow::decimal_array< T >::storage_type = typename T::integer_type

Definition at line 124 of file decimal_array.hpp.

◆ value_iterator

template<decimal_type T>
using sparrow::decimal_array< T >::value_iterator = typename inner_types::value_iterator

Definition at line 143 of file decimal_array.hpp.

◆ value_type

template<decimal_type T>
using sparrow::decimal_array< T >::value_type = nullable<inner_value_type>

Definition at line 136 of file decimal_array.hpp.

Constructor & Destructor Documentation

◆ decimal_array() [1/2]

template<decimal_type T>
sparrow::decimal_array< T >::decimal_array ( arrow_proxy proxy)
explicit

Definition at line 230 of file decimal_array.hpp.

◆ decimal_array() [2/2]

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

Definition at line 150 of file decimal_array.hpp.

Member Function Documentation

◆ create_proxy() [1/2]

template<decimal_type T>
template<std::ranges::input_range NULLABLE_VALUE_RANGE, input_metadata_container METADATA_RANGE>
requires std::is_same_v<std::ranges::range_value_t<NULLABLE_VALUE_RANGE>, nullable<typename T::integer_type>>
arrow_proxy sparrow::decimal_array< T >::create_proxy ( NULLABLE_VALUE_RANGE && range,
std::size_t precision,
int scale,
std::optional< std::string_view > name,
std::optional< METADATA_RANGE > metadata )

Definition at line 285 of file decimal_array.hpp.

◆ create_proxy() [2/2]

template<decimal_type T>
template<std::ranges::input_range VALUE_RANGE, validity_bitmap_input VALIDITY_RANGE, input_metadata_container METADATA_RANGE>
requires std::convertible_to<std::ranges::range_value_t<VALUE_RANGE>, typename T::integer_type>
arrow_proxy sparrow::decimal_array< T >::create_proxy ( VALUE_RANGE && range,
VALIDITY_RANGE && bitmaps,
std::size_t precision,
int scale,
std::optional< std::string_view > name,
std::optional< METADATA_RANGE > metadata )

Definition at line 262 of file decimal_array.hpp.

Friends And Related Symbol Documentation

◆ detail::layout_value_functor< const self_type, inner_value_type >

template<decimal_type T>
friend class detail::layout_value_functor< const self_type, inner_value_type >
friend

Definition at line 217 of file decimal_array.hpp.

◆ detail::layout_value_functor< self_type, inner_value_type >

template<decimal_type T>
friend class detail::layout_value_functor< self_type, inner_value_type >
friend

Definition at line 217 of file decimal_array.hpp.


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