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
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors
//! Shared execution for native geometry scalar functions.
//!
//! [`dispatch_unary`] and [`dispatch_binary`] handle constant/column operands and strict null
//! propagation without prescribing how a kernel represents geometries or builds its output.
//! Native columnar kernels such as `ST_MakeLine` use these dispatchers directly.
pub use dispatch_binary;
pub use dispatch_unary;
use ArrayRef;
use Nullability;
use Scalar;
use Mask;
/// A non-null operand presented to a geometry kernel.
pub
/// Shared batch state presented to a null-propagating geometry kernel with `N` operands.
///
/// Binary kernels use the default materialized [`Mask`]. Unary columnar kernels can instead
/// retain a lazy [`vortex_array::validity::Validity`] until they need row-wise access.
pub