MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / fmt_text

Method fmt_text

src/expr/src/explain.rs:84–94  ·  view source on GitHub ↗
(&self, f: &mut Formatter<'_>, ctx: &mut C)

Source from the content-addressed store, hash-verified

82 M: HumanizerMode,
83{
84 fn fmt_text(&self, f: &mut Formatter<'_>, ctx: &mut C) -> std::fmt::Result {
85 let PushdownInfo { pushdown } = self.expr;
86
87 if !pushdown.is_empty() {
88 let pushdown = pushdown.iter().map(|e| self.mode.expr(*e, self.cols));
89 let pushdown = separated(" AND ", pushdown);
90 writeln!(f, "{}pushdown=({})", ctx.as_mut(), pushdown)?;
91 }
92
93 Ok(())
94 }
95}
96
97#[allow(missing_debug_implementations)]

Callers

nothing calls this directly

Calls 10

indentedMethod · 0.80
childMethod · 0.80
separatedFunction · 0.50
is_emptyMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45
exprMethod · 0.45
humanize_idMethod · 0.45
as_refMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected