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

Method apply_with_subqueries_impl

datafusion/expr/src/logical_plan/tree_node.rs:717–729  ·  view source on GitHub ↗
(
            node: &LogicalPlan,
            f: &mut F,
        )

Source from the content-addressed store, hash-verified

715 ) -> Result<TreeNodeRecursion> {
716 #[cfg_attr(feature = "recursive_protection", recursive::recursive)]
717 fn apply_with_subqueries_impl<
718 F: FnMut(&LogicalPlan) -> Result<TreeNodeRecursion>,
719 >(
720 node: &LogicalPlan,
721 f: &mut F,
722 ) -> Result<TreeNodeRecursion> {
723 f(node)?.visit_children(|| {
724 node.apply_subqueries(|c| apply_with_subqueries_impl(c, f))?
725 .visit_sibling(|| {
726 node.apply_children(|c| apply_with_subqueries_impl(c, f))
727 })
728 })
729 }
730
731 apply_with_subqueries_impl(self, &mut f)
732 }

Callers

nothing calls this directly

Calls 4

visit_childrenMethod · 0.80
visit_siblingMethod · 0.80
apply_subqueriesMethod · 0.80
apply_childrenMethod · 0.45

Tested by

no test coverage detected