Module evaluator

Module evaluator 

Source
Expand description

Expression evaluator for typed expressions.

Provides a lightweight, zero-allocation evaluator over typed expressions emitted by the planner. The evaluator operates on a borrowed row slice via EvalContext and returns SqlValue results or ExecutorError.

Re-exports§

pub use vector_ops::VectorError;
pub use vector_ops::VectorMetric;
pub use vector_ops::vector_distance;
pub use vector_ops::vector_similarity;

Modules§

vector_ops

Structs§

EvalContext
Evaluation context holds a borrowed row for zero-copy access.

Functions§

evaluate
Evaluate a typed expression against the provided evaluation context.