Return all inputs for this plan
(&self)
| 104 | |
| 105 | /// Return all inputs for this plan |
| 106 | pub fn inputs(&self) -> Vec<&LogicalPlan> { |
| 107 | match self { |
| 108 | DdlStatement::CreateExternalTable(_) => vec![], |
| 109 | DdlStatement::CreateCatalogSchema(_) => vec![], |
| 110 | DdlStatement::CreateCatalog(_) => vec![], |
| 111 | DdlStatement::CreateMemoryTable(CreateMemoryTable { input, .. }) => { |
| 112 | vec![input] |
| 113 | } |
| 114 | DdlStatement::CreateView(CreateView { input, .. }) => vec![input], |
| 115 | DdlStatement::CreateIndex(_) => vec![], |
| 116 | DdlStatement::DropTable(_) => vec![], |
| 117 | DdlStatement::DropView(_) => vec![], |
| 118 | DdlStatement::DropCatalogSchema(_) => vec![], |
| 119 | DdlStatement::CreateFunction(_) => vec![], |
| 120 | DdlStatement::DropFunction(_) => vec![], |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | /// Return a `format`able structure with the a human readable |
| 125 | /// description of this LogicalPlan node per node, not including |
no outgoing calls
no test coverage detected