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

Method createQueryNode

src/binder/bind/bind_graph_pattern.cpp:603–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603std::shared_ptr<NodeExpression> Binder::createQueryNode(const NodePattern& nodePattern) {
604 auto parsedName = nodePattern.getVariableName();
605 auto [entries, dbNames] = bindNodeTableEntries(nodePattern.getTableNames());
606 // Store original labels before they might be replaced by _nodes for ANY graphs
607 std::vector<std::string> originalLabels = nodePattern.getTableNames();
608 auto node = createQueryNode(parsedName, entries, dbNames, originalLabels);
609 return node;
610}
611
612std::shared_ptr<NodeExpression> Binder::createQueryNode(const std::string& parsedName,
613 const std::vector<TableCatalogEntry*>& entries,

Callers 1

bindNodeOutputMethod · 0.80

Calls 15

getBaseNodeStructFieldsFunction · 0.85
createPropertyExpressionFunction · 0.85
constructFunction · 0.85
getTableNamesMethod · 0.80
emplace_backMethod · 0.80
getDataTypeMethod · 0.80
addPropertyExpressionMethod · 0.80
getPropertyNamesFunction · 0.70
rewriteFuncFunction · 0.50
getVariableNameMethod · 0.45
getPropertyNameMethod · 0.45

Tested by

no test coverage detected