| 268 | |
| 269 | private: |
| 270 | Status CheckStarted() { |
| 271 | if (!batch_writer_) { |
| 272 | return Status::Invalid("This writer is not started. Call Begin() with a schema"); |
| 273 | } |
| 274 | return Status::OK(); |
| 275 | } |
| 276 | |
| 277 | ServerDataStream* stream_; |
| 278 | std::unique_ptr<ipc::RecordBatchWriter> batch_writer_; |