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