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

Method fmt

datafusion-examples/examples/sql_ops/custom_sql_parser.rs:257–262  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

255
256impl Display for CustomStatement {
257 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
258 match self {
259 Self::DFStatement(s) => write!(f, "{s}"),
260 Self::CreateExternalCatalog(s) => write!(f, "{s}"),
261 }
262 }
263}
264
265impl Display for CreateExternalCatalog {

Callers

nothing calls this directly

Calls 2

is_emptyMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected