|
| | 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, 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 |
| |
| 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 |
| |
|
| | 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.
|
| |
template<std::ranges::sized_range T, class CR, class Ext>
class sparrow::fixed_width_binary_array_impl< T, CR, Ext >
Definition at line 123 of file fixed_width_binary_array.hpp.
template<std::ranges::sized_range T, class CR, class Ext>
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.
- Template Parameters
-
| ARGS | Parameter pack for constructor arguments |
- Parameters
-
| args | Constructor arguments (data, element_size, validity, metadata, etc.) |
- Precondition
- Arguments must match one of the create_proxy() overload signatures
-
If providing data ranges, all elements must have the same size
-
Element size must be > 0 for non-empty arrays
- Postcondition
- Array is created with the specified data and configuration
-
Element size is properly set and encoded in format string
Definition at line 199 of file fixed_width_binary_array.hpp.
template<std::ranges::sized_range T, class CR, class Ext>
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 )