| 191 | } |
| 192 | |
| 193 | Status Validate() const override { |
| 194 | if (static_cast<int>(columns_.size()) != schema_->num_fields()) { |
| 195 | return Status::Invalid("Number of columns did not match schema"); |
| 196 | } |
| 197 | return RecordBatch::Validate(); |
| 198 | } |
| 199 | |
| 200 | const std::shared_ptr<Device::SyncEvent>& GetSyncEvent() const override { |
| 201 | return sync_event_; |
nothing calls this directly
no test coverage detected