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

Method finalize

src/binder/query/query_graph.cpp:259–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void QueryGraphCollection::finalize() {
260 common::idx_t baseGraphIdx = 0;
261 while (true) {
262 auto prevNumGraphs = queryGraphs.size();
263 queryGraphs = mergeGraphs(baseGraphIdx++);
264 if (queryGraphs.size() == prevNumGraphs || baseGraphIdx == queryGraphs.size()) {
265 return;
266 }
267 }
268}
269
270std::vector<QueryGraph> QueryGraphCollection::mergeGraphs(common::idx_t baseGraphIdx) {
271 DASSERT(baseGraphIdx < queryGraphs.size());

Callers 1

bindGraphPatternMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected