#pragma once #include #include namespace DB { class StorageDictionary; class ExternalLoaderDictionaryStorageConfigRepository : public IExternalLoaderConfigRepository { public: explicit ExternalLoaderDictionaryStorageConfigRepository(const StorageDictionary & dictionary_storage_); std::string getName() const override; std::set getAllLoadablesDefinitionNames() override; bool exists(const std::string & loadable_definition_name) override; LoadablesConfigurationPtr load(const std::string & loadable_definition_name) override; private: const StorageDictionary & dictionary_storage; }; }