| 525 | |
| 526 | private: |
| 527 | Status CheckStarted() { |
| 528 | if (!batch_writer_) { |
| 529 | return Status::Invalid("Writer not initialized. Call Begin() with a schema."); |
| 530 | } |
| 531 | return Status::OK(); |
| 532 | } |
| 533 | |
| 534 | std::shared_ptr<internal::ClientDataStream> stream_; |
| 535 | std::unique_ptr<ipc::RecordBatchWriter> batch_writer_; |