| 1541 | } // namespace internal |
| 1542 | |
| 1543 | Result<std::shared_ptr<RecordBatchWriter>> MakeStreamWriter( |
| 1544 | io::OutputStream* sink, const std::shared_ptr<Schema>& schema, |
| 1545 | const IpcWriteOptions& options) { |
| 1546 | return std::make_shared<internal::IpcFormatWriter>( |
| 1547 | std::make_unique<internal::PayloadStreamWriter>(sink, options), schema, options, |
| 1548 | /*is_file_format=*/false); |
| 1549 | } |
| 1550 | |
| 1551 | Result<std::shared_ptr<RecordBatchWriter>> MakeStreamWriter( |
| 1552 | std::shared_ptr<io::OutputStream> sink, const std::shared_ptr<Schema>& schema, |
no outgoing calls