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

Method f_down

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

Source from the content-addressed store, hash-verified

4660 type Node = LogicalPlan;
4661
4662 fn f_down(&mut self, plan: &'n LogicalPlan) -> Result<TreeNodeRecursion> {
4663 let s = match plan {
4664 LogicalPlan::Projection { .. } => "pre_visit Projection",
4665 LogicalPlan::Filter { .. } => "pre_visit Filter",
4666 LogicalPlan::TableScan { .. } => "pre_visit TableScan",
4667 _ => {
4668 return not_impl_err!("unknown plan type");
4669 }
4670 };
4671
4672 self.strings.push(s.into());
4673 Ok(TreeNodeRecursion::Continue)
4674 }
4675
4676 fn f_up(&mut self, plan: &'n LogicalPlan) -> Result<TreeNodeRecursion> {
4677 let s = match plan {

Callers 1

visit_with_subqueriesMethod · 0.45

Calls 4

newFunction · 0.85
decMethod · 0.80
pushMethod · 0.45
intoMethod · 0.45

Tested by

no test coverage detected