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

Method Consume

r/src/compute-exec.cpp:515–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513 }
514
515 arrow::Status Consume(compute::ExecBatch batch) override {
516 auto record_batch = batch.ToRecordBatch(schema_);
517 ARROW_RETURN_NOT_OK(record_batch);
518 batches_.push_back(record_batch.ValueUnsafe());
519
520 return arrow::Status::OK();
521 }
522
523 arrow::Future<> Finish() override { return arrow::Future<>::MakeFinished(); }
524

Callers

nothing calls this directly

Calls 4

ToRecordBatchMethod · 0.80
push_backMethod · 0.80
ValueUnsafeMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected