| 508 | } |
| 509 | |
| 510 | CsvFileWriter::CsvFileWriter(std::shared_ptr<io::OutputStream> destination, |
| 511 | std::shared_ptr<ipc::RecordBatchWriter> writer, |
| 512 | std::shared_ptr<Schema> schema, |
| 513 | std::shared_ptr<CsvFileWriteOptions> options, |
| 514 | fs::FileLocator destination_locator) |
| 515 | : FileWriter(std::move(schema), std::move(options), std::move(destination), |
| 516 | std::move(destination_locator)), |
| 517 | batch_writer_(std::move(writer)) {} |
| 518 | |
| 519 | Status CsvFileWriter::Write(const std::shared_ptr<RecordBatch>& batch) { |
| 520 | return batch_writer_->WriteRecordBatch(*batch); |
nothing calls this directly
no outgoing calls
no test coverage detected