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.Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for IndentVisitor<'a, 'b>
impl<'a, 'b> !Send for IndentVisitor<'a, 'b>
impl<'a, 'b> !Sync for IndentVisitor<'a, 'b>
impl<'a, 'b> Unpin for IndentVisitor<'a, 'b>
impl<'a, 'b> !UnwindSafe for IndentVisitor<'a, 'b>
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