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

Method AddBatch

cpp/src/arrow/dataset/scanner_test.cc:402–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 void AddBatch(std::shared_ptr<RecordBatch> batch) {
403 active_fragment->scan_tasks_.emplace_back(std::move(batch));
404 active_fragment->has_started_.push_back(false);
405 }
406
407 std::unique_ptr<MockDataset> Finish() {
408 return std::make_unique<MockDataset>(std::move(dataset_schema), std::move(fragments));

Callers 4

MakeTestDatasetFunction · 0.80
TESTFunction · 0.80
MakePartitionSkipDatasetFunction · 0.80

Calls 2

emplace_backMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected