| 1557 | } |
| 1558 | |
| 1559 | Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter( |
| 1560 | io::OutputStream* sink, const std::shared_ptr<Schema>& schema, |
| 1561 | const IpcWriteOptions& options, |
| 1562 | const std::shared_ptr<const KeyValueMetadata>& metadata) { |
| 1563 | return std::make_shared<internal::IpcFormatWriter>( |
| 1564 | std::make_unique<internal::PayloadFileWriter>(options, schema, metadata, sink), |
| 1565 | schema, options, /*is_file_format=*/true); |
| 1566 | } |
| 1567 | |
| 1568 | Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter( |
| 1569 | std::shared_ptr<io::OutputStream> sink, const std::shared_ptr<Schema>& schema, |
no outgoing calls