|
sparrow 2.2.1
C++20 idiomatic APIs for the Apache Arrow Columnar Format
|
#include <array_bitmap_base.hpp>
Public Types | |
| using | base_type = std::conditional_t<is_mutable, mutable_array_base<D>, array_crtp_base<D>> |
| using | size_type = std::size_t |
| using | bitmap_type = typename base_type::bitmap_type |
| using | const_bitmap_type = typename base_type::const_bitmap_type |
| using | bitmap_iterator = typename base_type::bitmap_iterator |
| using | const_bitmap_iterator = typename base_type::const_bitmap_iterator |
| using | bitmap_const_reference = typename base_type::bitmap_const_reference |
| using | difference_type = typename base_type::difference_type |
| using | const_bitmap_range = typename base_type::const_bitmap_range |
| using | iterator_tag = typename base_type::iterator_tag |
Public Member Functions | |
| template<std::input_iterator InputIt> requires std::same_as<typename std::iterator_traits<InputIt>::value_type, bool> | |
| constexpr auto | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable |
Protected Member Functions | |
| 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. | |
| template<std::input_iterator InputIt> requires std::same_as<typename std::iterator_traits<InputIt>::value_type, bool> | |
| 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 52 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::base_type = std::conditional_t<is_mutable, mutable_array_base<D>, array_crtp_base<D>> |
Definition at line 57 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::bitmap_const_reference = typename base_type::bitmap_const_reference |
Definition at line 66 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::bitmap_iterator = typename base_type::bitmap_iterator |
Definition at line 63 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::bitmap_type = typename base_type::bitmap_type |
Definition at line 61 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::const_bitmap_iterator = typename base_type::const_bitmap_iterator |
Definition at line 64 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::const_bitmap_range = typename base_type::const_bitmap_range |
Definition at line 69 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::const_bitmap_type = typename base_type::const_bitmap_type |
Definition at line 62 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::difference_type = typename base_type::difference_type |
Definition at line 67 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::iterator_tag = typename base_type::iterator_tag |
Definition at line 71 of file array_bitmap_base.hpp.
| using sparrow::array_bitmap_base_impl< D, is_mutable >::size_type = std::size_t |
Definition at line 59 of file array_bitmap_base.hpp.
|
protected |
Constructs array bitmap base from Arrow proxy.
| proxy | Arrow proxy containing array data and schema with validity bitmap |
Definition at line 271 of file array_bitmap_base.hpp.
|
constexprprotected |
Copy constructor.
| rhs | Source array to copy from |
Definition at line 277 of file array_bitmap_base.hpp.
|
constexprprotecteddefaultnoexcept |
|
constexprprotected |
Erases validity bits starting at specified position.
| pos | Iterator position where to start erasing validity bits |
| count | Number of bits to erase |
Definition at line 345 of file array_bitmap_base.hpp.
|
nodiscardconstexprprotected |
Gets mutable reference to the validity bitmap.
Definition at line 291 of file array_bitmap_base.hpp.
|
nodiscardconstexprprotected |
Gets const reference to the validity bitmap.
Definition at line 300 of file array_bitmap_base.hpp.
|
constexprprotected |
Inserts validity bits at specified position.
| pos | Iterator position where to insert validity bits |
| value | Validity value for inserted bits (true = valid, false = null) |
| count | Number of bits to insert |
Definition at line 316 of file array_bitmap_base.hpp.
|
constexpr |
Definition at line 331 of file array_bitmap_base.hpp.
|
constexprprotected |
Inserts range of validity bits at specified position.
| InputIt | Input iterator type for boolean values |
| pos | Iterator position where to insert validity bits |
| first | Iterator to beginning of range to insert |
| last | Iterator to end of range to insert |
|
constexprprotecteddefaultnoexcept |
|
constexprprotected |
Copy assignment operator.
| rhs | Source array to copy from |
Definition at line 284 of file array_bitmap_base.hpp.
|
constexprprotected |
Resizes the validity bitmap to accommodate new array length.
| new_length | New length for the array |
| value | Default validity value for new elements (true = valid, false = null) |
Definition at line 308 of file array_bitmap_base.hpp.