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

Method fmt

datafusion/expr/src/logical_plan/plan.rs:1692–1699  ·  view source on GitHub ↗
(&self, f: &mut Formatter)

Source from the content-addressed store, hash-verified

1690 struct Wrapper<'a>(&'a LogicalPlan);
1691 impl Display for Wrapper<'_> {
1692 fn fmt(&self, f: &mut Formatter) -> fmt::Result {
1693 let with_schema = false;
1694 let mut visitor = IndentVisitor::new(f, with_schema);
1695 match self.0.visit_with_subqueries(&mut visitor) {
1696 Ok(_) => Ok(()),
1697 Err(_) => Err(fmt::Error),
1698 }
1699 }
1700 }
1701 Wrapper(self)
1702 }

Callers

nothing calls this directly

Calls 15

newFunction · 0.85
visit_with_subqueriesMethod · 0.80
pre_visit_planMethod · 0.80
post_visit_planMethod · 0.80
set_with_schemaMethod · 0.80
collectMethod · 0.80
is_noneMethod · 0.80
get_skip_typeMethod · 0.80
get_fetch_typeMethod · 0.80
columnsMethod · 0.80
display_indentMethod · 0.80
with_schemaMethod · 0.45

Tested by

no test coverage detected