1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Raw access to the Arrow array inside a [`DoraArray`], for dora's own crates.
//!
//! # Not public API
//!
//! Everything in this module names dora's **internal** Arrow major and is
//! **exempt from dora's semver guarantee**. It changes — silently, in a minor
//! release — whenever dora bumps its internal Arrow. It is `pub` only because
//! `DoraArray` lives in this crate while the code that has to build and unwrap
//! it (`dora-node-api`, the C/C++/Python bindings, the record/replay nodes)
//! lives in others; Rust has no cross-crate `pub(crate)`.
//!
//! This module is deliberately **not** re-exported from `dora-node-api`, so it
//! is not reachable from the frozen 1.x surface. Do not depend on it from
//! outside the dora workspace. If you need the Arrow array, enable the feature
//! that names your major (`arrow-v59`, `arrow-v58`, …) and use
//! [`DoraArray::as_array`](crate::DoraArray::as_array) or the `TryFrom` impls
//! in the `ffi_bridge` module, which are version-honest and therefore cannot
//! drift under you.
use crateDoraArray;
/// Wrap an Arrow array (internal major) as a dora payload.
/// Wrap Arrow [`ArrayData`](arrow::array::ArrayData) as a dora payload.
/// Borrow the Arrow array (internal major) inside a dora payload.
/// Take the Arrow array (internal major) out of a dora payload.