sparrow 2.6.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
sparrow::detail::union_rebuild_payload Struct Reference

Rebuilt data of a union array: the row plan of each child, plus the new type-ID and (dense-only) offset buffers. More...

#include <union_array.hpp>

Collaboration diagram for sparrow::detail::union_rebuild_payload:
[legend]

Public Attributes

std::vector< std::vector< union_rebuild_value > > child_values
 Row plan of each child.
u8_buffer< std::uint8_t > type_ids {}
 Type ID per output row.
u8_buffer< std::uint32_t > offsets {}
 Dense offsets (empty for sparse).

Detailed Description

Rebuilt data of a union array: the row plan of each child, plus the new type-ID and (dense-only) offset buffers.

The buffers are stored in their final ownership type so that the rebuilt proxy can take them by move, without an intermediate copy.

Definition at line 102 of file union_array.hpp.

Member Data Documentation

◆ child_values

std::vector<std::vector<union_rebuild_value> > sparrow::detail::union_rebuild_payload::child_values

Row plan of each child.

Definition at line 104 of file union_array.hpp.

◆ offsets

u8_buffer<std::uint32_t> sparrow::detail::union_rebuild_payload::offsets {}

Dense offsets (empty for sparse).

Definition at line 106 of file union_array.hpp.

◆ type_ids

u8_buffer<std::uint8_t> sparrow::detail::union_rebuild_payload::type_ids {}

Type ID per output row.

Definition at line 105 of file union_array.hpp.


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