| 389 | Status FlightDataStream::Close() { return Status::OK(); } |
| 390 | |
| 391 | RecordBatchStream::RecordBatchStream(const std::shared_ptr<RecordBatchReader>& reader, |
| 392 | const ipc::IpcWriteOptions& options) { |
| 393 | impl_.reset(new RecordBatchStreamImpl(reader, options)); |
| 394 | } |
| 395 | |
| 396 | RecordBatchStream::~RecordBatchStream() { |
| 397 | ARROW_WARN_NOT_OK(impl_->Close(), "Failed to close FlightDataStream"); |