| 49 | } |
| 50 | |
| 51 | unique_ptr<RowBatch> BlockingRowBatchQueue::GetBatch() { |
| 52 | unique_ptr<RowBatch> result; |
| 53 | if (batch_queue_->BlockingGet(&result)) return result; |
| 54 | return unique_ptr<RowBatch>(); |
| 55 | } |
| 56 | |
| 57 | bool BlockingRowBatchQueue::IsFull() const { |
| 58 | return batch_queue_->AtCapacity(); |
nothing calls this directly
no test coverage detected