Skip to main content

datafusion_execution/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
3// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements
4
5#![doc(
6    html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",
7    html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
8)]
9#![cfg_attr(docsrs, feature(doc_cfg))]
10// Make sure fast / cheap clones on Arc are explicit:
11// https://github.com/apache/datafusion/issues/11143
12#![deny(clippy::clone_on_ref_ptr)]
13#![cfg_attr(test, allow(clippy::needless_pass_by_value))]
14
15//! DataFusion execution configuration and runtime structures
16
17mod async_stream;
18pub mod cache;
19pub mod config;
20pub mod disk_manager;
21pub mod memory_pool;
22pub mod object_store;
23#[cfg(feature = "parquet_encryption")]
24pub mod parquet_encryption;
25pub mod runtime_env;
26pub mod spill_file;
27mod stream;
28mod task;
29
30pub mod registry {
31    pub use datafusion_expr::registry::{
32        FunctionRegistry, MemoryFunctionRegistry, SerializerRegistry,
33    };
34}
35
36pub use async_stream::{Emitter, TryEmitter, async_stream, async_try_stream};
37pub use disk_manager::DiskManager;
38pub use registry::FunctionRegistry;
39pub use spill_file::{AsyncSpillWriter, SpillFile, SpillWriter, TempFileFactory};
40pub use stream::{RecordBatchStream, SendableRecordBatchStream};
41pub use task::{TaskContext, TaskContextProvider};