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