| 377 | } |
| 378 | |
| 379 | Result<RecordBatchGenerator> JsonFileFormat::ScanBatchesAsync( |
| 380 | const std::shared_ptr<ScanOptions>& scan_options, |
| 381 | const std::shared_ptr<FileFragment>& file) const { |
| 382 | ARROW_ASSIGN_OR_RAISE(auto gen, MakeBatchGenerator(*this, scan_options, file)); |
| 383 | return MakeChunkedBatchGenerator(std::move(gen), scan_options->batch_size); |
| 384 | } |
| 385 | |
| 386 | Future<std::optional<int64_t>> JsonFileFormat::CountRows( |
| 387 | const std::shared_ptr<FileFragment>& file, compute::Expression predicate, |
nothing calls this directly
no test coverage detected