| 400 | } |
| 401 | |
| 402 | Result<std::shared_ptr<Table>> AsyncScanner::ToTable() { |
| 403 | return ::arrow::internal::RunSynchronously<Future<std::shared_ptr<Table>>>( |
| 404 | [this](::arrow::internal::Executor* executor) { return ToTableAsync(executor); }, |
| 405 | scan_options_->use_threads); |
| 406 | } |
| 407 | |
| 408 | Result<EnumeratedRecordBatchGenerator> AsyncScanner::ScanBatchesUnorderedAsync() { |
| 409 | return ScanBatchesUnorderedAsync(scan_options_->cpu_executor |
no outgoing calls