icydb-core 0.94.3

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
//! Module: executor::projection
//! Responsibility: scalar projection expression evaluation over materialized rows.
//! Does not own: planner expression typing/validation or grouped aggregate folds.
//! Boundary: pure evaluator + projected-row materialization for scalar load paths.

mod eval;
mod grouped;
mod materialize;
#[cfg(test)]
mod tests;

pub(in crate::db) use eval::{
    ProjectionEvalError, ScalarProjectionExpr, collapse_true_only_boolean_admission,
    eval_binary_expr, eval_canonical_scalar_projection_expr_with_required_value_reader_cow,
    eval_projection_function_call, eval_unary_expr, eval_value_projection_expr_with_value,
    projection_function_name,
};
pub(in crate::db::executor) use eval::{
    eval_scalar_projection_expr_with_value_reader,
    eval_scalar_projection_expr_with_value_ref_reader,
};
pub(in crate::db::executor) use grouped::*;
#[cfg(test)]
#[allow(unused_imports)]
pub(in crate::db) use materialize::PreparedProjectionPlan;
#[cfg(test)]
pub(in crate::db::executor::projection) use materialize::project_rows_from_projection;
pub(in crate::db) use materialize::{
    PreparedProjectionShape, prepare_projection_shape_from_plan,
    visit_prepared_projection_values_with_required_value_reader_cow,
};
pub(in crate::db::executor) use materialize::{
    PreparedSlotProjectionValidation, ProjectionValidationRow, validate_prepared_projection_row,
};
#[cfg(test)]
pub(in crate::db) use tests::projection_eval_data_row_for_materialize_tests;
#[cfg(test)]
pub(in crate::db) use tests::projection_eval_row_layout_for_materialize_tests;