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

Method Consume

cpp/examples/arrow/engine_substrait_consumption.cc:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 arrow::Status Consume(cp::ExecBatch batch) override {
42 // Consume a batch of data
43 // (just print its row count to stdout)
44 std::cout << "-" << tag_ << " consumed " << batch.length << " rows" << std::endl;
45 return arrow::Status::OK();
46 }
47
48 arrow::Future<> Finish() override {
49 // Signal to the consumer that the last batch has been delivered

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected