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
sourceimpl PhysicalIoExpr for PhysicalIoHelper
impl PhysicalIoExpr for PhysicalIoHelper
sourcefn evaluate(&self, df: &DataFrame) -> Result<Series>
fn evaluate(&self, df: &DataFrame) -> Result<Series>
Take a DataFrame
and produces a boolean Series
that serves
as a predicate mask Read more
sourcefn as_stats_evaluator(&self) -> Option<&dyn StatsEvaluator>
fn as_stats_evaluator(&self) -> Option<&dyn StatsEvaluator>
Can take &dyn Statistics and determine of a file should be
read -> true
or not -> false
Read more
Auto Trait Implementations
impl !RefUnwindSafe for PhysicalIoHelper
impl Send for PhysicalIoHelper
impl Sync for PhysicalIoHelper
impl Unpin for PhysicalIoHelper
impl !UnwindSafe for PhysicalIoHelper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more