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

Method ExecNode

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

Source from the content-addressed store, hash-verified

452std::string ExecPlan::ToString() const { return ToDerived(this)->ToString(); }
453
454ExecNode::ExecNode(ExecPlan* plan, NodeVector inputs,
455 std::vector<std::string> input_labels,
456 std::shared_ptr<Schema> output_schema)
457 : stopped_(false),
458 plan_(plan),
459 inputs_(std::move(inputs)),
460 input_labels_(std::move(input_labels)),
461 output_schema_(std::move(output_schema)) {
462 for (auto input : inputs_) {
463 DCHECK_NE(input, nullptr) << " null input";
464 DCHECK_EQ(input->output_, nullptr) << " attempt to add a second output to a node";
465 DCHECK(!input->is_sink()) << " attempt to add a sink node as input";
466 input->output_ = this;
467 }
468}
469
470const Ordering& ExecNode::ordering() const {
471 // The safest default is to assume a node destroys ordering

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected