|
sparrow 1.3.0
|
#include <cstddef>#include <cstdint>#include <ranges>#include <type_traits>#include "sparrow/arrow_interface/arrow_array/private_data.hpp"#include "sparrow/c_interface.hpp"#include "sparrow/config/config.hpp"#include "sparrow/utils/repeat_container.hpp"Go to the source code of this file.
Namespaces | |
| namespace | sparrow |
Functions | |
| template<class B, std::ranges::input_range CHILDREN_OWNERSHIP> requires std::constructible_from<arrow_array_private_data::BufferType, B> && std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool> | |
| ArrowArray | sparrow::make_arrow_array (int64_t length, int64_t null_count, int64_t offset, B buffers, ArrowArray **children, const CHILDREN_OWNERSHIP &children_ownership, ArrowArray *dictionary, bool dictionary_ownership) |
Creates an ArrowArray. | |
| SPARROW_API void | sparrow::release_arrow_array (ArrowArray *array) |
Release function to use for the ArrowArray.release member. | |
| SPARROW_API void | sparrow::empty_release_arrow_array (ArrowArray *array) |
Empty release function to use for the ArrowArray.release member. | |
| template<class B, std::ranges::input_range CHILDREN_OWNERSHIP> requires ( std::constructible_from<arrow_array_private_data::BufferType, B> && std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool> ) | |
| void | sparrow::fill_arrow_array (ArrowArray &array, int64_t length, int64_t null_count, int64_t offset, B buffers, ArrowArray **children, const CHILDREN_OWNERSHIP &children_ownership, ArrowArray *dictionary, bool dictionary_ownership) |
Fill an ArrowArray object. | |
| ArrowArray | sparrow::make_empty_arrow_array () |
| SPARROW_API sparrow::buffer_view< uint8_t > | sparrow::get_bitmap_buffer (const ArrowArray &array) |
| SPARROW_API std::vector< sparrow::buffer_view< uint8_t > > | sparrow::get_arrow_array_buffers (const ArrowArray &array, const ArrowSchema &schema) |
| SPARROW_API void | sparrow::swap (ArrowArray &lhs, ArrowArray &rhs) |
| Swaps the contents of the two ArrowArray objects. | |
| SPARROW_API void | sparrow::copy_array (const ArrowArray &source_array, const ArrowSchema &source_schema, ArrowArray &target) |
| Fill the target ArrowArray with a deep copy of the data from the source ArrowArray. | |
| ArrowArray | sparrow::copy_array (const ArrowArray &source_array, const ArrowSchema &source_schema) |
| Create a deep copy of the source ArrowArray. | |
| ArrowArray | sparrow::move_array (ArrowArray &&source) |
| Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowArray. | |
| ArrowArray | sparrow::move_array (ArrowArray &source) |
| Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowArray. | |