Structs§
- Compile
Context - Compilation context
- Compiled
Evaluator - Compiled expression evaluator using the Expression VM.
- Execute
Context - Execution context for the VM
- Expr
Compiler - Expression compiler
- ExprVM
- Expression
Eval - Lightweight expression evaluator using direct VM execution.
- Join
Filter - A filter for join condition evaluation between two rows.
- Multi
Expression Eval - Evaluates multiple expressions efficiently (for SELECT projections).
- Program
- Compiled expression program
- RowFilter
- A lightweight, thread-safe row filter for closure-based filtering.
Enums§
- Compile
Error - Compilation error
- Constant
- Constant value stored in the program
- Op
- Expression VM Operation
Traits§
- Subquery
Executor - Trait for executing subqueries
Functions§
- clear_
program_ cache - Clear the program cache. Call on database drop to release memory.
- compile_
expression - Compile an expression to a program for a given column schema.
- compile_
expression_ with_ context - Compile an expression with full context (parameters, outer columns, etc.)
- compute_
expression_ hash - Compute a u64 hash of an expression without string allocation. This is O(expression_size) and avoids Debug formatting overhead. Use this for cache keys instead of format!(“{:?}”, expr). Uses FxHasher which is 2-5x faster than SipHash for small keys.
- is_
non_ foldable_ function - Check if a function must NOT be constant-folded.
- try_
eval_ constant_ expr - Evaluate a column-free AST expression to a concrete Value at query time.
Type Aliases§
- Shared
Program - Shared program reference for zero-copy caching