| 1332 | static constexpr bool kIsFileFormat = false; |
| 1333 | |
| 1334 | Status Init(const std::shared_ptr<Schema>& schema, const IpcWriteOptions& options) { |
| 1335 | ARROW_ASSIGN_OR_RAISE(buffer_, AllocateResizableBuffer(0)); |
| 1336 | sink_.reset(new io::BufferOutputStream(buffer_)); |
| 1337 | ARROW_ASSIGN_OR_RAISE(writer_, MakeStreamWriter(sink_.get(), schema, options)); |
| 1338 | return Status::OK(); |
| 1339 | } |
| 1340 | |
| 1341 | Status WriteBatch(const std::shared_ptr<RecordBatch>& batch, |
| 1342 | const std::shared_ptr<const KeyValueMetadata>& metadata = nullptr) { |
nothing calls this directly
no test coverage detected