Trait partiql_eval::eval::evaluable::Evaluable
source · pub trait Evaluable: Debug {
// Required methods
fn evaluate(&mut self, ctx: &dyn EvalContext) -> Value;
fn update_input(
&mut self,
input: Value,
branch_num: u8,
ctx: &dyn EvalContext
);
// Provided methods
fn get_vars(&self) -> Option<&[String]> { ... }
fn eval_type(&self) -> EvalType { ... }
}
Expand description
Evaluable
represents each evaluation operator in the evaluation plan as an evaluable entity.