| 548 | } |
| 549 | |
| 550 | CollectionVal SlotRef::GetCollectionValInterpreted( |
| 551 | ScalarExprEvaluator* eval, const TupleRow* row) const { |
| 552 | DCHECK(type_.IsCollectionType()); |
| 553 | Tuple* t = row->GetTuple(tuple_idx_); |
| 554 | if (t == nullptr || t->IsNull(null_indicator_offset_)) return CollectionVal::null(); |
| 555 | CollectionValue* coll_value = |
| 556 | reinterpret_cast<CollectionValue*>(t->GetSlot(slot_offset_)); |
| 557 | return CollectionVal(coll_value->ptr, coll_value->num_tuples); |
| 558 | } |
| 559 | |
| 560 | StructVal SlotRef::GetStructValInterpreted( |
| 561 | ScalarExprEvaluator* eval, const TupleRow* row) const { |
nothing calls this directly
no test coverage detected