| 1551 | } |
| 1552 | |
| 1553 | void WriteDictionaryPage() override { |
| 1554 | DCHECK(current_dict_encoder_); |
| 1555 | std::shared_ptr<ResizableBuffer> buffer = AllocateBuffer( |
| 1556 | properties_->memory_pool(), current_dict_encoder_->dict_encoded_size()); |
| 1557 | current_dict_encoder_->WriteDict(buffer->mutable_data()); |
| 1558 | |
| 1559 | DictionaryPage page(buffer, current_dict_encoder_->num_entries(), |
| 1560 | properties_->dictionary_page_encoding()); |
| 1561 | total_bytes_written_ += pager_->WriteDictionaryPage(page); |
| 1562 | } |
| 1563 | |
| 1564 | StatisticsPair GetPageStatistics() override { |
| 1565 | StatisticsPair result; |
nothing calls this directly
no test coverage detected