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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors
//! Apache Arrow interoperability for Vortex.
//!
//! This crate owns every conversion between Vortex and Arrow. Exporting a Vortex array to Arrow goes
//! through [`ExecuteArrowExt`], which uses the [`ArrowSession`] of its execution context. Every other
//! conversion goes through the [`ArrowSession`] itself: importing Arrow schemas, fields, and data
//! types into Vortex ([`ArrowSession::from_arrow_schema`], [`ArrowSession::from_arrow_field`],
//! [`ArrowSession::from_arrow_datatype`]), importing Arrow arrays and record batches
//! ([`ArrowSession::from_arrow_array`], [`ArrowSession::from_arrow_record_batch`]), and exporting
//! Vortex dtypes to Arrow ([`ArrowSession::to_arrow_schema`], [`ArrowSession::to_arrow_field`],
//! [`ArrowSession::to_arrow_datatype`]).
//!
//! The [`ArrowSession`] session variable is created on first use of [`ArrowSessionExt::arrow`], so
//! no explicit registration is required. It can look up the extension types of its Vortex session
//! by their Vortex IDs (see [`ArrowSession`]).
//!
//! [`ArrowScanExt`] adapts scan drivers to Arrow record-batch streams, performing conversion on
//! the workers producing the scan batches.
pub use ArrowExtVTable;
pub use ArrowMetadataPolicy;
pub use level_validity;
pub use IntoVortexArray;
pub use nulls;
pub use *;
pub use *;
pub use *;
pub use to_arrow_null_buffer;
pub use to_null_buffer;
pub use *;
pub use ToArrowDatum;
pub use ArrowScanExt;
pub use *;