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

Method setStepStatistic

src/QueryPlan/PlanPrinter.cpp:1599–1607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599void NodeDescription::setStepStatistic(PlanNodePtr node)
1600{
1601 if (node->getStatistics().has_value())
1602 {
1603 NodeDescription::StatisticInfo node_stats;
1604 node_stats.row_count = node->getStatistics().value()->getRowCount();
1605 stats = node_stats;
1606 }
1607}
1608
1609Poco::JSON::Object::Ptr
1610NodeDescription::jsonNodeDescription(const StepProfiles & node_profiles, bool print_stats, const PlanCostMap & costs)

Callers 1

getPlanDescriptionMethod · 0.80

Calls 4

has_valueMethod · 0.80
getStatisticsMethod · 0.80
getRowCountMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected