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

Method Impl

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

Source from the content-addressed store, hash-verified

244 NodeVector sorted;
245
246 explicit Impl(const std::vector<std::unique_ptr<ExecNode>>& nodes) : nodes(nodes) {
247 visited.reserve(nodes.size());
248 sorted.resize(nodes.size());
249
250 for (const auto& node : nodes) {
251 Visit(node.get());
252 }
253
254 DCHECK_EQ(visited.size(), nodes.size());
255 }
256
257 void Visit(ExecNode* node) {
258 if (visited.count(node) != 0) return;

Callers

nothing calls this directly

Calls 8

resizeMethod · 0.80
rbeginMethod · 0.80
rendMethod · 0.80
VisitFunction · 0.50
reserveMethod · 0.45
sizeMethod · 0.45
getMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected