MCPcopy Create free account
hub / github.com/apache/arrow / Visit

Method Visit

cpp/src/arrow/acero/exec_plan.cc:257–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 }
256
257 void Visit(ExecNode* node) {
258 if (visited.count(node) != 0) return;
259
260 for (auto input : node->inputs()) {
261 // Ensure that producers are inserted before this consumer
262 Visit(input);
263 }
264
265 sorted[visited.size()] = node;
266 visited.insert(node);
267 }
268 };
269
270 return std::move(Impl{nodes_}.sorted);

Callers

nothing calls this directly

Calls 5

push_backMethod · 0.80
VisitFunction · 0.50
countMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected