MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getRootNode

Method getRootNode

src/Processors/QueryPlan/QueryPlan.h:177–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 static QueryPlan extractSubplan(Node * root, Nodes & nodes);
176
177 Node * getRootNode() const { return root; }
178 void replaceRootNode(Node * new_root) { root = new_root; }
179 static std::pair<Nodes, QueryPlanResourceHolder> detachNodesAndResources(QueryPlan && plan);
180 void replaceNodeWithPlan(Node * node, QueryPlan plan);

Callers 15

cFunction · 0.80
OeFunction · 0.80
decorrelateQueryPlanFunction · 0.80
buildPlanForQueryNodeMethod · 0.80
optimizePlanForExistsFunction · 0.80
createPlanForTableMethod · 0.80
requestReadingInOrderMethod · 0.80

Calls

no outgoing calls

Tested by 2