Skip to main content

Predicate

Trait Predicate 

Source
pub trait Predicate: Send + Sync {
    // Required method
    fn evaluate(&self, chunk: &DataChunk, row: usize) -> bool;
}
Expand description

A predicate for filtering rows.

Required Methods§

Source

fn evaluate(&self, chunk: &DataChunk, row: usize) -> bool

Evaluates the predicate for a row.

Implementors§