Skip to main content

vortex_array/scalar_fn/builtin/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4//! The scalar functions that vortex-array itself is built on.
5//!
6//! These are the functions that the core crate's own arrays, validity and expression machinery
7//! construct: literals and struct projection, selection and packing for expressions, `is_null`,
8//! `is_not_null`, `not` and the boolean operators for validity reduction, and `cast`, `mask`,
9//! `fill_null` and the comparison and arithmetic operators, which canonical arrays apply lazily to
10//! their own children (offsets, indices, codes and validity). [`ArrayBuiltins`] exposes them as
11//! methods.
12//!
13//! Every other scalar function lives in the `vortex-functions` crate, which registers them, and
14//! their kernels for vortex-array's encodings, with a session.
15//!
16//! [`ArrayBuiltins`]: crate::builtins::ArrayBuiltins
17
18mod binary;
19pub(crate) use binary::LegacyBinary;
20pub mod boolean;
21pub mod cast;
22pub mod compare;
23pub mod fill_null;
24pub mod get_item;
25pub mod is_not_null;
26pub mod literal;
27pub mod mask;
28pub mod not;
29pub mod numeric;
30pub mod operators;
31pub mod pack;