mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
21 lines
411 B
C++
21 lines
411 B
C++
#pragma once
|
|
|
|
#include <Dictionaries/IDictionary.h>
|
|
#include <Poco/Util/AbstractConfiguration.h>
|
|
#include <ext/singleton.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
class DictionaryFactory : public ext::singleton<DictionaryFactory>
|
|
{
|
|
public:
|
|
DictionaryPtr create(const std::string & name, const Poco::Util::AbstractConfiguration & config,
|
|
const std::string & config_prefix, Context & context) const;
|
|
};
|
|
|
|
}
|