datafusion_python::expr::logical_node

Trait LogicalNode

Source
pub trait LogicalNode {
    // Required methods
    fn inputs(&self) -> Vec<PyLogicalPlan>;
    fn to_variant(&self, py: Python<'_>) -> PyResult<PyObject>;
}
Expand description

Representation of a LogicalNode in the in overall LogicalPlan any “node” shares these common traits in common.

Required Methods§

Source

fn inputs(&self) -> Vec<PyLogicalPlan>

The input plan to the current logical node instance.

Source

fn to_variant(&self, py: Python<'_>) -> PyResult<PyObject>

Implementors§