Module expr

Module expr 

Source
Expand description

Type-aware, Arrow-native predicate AST.

This module defines a small predicate-expression AST that is decoupled from Arrow’s concrete scalar types by using Literal. Concrete typing is deferred to the consumer (e.g., a table/scan layer) which knows the column types and can coerce Literal into native values.

Re-exports§

pub use crate::literal::*;

Structs§

Filter
Single predicate against a field.
ScalarSubqueryExpr
Scalar subquery evaluated as part of a scalar expression.
SubqueryExpr
Correlated subquery used within a predicate expression.
SubqueryId
Metadata describing a correlated subquery.

Enums§

AggregateCall
Aggregate function call within a scalar expression.
BinaryOp
Arithmetic operator for ScalarExpr.
CompareOp
Comparison operator for scalar expressions.
Expr
Logical expression over predicates.
Operator
Comparison/matching operators over untyped Literals.
ScalarExpr
Arithmetic scalar expression that can reference multiple fields.