| 397 | ~DictionaryPageBuilder() {} |
| 398 | |
| 399 | std::shared_ptr<Buffer> AppendValues(const std::vector<TC>& values) { |
| 400 | int num_values = static_cast<int>(values.size()); |
| 401 | // Dictionary encoding |
| 402 | encoder_->Put(values.data(), num_values); |
| 403 | num_dict_values_ = dict_traits_->num_entries(); |
| 404 | have_values_ = true; |
| 405 | return encoder_->FlushValues(); |
| 406 | } |
| 407 | |
| 408 | std::shared_ptr<Buffer> WriteDict() { |
| 409 | std::shared_ptr<Buffer> dict_buffer = |
nothing calls this directly
no test coverage detected