aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Dictionaries/Embedded/GeoDictionariesLoader.h
blob: d09e69cf561f12d9649c39e1ca82bc4c25d6590a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <memory>
#include "RegionsHierarchies.h"
#include "RegionsNames.h"

#include <Poco/Util/AbstractConfiguration.h>

// Default implementation of geo dictionaries loader used by native server application
class GeoDictionariesLoader
{
public:
    static std::unique_ptr<RegionsHierarchies> reloadRegionsHierarchies(const Poco::Util::AbstractConfiguration & config);
    static std::unique_ptr<RegionsNames> reloadRegionsNames(const Poco::Util::AbstractConfiguration & config);
};