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

Method mapCreateGraph

src/processor/map/map_simple.cpp:152–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152std::unique_ptr<PhysicalOperator> PlanMapper::mapCreateGraph(
153 const LogicalOperator* logicalOperator) {
154 auto createGraph = logicalOperator->constPtrCast<LogicalCreateGraph>();
155 auto printInfo = std::make_unique<OPPrintInfo>();
156 auto messageTable =
157 FactorizedTableUtils::getSingleStringColumnFTable(MemoryManager::Get(*clientContext));
158 return std::make_unique<CreateGraph>(createGraph->getGraphName(), createGraph->isAnyGraph(),
159 std::move(messageTable), getOperatorID(), std::move(printInfo));
160}
161
162std::unique_ptr<PhysicalOperator> PlanMapper::mapUseGraph(const LogicalOperator* logicalOperator) {
163 auto useGraph = logicalOperator->constPtrCast<LogicalUseGraph>();

Callers

nothing calls this directly

Calls 3

getOperatorIDFunction · 0.85
getGraphNameMethod · 0.45
isAnyGraphMethod · 0.45

Tested by

no test coverage detected