Struct datafusion_expr::logical_plan::display::IndentVisitor
source · pub struct IndentVisitor<'a, 'b> { /* private fields */ }Expand description
Formats plans with a single line per node. For example:
Projection: id
Filter: state Eq Utf8("CO")
CsvScan: employee.csv projection=Some([0, 3])“;
Implementations§
Trait Implementations§
source§impl<'a, 'b> TreeNodeVisitor for IndentVisitor<'a, 'b>
impl<'a, 'b> TreeNodeVisitor for IndentVisitor<'a, 'b>
§type N = LogicalPlan
type N = LogicalPlan
The node type which is visitable.
source§fn pre_visit(&mut self, plan: &LogicalPlan) -> Result<VisitRecursion>
fn pre_visit(&mut self, plan: &LogicalPlan) -> Result<VisitRecursion>
Invoked before any children of
node are visited.source§fn post_visit(&mut self, _plan: &LogicalPlan) -> Result<VisitRecursion>
fn post_visit(&mut self, _plan: &LogicalPlan) -> Result<VisitRecursion>
Invoked after all children of
node are visited. Default
implementation does nothing.