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

Method apply_children

datafusion/common/src/tree_node.rs:1281–1286  ·  view source on GitHub ↗
(
        &'n self,
        f: F,
    )

Source from the content-addressed store, hash-verified

1279/// (such as [`Arc<dyn PhysicalExpr>`]).
1280impl<T: DynTreeNode + ?Sized> TreeNode for Arc<T> {
1281 fn apply_children<'n, F: FnMut(&'n Self) -> Result<TreeNodeRecursion>>(
1282 &'n self,
1283 f: F,
1284 ) -> Result<TreeNodeRecursion> {
1285 self.arc_children().into_iter().apply_until_stop(f)
1286 }
1287
1288 fn map_children<F: FnMut(Self) -> Result<Transformed<Self>>>(
1289 self,

Callers 2

visitMethod · 0.45
apply_implMethod · 0.45

Calls 6

apply_until_stopMethod · 0.80
into_iterMethod · 0.45
arc_childrenMethod · 0.45
iterMethod · 0.45
childrenMethod · 0.45
apply_elementsMethod · 0.45

Tested by

no test coverage detected