Private data for ArrowArray.
More...
#include <private_data.hpp>
Private data for ArrowArray.
Holds and own buffers, children, and dictionary. It is used in the Sparrow library.
Definition at line 36 of file private_data.hpp.
◆ BufferType
◆ arrow_array_private_data()
template<std::ranges::input_range CHILDREN_OWNERSHIP>
requires std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool>
sparrow::arrow_array_private_data::arrow_array_private_data |
( |
BufferType | buffers, |
|
|
const CHILDREN_OWNERSHIP & | children_ownership, |
|
|
bool | dictionary_ownership ) |
|
explicitconstexpr |
◆ buffers() [1/2]
const std::vector< buffer< std::uint8_t > > & sparrow::arrow_array_private_data::buffers |
( |
| ) |
const |
|
nodiscardconstexprnoexcept |
◆ buffers() [2/2]
std::vector< buffer< std::uint8_t > > & sparrow::arrow_array_private_data::buffers |
( |
| ) |
|
|
nodiscardconstexprnoexcept |
◆ buffers_ptrs()
template<class T>
const T ** sparrow::arrow_array_private_data::buffers_ptrs |
( |
| ) |
|
|
nodiscardconstexprnoexcept |
◆ resize_buffer()
SPARROW_CONSTEXPR_GCC_11 void sparrow::arrow_array_private_data::resize_buffer |
( |
std::size_t | index, |
|
|
std::size_t | size, |
|
|
std::uint8_t | value ) |
◆ resize_buffers()
◆ set_buffer() [1/2]
void sparrow::arrow_array_private_data::set_buffer |
( |
std::size_t | index, |
|
|
buffer< std::uint8_t > && | buffer ) |
|
inline |
◆ set_buffer() [2/2]
void sparrow::arrow_array_private_data::set_buffer |
( |
std::size_t | index, |
|
|
const buffer_view< std::uint8_t > & | buffer ) |
|
inline |
◆ update_buffers_ptrs()
The documentation for this class was generated from the following file:
- /home/runner/work/sparrow/sparrow/include/sparrow/arrow_interface/arrow_array/private_data.hpp