| 78 | } |
| 79 | |
| 80 | void DestinationBuffer::Stats::recordEnqueue(const SerializedPage& data) { |
| 81 | const auto numRows = data.numRows(); |
| 82 | BOLT_CHECK(numRows.has_value(), "SerializedPage's numRows must be valid"); |
| 83 | bytesBuffered += data.size(); |
| 84 | rowsBuffered += numRows.value(); |
| 85 | ++pagesBuffered; |
| 86 | } |
| 87 | |
| 88 | void DestinationBuffer::Stats::recordAcknowledge(const SerializedPage& data) { |
| 89 | const auto numRows = data.numRows(); |