| 412 | } |
| 413 | |
| 414 | Future<std::shared_ptr<FragmentScanner>> JsonFileFormat::BeginScan( |
| 415 | const FragmentScanRequest& scan_request, const InspectedFragment& inspected, |
| 416 | const FragmentScanOptions* format_options, compute::ExecContext* exec_context) const { |
| 417 | return JsonFragmentScanner::Make( |
| 418 | scan_request, static_cast<const JsonFragmentScanOptions&>(*format_options), |
| 419 | static_cast<const JsonInspectedFragment&>(inspected), exec_context->executor()); |
| 420 | } |
| 421 | |
| 422 | } // namespace dataset |
| 423 | } // namespace arrow |