| 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 |