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

Method inputs

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

Return all inputs for this plan

(&self)

Source from the content-addressed store, hash-verified

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

Callers 5

apply_childrenMethod · 0.45
rewrite_extension_inputsFunction · 0.45
map_expressionsMethod · 0.45
add_missing_columnsMethod · 0.45
rewrite_sort_col_by_aggsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected