Skip to main content

SplitFilter

Trait SplitFilter 

Source
pub trait SplitFilter: Send + Sync {
    // Required method
    fn current(&self) -> Option<Expression>;
}
Expand description

A filter that narrows a scan’s splits as they open, such as a bound that tightens while the rows already read are consumed. Each split reads with the filter as it stands when the split opens and may skip every row the filter then rejects, so it must reject only rows the reader does not need.

Required Methods§

Source

fn current(&self) -> Option<Expression>

The filter as it stands now, or None while it rejects nothing.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§