| 1550 | } |
| 1551 | |
| 1552 | Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter( |
| 1553 | io::OutputStream* sink, const std::shared_ptr<Schema>& schema, |
| 1554 | const IpcWriteOptions& options, |
| 1555 | const std::shared_ptr<const KeyValueMetadata>& metadata) { |
| 1556 | return std::make_shared<internal::IpcFormatWriter>( |
| 1557 | std::make_unique<internal::PayloadFileWriter>(options, schema, metadata, sink), |
| 1558 | schema, options, /*is_file_format=*/true); |
| 1559 | } |
| 1560 | |
| 1561 | Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter( |
| 1562 | std::shared_ptr<io::OutputStream> sink, const std::shared_ptr<Schema>& schema, |
no outgoing calls