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

Method DummyNode

cpp/src/arrow/dataset/test_util_internal.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65struct DummyNode : ExecNode {
66 DummyNode(ExecPlan* plan, NodeVector inputs, bool is_sink,
67 StartProducingFunc start_producing, StopProducingFunc stop_producing)
68 : ExecNode(plan, std::move(inputs), {}, (is_sink) ? nullptr : dummy_schema()),
69 start_producing_(std::move(start_producing)),
70 stop_producing_(std::move(stop_producing)) {
71 input_labels_.resize(inputs_.size());
72 for (size_t i = 0; i < input_labels_.size(); ++i) {
73 input_labels_[i] = std::to_string(i);
74 }
75 }
76
77 const char* kind_name() const override { return "Dummy"; }
78

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.85
resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected