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

Method fmt_as

datafusion/datasource/src/sink.rs:164–172  ·  view source on GitHub ↗
(&self, t: DisplayFormatType, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

162
163impl DisplayAs for DataSinkExec {
164 fn fmt_as(&self, t: DisplayFormatType, f: &mut fmt::Formatter) -> fmt::Result {
165 match t {
166 DisplayFormatType::Default | DisplayFormatType::Verbose => {
167 write!(f, "DataSinkExec: sink=")?;
168 self.sink.fmt_as(t, f)
169 }
170 DisplayFormatType::TreeRender => self.sink().fmt_as(t, f),
171 }
172 }
173}
174
175impl ExecutionPlan for DataSinkExec {

Callers

nothing calls this directly

Calls 1

sinkMethod · 0.80

Tested by

no test coverage detected