sparrow 2.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
sparrow::details::primitive_data_access< bool > Class Reference

#include <primitive_data_access.hpp>

Public Types

using bitset_view = dynamic_bitset_view<std::uint8_t, non_tracking_null_count<>>
using inner_value_type = typename bitset_view::value_type
using inner_reference = typename bitset_view::reference
using inner_const_reference = typename bitset_view::const_reference
using inner_pointer = inner_value_type*
using inner_const_pointer = const inner_value_type*
using value_iterator = typename bitset_view::iterator
using const_value_iterator = typename bitset_view::const_iterator

Public Member Functions

 primitive_data_access (arrow_proxy &proxy, size_t data_buffer_index)
 primitive_data_access (const primitive_data_access &)=delete
primitive_data_accessoperator= (const primitive_data_access &)=delete
 primitive_data_access (primitive_data_access &&)=delete
primitive_data_accessoperator= (primitive_data_access &&)=delete
inner_reference value (size_t i)
inner_const_reference value (size_t i) const
value_iterator value_begin ()
value_iterator value_end ()
const_value_iterator value_cbegin () const
const_value_iterator value_cend () const
void resize_values (size_t new_length, bool value)
value_iterator insert_value (const_value_iterator pos, bool value, size_t count)
value_iterator insert_value (size_t idx, bool value, size_t count)
template<mpl::iterator_of_type< bool > InputIt>
constexpr value_iterator insert_values (const_value_iterator pos, InputIt first, InputIt last)
template<mpl::iterator_of_type< bool > InputIt>
constexpr value_iterator insert_values (size_t idx, InputIt first, InputIt last)
value_iterator erase_values (const_value_iterator pos, size_t count)
value_iterator erase_values (size_t idx, size_t count)
void reset_proxy (arrow_proxy &proxy)
constexpr auto insert_values (const_value_iterator pos, InputIt first, InputIt last) -> value_iterator
constexpr auto insert_values (size_t idx, InputIt first, InputIt last) -> value_iterator
template<mpl::iterator_of_type< bool > InputIt>
constexpr auto insert_values (const_value_iterator pos, InputIt first, InputIt last) -> value_iterator
template<mpl::iterator_of_type< bool > InputIt>
constexpr auto insert_values (size_t idx, InputIt first, InputIt last) -> value_iterator
constexpr inner_pointer data ()

Static Public Member Functions

template<std::ranges::input_range RANGE>
static u8_buffer< bool > make_data_buffer (RANGE &&r)
static u8_buffer< bool > make_data_buffer (size_t size, bool value)

Detailed Description

Definition at line 142 of file primitive_data_access.hpp.

Member Typedef Documentation

◆ bitset_view

Definition at line 146 of file primitive_data_access.hpp.

◆ const_value_iterator

using sparrow::details::primitive_data_access< bool >::const_value_iterator = typename bitset_view::const_iterator

Definition at line 154 of file primitive_data_access.hpp.

◆ inner_const_pointer

using sparrow::details::primitive_data_access< bool >::inner_const_pointer = const inner_value_type*

Definition at line 151 of file primitive_data_access.hpp.

◆ inner_const_reference

using sparrow::details::primitive_data_access< bool >::inner_const_reference = typename bitset_view::const_reference

Definition at line 149 of file primitive_data_access.hpp.

◆ inner_pointer

Definition at line 150 of file primitive_data_access.hpp.

◆ inner_reference

using sparrow::details::primitive_data_access< bool >::inner_reference = typename bitset_view::reference

Definition at line 148 of file primitive_data_access.hpp.

◆ inner_value_type

using sparrow::details::primitive_data_access< bool >::inner_value_type = typename bitset_view::value_type

Definition at line 147 of file primitive_data_access.hpp.

◆ value_iterator

using sparrow::details::primitive_data_access< bool >::value_iterator = typename bitset_view::iterator

Definition at line 153 of file primitive_data_access.hpp.

Constructor & Destructor Documentation

◆ primitive_data_access() [1/3]

sparrow::details::primitive_data_access< bool >::primitive_data_access ( arrow_proxy & proxy,
size_t data_buffer_index )
inline

Definition at line 424 of file primitive_data_access.hpp.

Here is the caller graph for this function:

◆ primitive_data_access() [2/3]

sparrow::details::primitive_data_access< bool >::primitive_data_access ( const primitive_data_access< bool > & )
delete
Here is the call graph for this function:

