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

Function MakeExecNodeOrStop

r/src/compute-exec.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57std::shared_ptr<acero::ExecNode> MakeExecNodeOrStop(
58 const std::string& factory_name, acero::ExecPlan* plan,
59 std::vector<acero::ExecNode*> inputs, const acero::ExecNodeOptions& options) {
60 return std::shared_ptr<acero::ExecNode>(
61 ValueOrStop(acero::MakeExecNode(factory_name, plan, std::move(inputs), options)),
62 [](...) {
63 // empty destructor: ExecNode lifetime is managed by an ExecPlan
64 });
65}
66
67// This class is a special RecordBatchReader that holds a reference to the
68// underlying exec plan so that (1) it can request that the ExecPlan *stop*

Callers 12

ExecPlan_runFunction · 0.85
ExecNode_ScanFunction · 0.85
ExecPlan_WriteFunction · 0.85
ExecNode_FilterFunction · 0.85
ExecNode_ProjectFunction · 0.85
ExecNode_AggregateFunction · 0.85
ExecNode_JoinFunction · 0.85
ExecNode_UnionFunction · 0.85
ExecNode_FetchFunction · 0.85
ExecNode_OrderByFunction · 0.85
ExecNode_SourceNodeFunction · 0.85
ExecNode_TableSourceNodeFunction · 0.85

Calls 2

ValueOrStopFunction · 0.85
MakeExecNodeFunction · 0.85

Tested by

no test coverage detected