| 1334 | // SelectionVector |
| 1335 | |
| 1336 | SelectionVector::SelectionVector(std::shared_ptr<ArrayData> data) |
| 1337 | : data_(std::move(data)) { |
| 1338 | DCHECK_EQ(Type::INT32, data_->type->id()); |
| 1339 | DCHECK_EQ(0, data_->GetNullCount()); |
| 1340 | indices_ = data_->GetValues<int32_t>(1); |
| 1341 | } |
| 1342 | |
| 1343 | SelectionVector::SelectionVector(const Array& arr) : SelectionVector(arr.data()) {} |
| 1344 |
nothing calls this directly
no test coverage detected