| 1698 | } |
| 1699 | |
| 1700 | Status CacheMetadata(const std::vector<int>& indices) { |
| 1701 | std::vector<io::ReadRange> ranges; |
| 1702 | if (!read_dictionaries_) { |
| 1703 | RETURN_NOT_OK(AddDictionaryRanges(&ranges)); |
| 1704 | } |
| 1705 | RETURN_NOT_OK(AddMetadataRanges(indices, &ranges)); |
| 1706 | return metadata_cache_->Cache(std::move(ranges)); |
| 1707 | } |
| 1708 | |
| 1709 | Status EnsureDictionaryReadStarted() { |
| 1710 | if (!dictionary_load_finished_.is_valid()) { |