ClickHouse/dbms/include/DB/Dictionaries/DictionaryFactory.h

21 lines
397 B
C++
Raw Normal View History

#pragma once
2015-02-03 17:03:35 +00:00
#include <DB/Dictionaries/IDictionary.h>
#include <Poco/Util/AbstractConfiguration.h>
#include <common/singleton.h>
namespace DB
{
2015-02-03 17:03:35 +00:00
class Context;
class DictionaryFactory : public Singleton<DictionaryFactory>
{
public:
DictionaryPtr create(const std::string & name, Poco::Util::AbstractConfiguration & config,
2015-02-03 17:03:35 +00:00
const std::string & config_prefix, Context & context) const;
};
}