pub trait ProjectExpression: Send + Sync {
// Required method
fn evaluate(&self, chunk: &DataChunk, row: usize) -> Value;
// Provided method
fn evaluate_batch(&self, chunk: &DataChunk) -> ValueVector { ... }
}Expand description
Expression that can be evaluated to produce a value.
Required Methods§
Provided Methods§
Sourcefn evaluate_batch(&self, chunk: &DataChunk) -> ValueVector
fn evaluate_batch(&self, chunk: &DataChunk) -> ValueVector
Evaluate the expression for all rows, returning a vector.