sparrow ..
|
#include <struct_array.hpp>
Public Member Functions | |
SPARROW_API | struct_array (arrow_proxy proxy) |
Constructs struct array from Arrow proxy. | |
template<class... Args> requires (mpl::excludes_copy_and_move_ctor_v<struct_array, Args...>) | |
struct_array (Args &&... args) | |
Generic constructor for creating struct array from various inputs. | |
SPARROW_API | struct_array (const struct_array &rhs) |
Copy constructor. | |
SPARROW_API struct_array & | operator= (const struct_array &rhs) |
Copy assignment operator. | |
struct_array (struct_array &&)=default | |
struct_array & | operator= (struct_array &&)=default |
SPARROW_API size_type | children_count () const |
Gets the number of child arrays (fields). | |
SPARROW_API const array_wrapper * | raw_child (std::size_t i) const |
Gets const pointer to child array at specified index. | |
SPARROW_API array_wrapper * | raw_child (std::size_t i) |
Gets mutable pointer to child array at specified index. | |
![]() | |
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 | array_crtp_base< self_type > |
class | detail::layout_value_functor< self_type, inner_value_type > |
class | detail::layout_value_functor< const self_type, inner_value_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 123 of file struct_array.hpp.
Definition at line 128 of file struct_array.hpp.
Definition at line 135 of file struct_array.hpp.
using sparrow::struct_array::bitmap_type = typename base_type::bitmap_type |
Definition at line 134 of file struct_array.hpp.
Definition at line 137 of file struct_array.hpp.
using sparrow::struct_array::const_reference = nullable<inner_const_reference, bitmap_const_reference> |
Definition at line 144 of file struct_array.hpp.
using sparrow::struct_array::const_value_iterator = typename inner_types::const_value_iterator |
Definition at line 131 of file struct_array.hpp.
Definition at line 141 of file struct_array.hpp.
Definition at line 140 of file struct_array.hpp.
Definition at line 129 of file struct_array.hpp.
Definition at line 139 of file struct_array.hpp.
Definition at line 145 of file struct_array.hpp.
Definition at line 127 of file struct_array.hpp.
using sparrow::struct_array::size_type = typename base_type::size_type |
Definition at line 132 of file struct_array.hpp.
using sparrow::struct_array::value_iterator = typename inner_types::value_iterator |
Definition at line 130 of file struct_array.hpp.
Definition at line 143 of file struct_array.hpp.
|
explicit |
Constructs struct array from Arrow proxy.
proxy | Arrow proxy containing struct array data and schema |
|
inlineexplicit |
Generic constructor for creating struct array from various inputs.
Creates a struct array from different input combinations. Arguments are forwarded to compatible create_proxy() functions based on their types.
Args | Parameter pack for constructor arguments |
args | Constructor arguments (children, validity, metadata, etc.) |
Definition at line 178 of file struct_array.hpp.
SPARROW_API sparrow::struct_array::struct_array | ( | const struct_array & | rhs | ) |
Copy constructor.
rhs | Source struct array to copy from |
|
default |
|
nodiscard |
Gets the number of child arrays (fields).
SPARROW_API struct_array & sparrow::struct_array::operator= | ( | const struct_array & | rhs | ) |
Copy assignment operator.
rhs | Source struct array to copy from |
|
default |
|
nodiscard |
Gets mutable pointer to child array at specified index.
i | Index of the child array |
|
nodiscard |
Gets const pointer to child array at specified index.
i | Index of the child array |
|
friend |
Definition at line 405 of file struct_array.hpp.
|
friend |
Definition at line 405 of file struct_array.hpp.
|
friend |
Definition at line 405 of file struct_array.hpp.