| 249 | } |
| 250 | |
| 251 | void RowTableImpl::UpdateBufferPointers() { |
| 252 | buffers_[0] = null_masks_.get(); |
| 253 | if (metadata_.is_fixed_length) { |
| 254 | buffers_[1] = rows_.get(); |
| 255 | buffers_[2] = nullptr; |
| 256 | } else { |
| 257 | buffers_[1] = offsets_.get(); |
| 258 | buffers_[2] = rows_.get(); |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | Status RowTableImpl::ResizeFixedLengthBuffers(int64_t num_extra_rows) { |
| 263 | if (rows_capacity_ >= num_rows_ + num_extra_rows) { |