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

Function MakeExecNodeOrStop

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

Source from the content-addressed store, hash-verified

57}
58
59std::shared_ptr<acero::ExecNode> MakeExecNodeOrStop(
60 const std::string& factory_name, acero::ExecPlan* plan,
61 std::vector<acero::ExecNode*> inputs, const acero::ExecNodeOptions& options) {
62 return std::shared_ptr<acero::ExecNode>(
63 ValueOrStop(acero::MakeExecNode(factory_name, plan, std::move(inputs), options)),
64 [](...) {
65 // empty destructor: ExecNode lifetime is managed by an ExecPlan
66 });
67}
68
69// This class is a special RecordBatchReader that holds a reference to the
70// 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