MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / mapUseGraph

Method mapUseGraph

src/processor/map/map_simple.cpp:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162std::unique_ptr<PhysicalOperator> PlanMapper::mapUseGraph(const LogicalOperator* logicalOperator) {
163 auto useGraph = logicalOperator->constPtrCast<LogicalUseGraph>();
164 auto printInfo = std::make_unique<UseGraphPrintInfo>(useGraph->getGraphName());
165 auto messageTable =
166 FactorizedTableUtils::getSingleStringColumnFTable(MemoryManager::Get(*clientContext));
167 return std::make_unique<UseGraph>(useGraph->getGraphName(), std::move(messageTable),
168 getOperatorID(), std::move(printInfo));
169}
170
171} // namespace processor
172} // namespace lbug

Callers

nothing calls this directly

Calls 2

getOperatorIDFunction · 0.85
getGraphNameMethod · 0.45

Tested by

no test coverage detected