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

Method SortedMergeNode

cpp/src/arrow/acero/sorted_merge_node.cc:260–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259 public:
260 SortedMergeNode(arrow::acero::ExecPlan* plan,
261 std::vector<arrow::acero::ExecNode*> inputs,
262 std::shared_ptr<arrow::Schema> output_schema,
263 arrow::Ordering new_ordering)
264 : ExecNode(plan, inputs, GetInputLabels(inputs), std::move(output_schema)),
265 ordering_(std::move(new_ordering)),
266 input_counter(inputs_.size()),
267 output_counter(inputs_.size())
268#ifdef ARROW_ENABLE_THREADING
269 ,
270 process_thread()
271#endif
272 {
273 SetLabel("sorted_merge");
274 }
275
276 ~SortedMergeNode() override {
277 PushTask(kPoisonPill);

Callers

nothing calls this directly

Calls 3

SetLabelFunction · 0.85
GetInputLabelsFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected