MCPcopy Create free account
hub / github.com/apache/datafusion / f_down

Method f_down

datafusion/expr/src/logical_plan/display.rs:65–80  ·  view source on GitHub ↗
(
        &mut self,
        plan: &'n LogicalPlan,
    )

Source from the content-addressed store, hash-verified

63 type Node = LogicalPlan;
64
65 fn f_down(
66 &mut self,
67 plan: &'n LogicalPlan,
68 ) -> datafusion_common::Result<TreeNodeRecursion> {
69 if self.indent > 0 {
70 writeln!(self.f)?;
71 }
72 write!(self.f, "{:indent$}", "", indent = self.indent * 2)?;
73 write!(self.f, "{}", plan.display())?;
74 if self.with_schema {
75 write!(self.f, " {}", display_schema(plan.schema().as_arrow()))?;
76 }
77
78 self.indent += 1;
79 Ok(TreeNodeRecursion::Continue)
80 }
81
82 fn f_up(
83 &mut self,

Callers

nothing calls this directly

Calls 13

next_idMethod · 0.80
add_nodeMethod · 0.80
lastMethod · 0.80
add_edgeMethod · 0.80
collectMethod · 0.80
pushMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45
fieldsMethod · 0.45
schemaMethod · 0.45
to_stringMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected