| 261 | } |
| 262 | |
| 263 | inline TupleRow* IR_ALWAYS_INLINE HashTable::GetRow(HtData& htdata, TupleRow* row) const { |
| 264 | if (stores_tuples()) { |
| 265 | row->SetTuple(0, htdata.tuple); |
| 266 | // return reinterpret_cast<TupleRow*>(&htdata.tuple); |
| 267 | return row; |
| 268 | } else { |
| 269 | // TODO: GetTupleRow() has interpreted code that iterates over the row's descriptor. |
| 270 | tuple_stream_->GetTupleRow(htdata.flat_row, row); |
| 271 | return row; |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | template <HashTable::BucketType TYPE> |
| 276 | inline TupleRow* IR_ALWAYS_INLINE HashTable::GetRow( |