Struct polars_lazy::physical_plan::expressions::PhysicalIoHelper
source · pub struct PhysicalIoHelper {
pub expr: Arc<dyn PhysicalExpr>,
}
Expand description
Wrapper struct that allow us to use a PhysicalExpr in polars-io.
This is used to filter rows during the scan of file.
Fields§
§expr: Arc<dyn PhysicalExpr>
Trait Implementations§
source§impl PhysicalIoExpr for PhysicalIoHelper
impl PhysicalIoExpr for PhysicalIoHelper
source§fn evaluate(&self, df: &DataFrame) -> PolarsResult<Series>
fn evaluate(&self, df: &DataFrame) -> PolarsResult<Series>
Take a
DataFrame
and produces a boolean Series
that serves
as a predicate masksource§fn as_stats_evaluator(&self) -> Option<&dyn StatsEvaluator>
fn as_stats_evaluator(&self) -> Option<&dyn StatsEvaluator>
Available on crate feature
parquet
only.Can take &dyn Statistics and determine of a file should be
read ->
true
or not -> false