ClickHouse/dbms/src/Dictionaries/DictionaryFactory.h

21 lines
411 B
C++
Raw Normal View History

#pragma once
#include <Dictionaries/IDictionary.h>
#include <Poco/Util/AbstractConfiguration.h>
#include <ext/singleton.h>
namespace DB
{
2015-02-03 17:03:35 +00:00
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;
};
}