|
| primitive_array_impl (arrow_proxy) |
| Constructs a primitive array from an existing Arrow proxy.
|
|
template<class... Args>
requires (mpl::excludes_copy_and_move_ctor_v<primitive_array_impl<T>, Args...>) |
| primitive_array_impl (Args &&... args) |
| Constructs an array of trivial copyable type with values and optional bitmap.
|
|
template<input_metadata_container METADATA_RANGE = std::vector<metadata_pair>> |
| primitive_array_impl (std::initializer_list< inner_value_type > init, bool nullable=true, std::optional< std::string_view > name=std::nullopt, std::optional< METADATA_RANGE > metadata=std::nullopt) |
| Constructs a primitive array from an initializer list of raw values.
|
|
constexpr | primitive_array_impl (const primitive_array_impl &) |
| Copy constructor.
|
|
constexpr primitive_array_impl & | operator= (const primitive_array_impl &) |
| Copy assignment operator.
|
|
constexpr | primitive_array_impl (primitive_array_impl &&) noexcept |
| Move constructor.
|
|
constexpr primitive_array_impl & | operator= (primitive_array_impl &&) noexcept |
| Move assignment operator.
|
|
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>, T>) |
arrow_proxy | create_proxy (VALUE_RANGE &&values, VALIDITY_RANGE &&validity_input, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata) |
|
template<validity_bitmap_input VALIDITY_RANGE, input_metadata_container METADATA_RANGE> |
arrow_proxy | create_proxy (u8_buffer< T > &&data_buffer, size_t size, bool nullable, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata) |
|
template<std::ranges::input_range R, input_metadata_container METADATA_RANGE>
requires (std::convertible_to<std::ranges::range_value_t<R>, T> && !mpl::is_type_instance_of_v<R, u8_buffer>) |
arrow_proxy | create_proxy (R &&range, bool nullable, std::optional< std::string_view > name, std::optional< METADATA_RANGE > metadata) |
|
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<trivial_copyable_type T>
class sparrow::primitive_array_impl< T >
Definition at line 97 of file primitive_array_impl.hpp.