polars_plan/plans/
mod.rs

1use std::sync::Arc;
2
3use polars_core::prelude::*;
4
5use crate::prelude::*;
6
7pub(crate) mod aexpr;
8pub(crate) mod anonymous_scan;
9pub(crate) mod ir;
10
11mod apply;
12mod builder_ir;
13pub(crate) mod conversion;
14#[cfg(feature = "debugging")]
15pub(crate) mod debug;
16pub mod expr_ir;
17mod functions;
18pub mod hive;
19pub(crate) mod iterator;
20mod lit;
21pub(crate) mod optimizer;
22pub(crate) mod options;
23#[cfg(feature = "python")]
24pub mod python;
25#[cfg(feature = "python")]
26pub use python::*;
27mod schema;
28pub mod visitor;
29
30pub use aexpr::*;
31pub use anonymous_scan::*;
32pub use apply::*;
33pub use builder_ir::*;
34pub use conversion::*;
35pub(crate) use expr_ir::*;
36pub use functions::*;
37pub use ir::*;
38pub use iterator::*;
39pub use lit::*;
40pub use optimizer::*;
41pub use schema::*;
42
43#[derive(Clone, Copy, Debug, Default)]
44pub enum Context {
45    /// Any operation that is done on groups
46    Aggregation,
47    /// Any operation that is done while projection/ selection of data
48    #[default]
49    Default,
50}