| 1711 | } |
| 1712 | |
| 1713 | Status CacheMetadata(const std::vector<int>& indices) { |
| 1714 | std::vector<io::ReadRange> ranges; |
| 1715 | if (!read_dictionaries_) { |
| 1716 | RETURN_NOT_OK(AddDictionaryRanges(&ranges)); |
| 1717 | } |
| 1718 | RETURN_NOT_OK(AddMetadataRanges(indices, &ranges)); |
| 1719 | return metadata_cache_->Cache(std::move(ranges)); |
| 1720 | } |
| 1721 | |
| 1722 | Status EnsureDictionaryReadStarted() { |
| 1723 | if (!dictionary_load_finished_.is_valid()) { |