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

Method name

datafusion/expr/src/logical_plan/ddl.rs:89–103  ·  view source on GitHub ↗

Return a descriptive string describing the type of this [`DdlStatement`]

(&self)

Source from the content-addressed store, hash-verified

87 /// Return a descriptive string describing the type of this
88 /// [`DdlStatement`]
89 pub fn name(&self) -> &str {
90 match self {
91 DdlStatement::CreateExternalTable(_) => "CreateExternalTable",
92 DdlStatement::CreateMemoryTable(_) => "CreateMemoryTable",
93 DdlStatement::CreateView(_) => "CreateView",
94 DdlStatement::CreateCatalogSchema(_) => "CreateCatalogSchema",
95 DdlStatement::CreateCatalog(_) => "CreateCatalog",
96 DdlStatement::CreateIndex(_) => "CreateIndex",
97 DdlStatement::DropTable(_) => "DropTable",
98 DdlStatement::DropView(_) => "DropView",
99 DdlStatement::DropCatalogSchema(_) => "DropCatalogSchema",
100 DdlStatement::CreateFunction(_) => "CreateFunction",
101 DdlStatement::DropFunction(_) => "DropFunction",
102 }
103 }
104
105 /// Return all inputs for this plan
106 pub fn inputs(&self) -> Vec<&LogicalPlan> {

Callers 11

f_downMethod · 0.45
fmtMethod · 0.45
try_newMethod · 0.45
intersect_or_exceptMethod · 0.45
unique_field_aliasesFunction · 0.45
project_with_validationFunction · 0.45
coerce_exprs_for_schemaFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected