Resets the cache such that subsequent calls to GetNextBatch() return batches from the beginning of the cache. All batches previously returned by GetNextBatch() are invalid.
| 56 | /// the beginning of the cache. All batches previously returned by GetNextBatch() |
| 57 | /// are invalid. |
| 58 | void Reset() { next_row_batch_idx_ = 0; } |
| 59 | |
| 60 | /// Delete and free resources associated with all cached batch objects. Must be called |
| 61 | /// before the RowBatchCache is destroyed. |