Enum polars_plan::logical_plan::FunctionNode
source · [−]pub enum FunctionNode {
Opaque {
function: Arc<dyn DataFrameUdf>,
schema: Option<Arc<dyn UdfSchema>>,
predicate_pd: bool,
projection_pd: bool,
fmt_str: &'static str,
},
Pipeline {
function: Arc<dyn DataFrameUdfMut>,
schema: SchemaRef,
},
Unnest {
columns: Arc<Vec<Arc<str>>>,
},
FastProjection {
columns: Arc<Vec<Arc<str>>>,
},
DropNulls {
subset: Arc<Vec<String>>,
},
Rechunk,
}
Variants
Opaque
Fields
function: Arc<dyn DataFrameUdf>
predicate_pd: bool
allow predicate pushdown optimizations
projection_pd: bool
allow projection pushdown optimizations
fmt_str: &'static str
Pipeline
Unnest
FastProjection
DropNulls
Rechunk
Implementations
sourceimpl FunctionNode
impl FunctionNode
pub fn evaluate(&mut self, df: DataFrame) -> PolarsResult<DataFrame>
Trait Implementations
sourceimpl Clone for FunctionNode
impl Clone for FunctionNode
sourcefn clone(&self) -> FunctionNode
fn clone(&self) -> FunctionNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FunctionNode
impl Debug for FunctionNode
sourceimpl<'de> Deserialize<'de> for FunctionNode
impl<'de> Deserialize<'de> for FunctionNode
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for FunctionNode
impl Display for FunctionNode
sourceimpl PartialEq<FunctionNode> for FunctionNode
impl PartialEq<FunctionNode> for FunctionNode
sourceimpl Serialize for FunctionNode
impl Serialize for FunctionNode
Auto Trait Implementations
impl !RefUnwindSafe for FunctionNode
impl Send for FunctionNode
impl Sync for FunctionNode
impl Unpin for FunctionNode
impl !UnwindSafe for FunctionNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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