| 485 | } |
| 486 | |
| 487 | Result<std::shared_ptr<io::BufferOutputStream>> GetFileSink() { |
| 488 | ARROW_ASSIGN_OR_RAISE(std::shared_ptr<ResizableBuffer> buffer, |
| 489 | AllocateResizableBuffer(0)); |
| 490 | return std::make_shared<io::BufferOutputStream>(buffer); |
| 491 | } |
| 492 | |
| 493 | void SetSchema(std::vector<std::shared_ptr<Field>> fields) { |
| 494 | opts_->dataset_schema = schema(std::move(fields)); |
nothing calls this directly
no test coverage detected