◆ primitive_data_access() [3/3]

sparrow::details::primitive_data_access< bool >::primitive_data_access ( primitive_data_access< bool > && )
delete
Here is the call graph for this function:

Member Function Documentation

◆ data()

auto sparrow::details::primitive_data_access< T, T >::data ( )
nodiscardconstexpr

Definition at line 96 of file primitive_data_access.hpp.

◆ erase_values() [1/2]

auto sparrow::details::primitive_data_access< bool >::erase_values ( const_value_iterator pos,
size_t count )
inline

Definition at line 510 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ erase_values() [2/2]

auto sparrow::details::primitive_data_access< bool >::erase_values ( size_t idx,
size_t count )
inline

Definition at line 520 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_value() [1/2]

auto sparrow::details::primitive_data_access< bool >::insert_value ( const_value_iterator pos,
bool value,
size_t count )
inline

Definition at line 470 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_value() [2/2]

auto sparrow::details::primitive_data_access< bool >::insert_value ( size_t idx,
bool value,
size_t count )
inline

Definition at line 479 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [1/6]

template<mpl::iterator_of_type< bool > InputIt>
value_iterator sparrow::details::primitive_data_access< bool >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last )
constexpr

◆ insert_values() [2/6]

template<mpl::iterator_of_type< bool > InputIt>
auto sparrow::details::primitive_data_access< bool >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last ) -> value_iterator
constexpr

Definition at line 491 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [3/6]

auto sparrow::details::primitive_data_access< T, T >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last )-> value_iterator
constexpr

Definition at line 327 of file primitive_data_access.hpp.

◆ insert_values() [4/6]

template<mpl::iterator_of_type< bool > InputIt>
value_iterator sparrow::details::primitive_data_access< bool >::insert_values ( size_t idx,
InputIt first,
InputIt last )
constexpr
Here is the call graph for this function:

◆ insert_values() [5/6]

template<mpl::iterator_of_type< bool > InputIt>
auto sparrow::details::primitive_data_access< bool >::insert_values ( size_t idx,
InputIt first,
InputIt last ) -> value_iterator
constexpr

Definition at line 501 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [6/6]

auto sparrow::details::primitive_data_access< T, T >::insert_values ( size_t idx,
InputIt first,
InputIt last )-> value_iterator
constexpr

Definition at line 342 of file primitive_data_access.hpp.

◆ make_data_buffer() [1/2]

template<std::ranges::input_range RANGE>
u8_buffer< bool > sparrow::details::primitive_data_access< bool >::make_data_buffer ( RANGE && r)
staticnodiscard

Definition at line 537 of file primitive_data_access.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_data_buffer() [2/2]

u8_buffer< bool > sparrow::details::primitive_data_access< bool >::make_data_buffer ( size_t size,
bool value )
inlinestaticnodiscard

Definition at line 548 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ operator=() [1/2]

Here is the call graph for this function:

◆ operator=() [2/2]

Here is the call graph for this function:

◆ reset_proxy()

void sparrow::details::primitive_data_access< bool >::reset_proxy ( arrow_proxy & proxy)
inline

Definition at line 529 of file primitive_data_access.hpp.

◆ resize_values()

void sparrow::details::primitive_data_access< bool >::resize_values ( size_t new_length,
bool value )
inline

Definition at line 463 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ value() [1/2]

auto sparrow::details::primitive_data_access< bool >::value ( size_t i)
inlinenodiscard

Definition at line 433 of file primitive_data_access.hpp.

Here is the caller graph for this function:

◆ value() [2/2]

auto sparrow::details::primitive_data_access< bool >::value ( size_t i) const
inlinenodiscard

Definition at line 438 of file primitive_data_access.hpp.

◆ value_begin()

auto sparrow::details::primitive_data_access< bool >::value_begin ( )
inlinenodiscard

Definition at line 443 of file primitive_data_access.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value_cbegin()

auto sparrow::details::primitive_data_access< bool >::value_cbegin ( ) const
inlinenodiscard

Definition at line 453 of file primitive_data_access.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value_cend()

auto sparrow::details::primitive_data_access< bool >::value_cend ( ) const
inlinenodiscard

Definition at line 458 of file primitive_data_access.hpp.

◆ value_end()

auto sparrow::details::primitive_data_access< bool >::value_end ( )
inlinenodiscard

Definition at line 448 of file primitive_data_access.hpp.


The documentation for this class was generated from the following file: