| 227 | } |
| 228 | |
| 229 | IpcFileWriter::IpcFileWriter(std::shared_ptr<io::OutputStream> destination, |
| 230 | std::shared_ptr<ipc::RecordBatchWriter> writer, |
| 231 | std::shared_ptr<Schema> schema, |
| 232 | std::shared_ptr<IpcFileWriteOptions> options, |
| 233 | fs::FileLocator destination_locator) |
| 234 | : FileWriter(std::move(schema), std::move(options), std::move(destination), |
| 235 | std::move(destination_locator)), |
| 236 | batch_writer_(std::move(writer)) {} |
| 237 | |
| 238 | Status IpcFileWriter::Write(const std::shared_ptr<RecordBatch>& batch) { |
| 239 | return batch_writer_->WriteRecordBatch(*batch); |
nothing calls this directly
no outgoing calls
no test coverage detected