Transfers the resources of all contained row batches to `row_batch`.
| 110 | |
| 111 | /// Transfers the resources of all contained row batches to `row_batch`. |
| 112 | void TransferResourceOwnership(RowBatch* row_batch) { |
| 113 | DCHECK(row_batch != NULL); |
| 114 | for (int i = 0; i < row_batches_.size(); ++i) { |
| 115 | row_batches_[i]->TransferResourceOwnership(row_batch); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | /// Outputs a debug string containing the contents of the list. |
| 120 | std::string DebugString(const RowDescriptor& desc) { |