Skip to main content

robin_sparkless_core/
lib.rs

1//! Robin Sparkless core: shared types, config, error, and engine-agnostic expression IR (no Polars dependency).
2
3pub mod config;
4pub mod date_utils;
5pub mod engine;
6pub mod error;
7pub mod expr;
8pub mod schema;
9
10pub use config::SparklessConfig;
11pub use engine::{
12    CollectedRows, DataFrameBackend, DataFrameReaderBackend, GroupedDataBackend, JoinType,
13    PlanExecutor, SparkSessionBackend,
14};
15pub use error::EngineError;
16pub use expr::{
17    ExprIr, LiteralValue, WhenBuilder, WhenThenBuilder, alias, and_, between, call, col, count, eq,
18    ge, gt, is_in, is_null, le, lit_bool, lit_f64, lit_i32, lit_i64, lit_null, lit_str, lt, max,
19    mean, min, ne, not_, or_, sum, when,
20};
21pub use schema::{DataType, StructField, StructType};