mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-18 22:40:50 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
37 lines
1.2 KiB
C++
37 lines
1.2 KiB
C++
#include "DictionaryFactory.h"
|
|
#include "DictionarySourceFactory.h"
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerDictionaries()
|
|
{
|
|
{
|
|
auto & source_factory = DictionarySourceFactory::instance();
|
|
registerDictionarySourceFile(source_factory);
|
|
registerDictionarySourceMysql(source_factory);
|
|
registerDictionarySourceClickHouse(source_factory);
|
|
registerDictionarySourceMongoDB(source_factory);
|
|
registerDictionarySourceRedis(source_factory);
|
|
registerDictionarySourceXDBC(source_factory);
|
|
registerDictionarySourceJDBC(source_factory);
|
|
registerDictionarySourceExecutable(source_factory);
|
|
registerDictionarySourceHTTP(source_factory);
|
|
registerDictionarySourceLibrary(source_factory);
|
|
}
|
|
|
|
{
|
|
auto & factory = DictionaryFactory::instance();
|
|
registerDictionaryRangeHashed(factory);
|
|
registerDictionaryComplexKeyHashed(factory);
|
|
registerDictionaryComplexKeyCache(factory);
|
|
registerDictionaryTrie(factory);
|
|
registerDictionaryFlat(factory);
|
|
registerDictionaryHashed(factory);
|
|
registerDictionaryCache(factory);
|
|
registerDictionaryPolygon(factory);
|
|
}
|
|
}
|
|
|
|
}
|