vortex_array/execution/mod.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4mod batch;
5mod mask;
6mod validity;
7
8pub use batch::*;
9pub use mask::*;
10
11/// Execution context for batch array compute.
12// NOTE(ngates): This context will eventually hold cached resources for execution, such as CSE
13// nodes, and may well eventually support a type-map interface for arrays to stash arbitrary
14// execution-related data.
15pub trait ExecutionCtx: private::Sealed {}
16
17/// A crate-internal dummy execution context.
18pub(crate) struct DummyExecutionCtx;
19impl ExecutionCtx for DummyExecutionCtx {}
20
21mod private {
22 pub trait Sealed {}
23 impl Sealed for super::DummyExecutionCtx {}
24}