MCPcopy Create free account
hub / github.com/ByConity/ByConity / getPlanDescription

Method getPlanDescription

src/QueryPlan/PlanPrinter.cpp:1721–1732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1719}
1720
1721NodeDescriptionPtr NodeDescription::getPlanDescription(QueryPlan::Node * node)
1722{
1723 auto description = std::make_shared<NodeDescription>();
1724 description->node_id = node->id;
1725 description->setStepDetail(node->step);
1726 for (auto * child : node->children)
1727 {
1728 auto child_desc = getPlanDescription(child);
1729 description->children.emplace_back(child_desc);
1730 }
1731 return description;
1732}
1733
1734NodeDescriptionPtr NodeDescription::getPlanDescription(PlanNodePtr node)
1735{

Callers

nothing calls this directly

Calls 6

setStepDetailMethod · 0.80
getStepMethod · 0.80
setStepStatisticMethod · 0.80
getChildrenMethod · 0.80
emplace_backMethod · 0.45
getIdMethod · 0.45

Tested by

no test coverage detected