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,
original: Option<Arc<LogicalPlan>>,
},
Unnest {
columns: Arc<Vec<Arc<str>>>,
},
FastProjection {
columns: Arc<Vec<Arc<str>>>,
},
DropNulls {
subset: Arc<Vec<String>>,
},
Rechunk,
}
Variants§
Implementations§
source§impl FunctionNode
impl FunctionNode
pub fn evaluate(&mut self, df: DataFrame) -> PolarsResult<DataFrame>
Trait Implementations§
source§impl Clone for FunctionNode
impl Clone for FunctionNode
source§fn clone(&self) -> FunctionNode
fn clone(&self) -> FunctionNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more