Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::detail::ArrowArrayPrivate Struct Reference

Heap-allocated context attached to ArrowArray.private_data. More...

#include <arrow_bridge.hpp>

Public Attributes

bool owns_data = false
 If true, free buffers[1] on release.
 
const void * buffer_ptrs [2] = {nullptr, nullptr}
 [0]=validity, [1]=data
 

Detailed Description

Heap-allocated context attached to ArrowArray.private_data.

Tracks whether this bridge allocated the data buffer (owns_data), and stores the two-element buffers pointer array that ArrowArray.buffers references. When owns_data is true, the release callback will free buffers[1] via std::free().

Definition at line 114 of file arrow_bridge.hpp.

Member Data Documentation

◆ buffer_ptrs

const void* signet::forge::detail::ArrowArrayPrivate::buffer_ptrs[2] = {nullptr, nullptr}

[0]=validity, [1]=data

Definition at line 116 of file arrow_bridge.hpp.

◆ owns_data

bool signet::forge::detail::ArrowArrayPrivate::owns_data = false

If true, free buffers[1] on release.

Definition at line 115 of file arrow_bridge.hpp.


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