sparrow 0.9.0
|
#include <fixed_width_binary_array.hpp>
Public Types | |
using | self_type = fixed_width_binary_array_impl<T, CR> |
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 |
![]() | |
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 | |
fixed_width_binary_array_impl (arrow_proxy) | |
Constructs fixed-width binary array from Arrow proxy. | |
template<class... ARGS> requires (mpl::excludes_copy_and_move_ctor_v<fixed_width_binary_array_impl<T, CR>, 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 |
![]() | |
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 | |
![]() | |
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 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. | |
constexpr void | update () |
Updates internal bitmap after external modifications to Arrow data. | |
constexpr non_owning_dynamic_bitset< uint8_t > | get_non_owning_dynamic_bitset () |
Gets non-owning view of the bitmap as dynamic bitset. | |
constexpr bitmap_type | make_bitmap () |
Creates bitmap wrapper from current Arrow validity buffer. | |
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 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. | |
constexpr void | update () |
Updates internal bitmap after external modifications to Arrow data. | |
constexpr non_owning_dynamic_bitset< uint8_t > | get_non_owning_dynamic_bitset () |
Gets non-owning view of the bitmap as dynamic bitset. | |
constexpr bitmap_type | make_bitmap () |
Creates bitmap wrapper from current Arrow validity buffer. | |
Definition at line 122 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::base_type = mutable_array_bitmap_base<self_type> |
Definition at line 135 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::bitmap_const_reference = typename base_type::bitmap_const_reference |
Definition at line 144 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::bitmap_reference = typename base_type::bitmap_reference |
Definition at line 143 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::bitmap_type = typename base_type::bitmap_type |
Definition at line 142 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::const_bitmap_range = typename base_type::const_bitmap_range |
Definition at line 145 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::const_data_iterator = typename inner_types::const_data_iterator |
Definition at line 156 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::const_functor_type = typename inner_types::const_functor_type |
Definition at line 163 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::const_reference = nullable<inner_const_reference, bitmap_const_reference> |
Definition at line 149 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::const_value_iterator = typename inner_types::const_value_iterator |
Definition at line 160 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::data_iterator = typename inner_types::data_iterator |
Definition at line 154 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::data_value_type = typename inner_types::data_value_type |
Definition at line 157 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::difference_type = typename base_type::difference_type |
Definition at line 152 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::functor_type = typename inner_types::functor_type |
Definition at line 162 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::inner_const_reference = typename inner_types::inner_const_reference |
Definition at line 140 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::inner_reference = typename inner_types::inner_reference |
Definition at line 139 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::inner_types = array_inner_types<self_type> |
Definition at line 137 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::inner_value_type = typename inner_types::inner_value_type |
Definition at line 138 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::iterator_tag = typename base_type::iterator_tag |
Definition at line 153 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::reference = nullable<inner_reference, bitmap_reference> |
Definition at line 148 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::self_type = fixed_width_binary_array_impl<T, CR> |
Definition at line 134 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::size_type = typename base_type::size_type |
Definition at line 151 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::value_iterator = typename inner_types::value_iterator |
Definition at line 159 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_array_impl< T, CR >::value_type = nullable<inner_value_type> |
Definition at line 147 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 612 of file fixed_width_binary_array.hpp.
|
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 197 of file fixed_width_binary_array.hpp.
arrow_proxy sparrow::fixed_width_binary_array_impl< T, CR >::create_proxy | ( | NULLABLE_RANGE && | range, |
std::optional< std::string_view > | name, | ||
std::optional< METADATA_RANGE > | metadata ) |
Definition at line 738 of file fixed_width_binary_array.hpp.
arrow_proxy sparrow::fixed_width_binary_array_impl< T, CR >::create_proxy | ( | R && | values, |
bool | nullable, | ||
std::optional< std::string_view > | name, | ||
std::optional< METADATA_RANGE > | metadata ) |
Definition at line 701 of file fixed_width_binary_array.hpp.
arrow_proxy sparrow::fixed_width_binary_array_impl< T, CR >::create_proxy | ( | R && | values, |
VB && | validity_input, | ||
std::optional< std::string_view > | name, | ||
std::optional< METADATA_RANGE > | metadata ) |
Definition at line 670 of file fixed_width_binary_array.hpp.
|
constexpr |
Definition at line 911 of file fixed_width_binary_array.hpp.
|
constexpr |
Definition at line 934 of file fixed_width_binary_array.hpp.
|
nodiscardconstexpr |
Gets mutable reference to element at specified index.
i | Index of the element to access |
Definition at line 846 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 853 of file fixed_width_binary_array.hpp.
|
friend |
Definition at line 598 of file fixed_width_binary_array.hpp.