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

Method Finish

cpp/src/arrow/dataset/scanner.cc:685–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683 }
684
685 RecordBatchVector Finish() {
686 RecordBatchVector all_batches;
687 for (auto& fragment_batches : batches) {
688 auto end = std::make_move_iterator(fragment_batches.end());
689 for (auto it = std::make_move_iterator(fragment_batches.begin()); it != end; it++) {
690 all_batches.push_back(*it);
691 }
692 }
693 return all_batches;
694 }
695};
696
697Status AsyncScanner::Scan(std::function<Status(TaggedRecordBatch)> visitor) {

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.80
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected