| 332 | } |
| 333 | |
| 334 | Status OnRecordBatchWithMetadataDecoded( |
| 335 | RecordBatchWithMetadata record_batch_with_metadata) override { |
| 336 | record_batches_.push_back(std::move(record_batch_with_metadata.batch)); |
| 337 | metadatas_.push_back(std::move(record_batch_with_metadata.custom_metadata)); |
| 338 | return Status::OK(); |
| 339 | } |
| 340 | |
| 341 | /// \return the decoded schema |
| 342 | std::shared_ptr<Schema> schema() const { return schema_; } |