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

Method VisitBatchesAsync

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

Source from the content-addressed store, hash-verified

703}
704
705Future<> AsyncScanner::VisitBatchesAsync(std::function<Status(TaggedRecordBatch)> visitor,
706 Executor* executor) {
707 ARROW_ASSIGN_OR_RAISE(auto batches_gen, ScanBatchesAsync(executor));
708 return VisitAsyncGenerator(std::move(batches_gen), visitor);
709}
710
711Future<std::shared_ptr<Table>> AsyncScanner::ToTableAsync(Executor* cpu_executor) {
712 auto scan_options = scan_options_;

Callers

nothing calls this directly

Calls 1

VisitAsyncGeneratorFunction · 0.85

Tested by

no test coverage detected