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