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

Method transform

datafusion/common/src/tree_node.rs:215–220  ·  view source on GitHub ↗

Recursively rewrite the node's children and then the node using `f` (a bottom-up post-order traversal). A synonym of [`Self::transform_up`].

(
        self,
        f: F,
    )

Source from the content-addressed store, hash-verified

213 ///
214 /// A synonym of [`Self::transform_up`].
215 fn transform<F: FnMut(Self) -> Result<Transformed<Self>>>(
216 self,
217 f: F,
218 ) -> Result<Transformed<Self>> {
219 self.transform_up(f)
220 }
221
222 /// Recursively rewrite the tree using `f` in a top-down (pre-order)
223 /// fashion.

Callers 6

strip_column_qualifiersFunction · 0.45
rewriteMethod · 0.45
rewriteMethod · 0.45
analyze_planMethod · 0.45
analyze_exprMethod · 0.45
replacementMethod · 0.45

Implementers 3

tree_node.rsdatafusion/expr/src/tree_node.rs
tree_node.rsdatafusion/expr/src/logical_plan/tree_
tree_node.rsdatafusion/common/src/tree_node.rs

Calls 1

transform_upMethod · 0.80

Tested by 4

rewriteMethod · 0.36
analyze_planMethod · 0.36
analyze_exprMethod · 0.36
replacementMethod · 0.36