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

Method Consume

cpp/src/arrow/dataset/file_base.cc:428–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426 }
427
428 Status Consume(compute::ExecBatch batch) override {
429 ARROW_ASSIGN_OR_RAISE(std::shared_ptr<RecordBatch> record_batch,
430 batch.ToRecordBatch(schema_));
431 return WriteNextBatch(std::move(record_batch), batch.guarantee);
432 }
433
434 Future<> Finish() override {
435 dataset_writer_->Finish();

Callers

nothing calls this directly

Calls 2

ToRecordBatchMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.50

Tested by

no test coverage detected