|
sparrow 2.2.1
C++20 idiomatic APIs for the Apache Arrow Columnar Format
|
#include <fixed_width_binary_array.hpp>
Public Types | |
| using | self_type = fixed_width_binary_array_impl<T, CR, Ext> |
| using | base_type = mutable_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 | bitmap_type = typename base_type::bitmap_type |
| using | bitmap_reference = typename base_type::bitmap_reference |
| using | bitmap_const_reference = typename base_type::bitmap_const_reference |
| using | const_bitmap_range = typename base_type::const_bitmap_range |
| using | value_type = nullable<inner_value_type> |
| using | reference = nullable<inner_reference, bitmap_reference> |
| 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 | data_iterator = typename inner_types::data_iterator |
| using | const_data_iterator = typename inner_types::const_data_iterator |
| using | data_value_type = typename inner_types::data_value_type |
| using | value_iterator = typename inner_types::value_iterator |
| using | const_value_iterator = typename inner_types::const_value_iterator |
| using | functor_type = typename inner_types::functor_type |
| using | const_functor_type = typename inner_types::const_functor_type |
Public Types inherited from sparrow::array_bitmap_base_impl< D, true > | |
| using | base_type |
| using | size_type |
| using | bitmap_type |
| using | const_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 | |
| fixed_width_binary_array_impl (arrow_proxy) | |
| Constructs fixed-width binary array from Arrow proxy. | |
| fixed_width_binary_array_impl (const self_type &) | |
| fixed_width_binary_array_impl (self_type &&) noexcept=default | |
| Move constructor. | |
| self_type & | operator= (const self_type &) |
| self_type & | operator= (self_type &&) noexcept=default |
| template<class... ARGS> requires (mpl::excludes_copy_and_move_ctor_v<fixed_width_binary_array_impl<T, CR, Ext>, ARGS...>) | |
| fixed_width_binary_array_impl (ARGS &&... args) | |
| Generic constructor for creating fixed-width binary array. | |
| constexpr inner_reference | value (size_type i) |
| Gets mutable reference to element at specified index. | |
| constexpr inner_const_reference | value (size_type i) const |
| Gets const reference to element at specified index. | |
| template<std::ranges::input_range R, validity_bitmap_input VB, input_metadata_container METADATA_RANGE> requires ( std::ranges::input_range<std::ranges::range_value_t<R>> && // a range of ranges mpl::char_like<std::ranges::range_value_t<std::ranges::range_value_t<R>>> // inner range is a // range of char-like ) | |
| arrow_proxy | create_proxy (R &&values, VB &&validity_input, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata) |
| template<std::ranges::input_range R, input_metadata_container METADATA_RANGE> requires ( std::ranges::input_range<std::ranges::range_value_t<R>> && // a range of ranges mpl::char_like<std::ranges::range_value_t<std::ranges::range_value_t<R>>> // inner range is a // range of char-like ) | |
| arrow_proxy | create_proxy (R &&values, bool nullable, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata) |
| template<std::ranges::input_range NULLABLE_RANGE, input_metadata_container METADATA_RANGE> requires mpl::is_type_instance_of_v<std::ranges::range_value_t<NULLABLE_RANGE>, nullable> && std::ranges::input_range<typename std::ranges::range_value_t<NULLABLE_RANGE>::value_type> && std::is_same_v< std::ranges::range_value_t<typename std::ranges::range_value_t<NULLABLE_RANGE>::value_type>, byte_t> | |
| arrow_proxy | create_proxy (NULLABLE_RANGE &&range, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata) |
| template<std::ranges::sized_range U> requires mpl::convertible_ranges<U, T> | |
| constexpr auto | insert_value (const_value_iterator pos, U value, size_type count) -> value_iterator |
| template<typename InputIt> requires std::input_iterator<InputIt> && mpl::convertible_ranges<typename std::iterator_traits<InputIt>::value_type, T> | |
| constexpr auto | insert_values (const_value_iterator pos, InputIt first, InputIt last) -> value_iterator |
Public Member Functions inherited from sparrow::array_bitmap_base_impl< D, true > | |
| constexpr auto | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable |
| constexpr auto | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable |
Friends | |
| class | fixed_width_binary_reference< self_type > |
Additional Inherited Members | |
Protected Member Functions inherited from sparrow::array_bitmap_base_impl< D, true > | |
| array_bitmap_base_impl (arrow_proxy proxy) | |
| Constructs array bitmap base from Arrow proxy. | |
| constexpr | array_bitmap_base_impl (const array_bitmap_base_impl &) |
| Copy constructor. | |
| constexpr array_bitmap_base_impl & | operator= (const array_bitmap_base_impl &) |
| Copy assignment operator. | |
| constexpr | array_bitmap_base_impl (array_bitmap_base_impl &&) noexcept=default |
| constexpr array_bitmap_base_impl & | operator= (array_bitmap_base_impl &&) noexcept=default |
| constexpr bitmap_type & | get_bitmap () |
| Gets mutable reference to the validity bitmap. | |
| constexpr const const_bitmap_type & | get_bitmap () const |
| Gets const reference to the validity bitmap. | |
| constexpr void | resize_bitmap (size_type new_length, bool value) |
| Resizes the validity bitmap to accommodate new array length. | |
| constexpr bitmap_iterator | insert_bitmap (const_bitmap_iterator pos, bool value, size_type count) |
| Inserts validity bits at specified position. | |
| constexpr bitmap_iterator | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) is_mutable |
| Inserts range of validity bits at specified position. | |
| constexpr bitmap_iterator | erase_bitmap (const_bitmap_iterator pos, size_type count) |
| Erases validity bits starting at specified position. | |
| array_bitmap_base_impl (arrow_proxy proxy) | |
| Constructs array bitmap base from Arrow proxy. | |
| constexpr | array_bitmap_base_impl (const array_bitmap_base_impl &) |
| Copy constructor. | |
| constexpr | array_bitmap_base_impl (array_bitmap_base_impl &&) noexcept=default |
| constexpr array_bitmap_base_impl & | operator= (const array_bitmap_base_impl &) |
| Copy assignment operator. | |
| constexpr array_bitmap_base_impl & | operator= (array_bitmap_base_impl &&) noexcept=default |
| constexpr bitmap_type & | get_bitmap () |
| Gets mutable reference to the validity bitmap. | |
| constexpr const const_bitmap_type & | get_bitmap () const |
| Gets const reference to the validity bitmap. | |
| constexpr void | resize_bitmap (size_type new_length, bool value) |
| Resizes the validity bitmap to accommodate new array length. | |
| constexpr bitmap_iterator | insert_bitmap (const_bitmap_iterator pos, bool value, size_type count) |
| Inserts validity bits at specified position. | |
| constexpr bitmap_iterator | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) is_mutable |
| Inserts range of validity bits at specified position. | |
| constexpr bitmap_iterator | erase_bitmap (const_bitmap_iterator pos, size_type count) |
| Erases validity bits starting at specified position. | |
Definition at line 133 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::base_type = mutable_array_bitmap_base<self_type> |
Definition at line 147 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::bitmap_const_reference = typename base_type::bitmap_const_reference |
Definition at line 156 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::bitmap_reference = typename base_type::bitmap_reference |
Definition at line 155 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::bitmap_type = typename base_type::bitmap_type |
Definition at line 154 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::const_bitmap_range = typename base_type::const_bitmap_range |
Definition at line 157 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::const_data_iterator = typename inner_types::const_data_iterator |
Definition at line 168 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::const_functor_type = typename inner_types::const_functor_type |
Definition at line 175 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::const_reference = nullable<inner_const_reference, bitmap_const_reference> |
Definition at line 161 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::const_value_iterator = typename inner_types::const_value_iterator |
Definition at line 172 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::data_iterator = typename inner_types::data_iterator |
Definition at line 166 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::data_value_type = typename inner_types::data_value_type |
Definition at line 169 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::difference_type = typename base_type::difference_type |
Definition at line 164 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::functor_type = typename inner_types::functor_type |
Definition at line 174 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::inner_const_reference = typename inner_types::inner_const_reference |
Definition at line 152 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::inner_reference = typename inner_types::inner_reference |
Definition at line 151 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::inner_types = array_inner_types<self_type> |
Definition at line 149 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::inner_value_type = typename inner_types::inner_value_type |
Definition at line 150 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::iterator_tag = typename base_type::iterator_tag |
Definition at line 165 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::reference = nullable<inner_reference, bitmap_reference> |
Definition at line 160 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::self_type = fixed_width_binary_array_impl<T, CR, Ext> |
Definition at line 146 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::size_type = typename base_type::size_type |
Definition at line 163 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::value_iterator = typename inner_types::value_iterator |
Definition at line 171 of file fixed_width_binary_array.hpp.
| using sparrow::fixed_width_binary_array_impl< T, CR, Ext >::value_type = nullable<inner_value_type> |
Definition at line 159 of file fixed_width_binary_array.hpp.
|
explicit |
Constructs fixed-width binary array from Arrow proxy.
| proxy | Arrow proxy containing fixed-width binary array data and schema |
Definition at line 669 of file fixed_width_binary_array.hpp.
| sparrow::fixed_width_binary_array_impl< T, CR, Ext >::fixed_width_binary_array_impl | ( | const self_type & | rhs | ) |
Definition at line 677 of file fixed_width_binary_array.hpp.
|
defaultnoexcept |
Move constructor.
|
inline |
Generic constructor for creating fixed-width binary array.
Creates a fixed-width binary array from various input types. The arguments are forwarded to compatible create_proxy() functions based on their types.
| ARGS | Parameter pack for constructor arguments |
| args | Constructor arguments (data, element_size, validity, metadata, etc.) |
Definition at line 217 of file fixed_width_binary_array.hpp.
| arrow_proxy sparrow::fixed_width_binary_array_impl< T, CR, Ext >::create_proxy | ( | NULLABLE_RANGE && | range, |
| std::optional< std::string_view > | name, | ||
| std::optional< METADATA_RANGE > | metadata ) |
Definition at line 824 of file fixed_width_binary_array.hpp.
| arrow_proxy sparrow::fixed_width_binary_array_impl< T, CR, Ext >::create_proxy | ( | R && | values, |
| bool | nullable, | ||
| std::optional< std::string_view > | name, | ||
| std::optional< METADATA_RANGE > | metadata ) |
Definition at line 782 of file fixed_width_binary_array.hpp.
| arrow_proxy sparrow::fixed_width_binary_array_impl< T, CR, Ext >::create_proxy | ( | R && | values, |
| VB && | validity_input, | ||
| std::optional< std::string_view > | name, | ||
| std::optional< METADATA_RANGE > | metadata ) |
Definition at line 751 of file fixed_width_binary_array.hpp.
|
constexpr |
Definition at line 997 of file fixed_width_binary_array.hpp.
|
constexpr |
Definition at line 1019 of file fixed_width_binary_array.hpp.
| fixed_width_binary_array_impl< T, CR, Ext > & sparrow::fixed_width_binary_array_impl< T, CR, Ext >::operator= | ( | const self_type & | rhs | ) |
Definition at line 686 of file fixed_width_binary_array.hpp.
|
defaultnoexcept |
|
nodiscardconstexpr |
Gets mutable reference to element at specified index.
| i | Index of the element to access |
Definition at line 933 of file fixed_width_binary_array.hpp.
|
nodiscardconstexpr |
Gets const reference to element at specified index.
| i | Index of the element to access |
Definition at line 940 of file fixed_width_binary_array.hpp.
|
friend |
Definition at line 655 of file fixed_width_binary_array.hpp.