2014-08-22 00:57:20 +00:00
|
|
|
#include <DB/Functions/FunctionFactory.h>
|
|
|
|
#include <DB/Functions/FunctionsDictionaries.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
void registerFunctionsDictionaries(FunctionFactory & factory)
|
|
|
|
{
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionRegionToCity>();
|
|
|
|
factory.registerFunction<FunctionRegionToArea>();
|
|
|
|
factory.registerFunction<FunctionRegionToDistrict>();
|
|
|
|
factory.registerFunction<FunctionRegionToCountry>();
|
|
|
|
factory.registerFunction<FunctionRegionToContinent>();
|
2014-11-20 00:05:14 +00:00
|
|
|
factory.registerFunction<FunctionRegionToPopulation>();
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionOSToRoot>();
|
|
|
|
factory.registerFunction<FunctionSEToRoot>();
|
|
|
|
factory.registerFunction<FunctionRegionIn>();
|
|
|
|
factory.registerFunction<FunctionOSIn>();
|
|
|
|
factory.registerFunction<FunctionSEIn>();
|
|
|
|
factory.registerFunction<FunctionRegionHierarchy>();
|
|
|
|
factory.registerFunction<FunctionOSHierarchy>();
|
|
|
|
factory.registerFunction<FunctionSEHierarchy>();
|
|
|
|
factory.registerFunction<FunctionRegionToName>();
|
2015-01-22 14:32:38 +00:00
|
|
|
factory.registerFunction<FunctionDictGetUInt8>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt16>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt32>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt64>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt8>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt16>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt32>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt64>();
|
2015-01-28 15:02:05 +00:00
|
|
|
factory.registerFunction<FunctionDictGetFloat32>();
|
|
|
|
factory.registerFunction<FunctionDictGetFloat64>();
|
2015-03-20 15:21:29 +00:00
|
|
|
factory.registerFunction<FunctionDictGetDate>();
|
|
|
|
factory.registerFunction<FunctionDictGetDateTime>();
|
2015-01-21 11:39:48 +00:00
|
|
|
factory.registerFunction<FunctionDictGetString>();
|
2015-01-28 13:20:20 +00:00
|
|
|
factory.registerFunction<FunctionDictGetHierarchy>();
|
|
|
|
factory.registerFunction<FunctionDictIsIn>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
2015-01-21 11:39:48 +00:00
|
|
|
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|