| 220 | : schema_(std::move(schema)), num_rows_(num_rows) {} |
| 221 | |
| 222 | std::shared_ptr<RecordBatch> RecordBatch::Make( |
| 223 | std::shared_ptr<Schema> schema, int64_t num_rows, |
| 224 | std::vector<std::shared_ptr<Array>> columns, |
| 225 | std::shared_ptr<Device::SyncEvent> sync_event) { |
| 226 | DCHECK_EQ(schema->num_fields(), static_cast<int>(columns.size())); |
| 227 | return std::make_shared<SimpleRecordBatch>(std::move(schema), num_rows, |
| 228 | std::move(columns), std::move(sync_event)); |
| 229 | } |
| 230 | |
| 231 | std::shared_ptr<RecordBatch> RecordBatch::Make( |
| 232 | std::shared_ptr<Schema> schema, int64_t num_rows, |
nothing calls this directly
no test coverage detected