pub struct ColumnPredicateExpr { /* private fields */ }Implementations§
Source§impl ColumnPredicateExpr
impl ColumnPredicateExpr
pub fn new( column_name: PlSmallStr, dtype: DataType, source_arrow_dtype: ArrowDataType, expr: Arc<dyn PhysicalIoExpr>, specialized: Option<SpecializedColumnPredicate>, ) -> Self
Trait Implementations§
Source§impl Clone for ColumnPredicateExpr
impl Clone for ColumnPredicateExpr
Source§fn clone(&self) -> ColumnPredicateExpr
fn clone(&self) -> ColumnPredicateExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ParquetColumnExpr for ColumnPredicateExpr
Available on crate feature parquet only.
impl ParquetColumnExpr for ColumnPredicateExpr
Available on crate feature
parquet only.fn try_evaluate_mut( &self, values: &dyn Array, bm: &mut BitmapBuilder, ) -> PolarsResult<()>
Source§fn evaluate_null(&self) -> PolarsResult<bool>
fn evaluate_null(&self) -> PolarsResult<bool>
The predicate result for a null value. This can fail, e.g. when the predicate casts the
value after
fill_null, so it should only be called if there is a null.Source§fn can_evaluate_null_slots(&self) -> bool
fn can_evaluate_null_slots(&self) -> bool
Whether the placeholder values under null rows can be evaluated with the results thrown
away. This is not the case if evaluating them can have side effects or fail.
fn as_specialized(&self) -> Option<&SpecializedParquetColumnExpr>
fn evaluate(&self, values: &(dyn Array + 'static)) -> Bitmap
fn try_evaluate( &self, values: &(dyn Array + 'static), ) -> Result<Bitmap, PolarsError>
fn evaluate_mut(&self, values: &(dyn Array + 'static), bm: &mut BitmapBuilder)
Auto Trait Implementations§
impl !RefUnwindSafe for ColumnPredicateExpr
impl !UnwindSafe for ColumnPredicateExpr
impl Freeze for ColumnPredicateExpr
impl Send for ColumnPredicateExpr
impl Sync for ColumnPredicateExpr
impl Unpin for ColumnPredicateExpr
impl UnsafeUnpin for ColumnPredicateExpr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more