| 1719 | } |
| 1720 | |
| 1721 | NodeDescriptionPtr 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 | |
| 1734 | NodeDescriptionPtr NodeDescription::getPlanDescription(PlanNodePtr node) |
| 1735 | { |
nothing calls this directly
no test coverage detected