Trait polars_io::predicates::PhysicalIoExpr

source ·
pub trait PhysicalIoExpr: Send + Sync {
    // Required method
    fn evaluate_io(&self, df: &DataFrame) -> PolarsResult<Series>;

    // Provided method
    fn as_stats_evaluator(&self) -> Option<&dyn StatsEvaluator> { ... }
}

Required Methods§

source

fn evaluate_io(&self, df: &DataFrame) -> PolarsResult<Series>

Take a DataFrame and produces a boolean Series that serves as a predicate mask

Provided Methods§

source

fn as_stats_evaluator(&self) -> Option<&dyn StatsEvaluator>

Can take &dyn Statistics and determine of a file should be read -> true or not -> false

Implementors§