Return a descriptive string describing the type of this [`DdlStatement`]
(&self)
| 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> { |
no outgoing calls
no test coverage detected