| 53 | } |
| 54 | |
| 55 | inline void BufferedTupleStream::GetTupleRow(FlatRowPtr flat_row, TupleRow* row) const { |
| 56 | DCHECK(row != nullptr); |
| 57 | DCHECK(!closed_); |
| 58 | DCHECK(is_pinned()); |
| 59 | DCHECK(!read_it_.attach_on_read_); |
| 60 | uint8_t* data = flat_row; |
| 61 | return has_nullable_tuple_ ? UnflattenTupleRow<true>(&data, row) : |
| 62 | UnflattenTupleRow<false>(&data, row); |
| 63 | } |
| 64 | |
| 65 | template <bool HAS_NULLABLE_TUPLE> |
| 66 | inline void BufferedTupleStream::UnflattenTupleRow(uint8_t** data, TupleRow* row) const { |