| 413 | } |
| 414 | |
| 415 | std::string RowVector::toString(vector_size_t index) const { |
| 416 | BOLT_CHECK_LT(index, length_, "Vector index should be less than length."); |
| 417 | if (isNullAt(index)) { |
| 418 | return "null"; |
| 419 | } |
| 420 | std::stringstream out; |
| 421 | out << "{"; |
| 422 | for (int32_t i = 0; i < children_.size(); ++i) { |
| 423 | if (i > 0) { |
| 424 | out << ", "; |
| 425 | } |
| 426 | out << (children_[i] ? children_[i]->toString(index) : "<not set>"); |
| 427 | } |
| 428 | out << "}"; |
| 429 | return out.str(); |
| 430 | } |
| 431 | |
| 432 | void RowVector::ensureWritable(const SelectivityVector& rows) { |
| 433 | for (int i = 0; i < childrenSize_; i++) { |
nothing calls this directly
no test coverage detected