Skip to main content

VectorPredicate

Trait VectorPredicate 

Source
pub trait VectorPredicate: Send + Sync {
    // Required methods
    fn evaluate(&self, column: &ColumnVector) -> Vec<bool>;
    fn column_name(&self) -> &str;
}
Expand description

Predicate for vectorized filtering

Required Methods§

Source

fn evaluate(&self, column: &ColumnVector) -> Vec<bool>

Apply predicate to a column vector, returning selection bitmap

Source

fn column_name(&self) -> &str

Get the column name this predicate operates on

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§