2014-08-22 00:57:20 +00:00
|
|
|
#include <DB/Functions/FunctionFactory.h>
|
2017-03-25 18:11:09 +00:00
|
|
|
#include <DB/Functions/FunctionsExternalDictionaries.h>
|
2014-08-22 00:57:20 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2017-03-26 00:42:01 +00:00
|
|
|
void registerFunctionsExternalDictionaries(FunctionFactory & factory)
|
2014-08-22 00:57:20 +00:00
|
|
|
{
|
2015-11-19 13:15:02 +00:00
|
|
|
factory.registerFunction<FunctionDictHas>();
|
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>();
|
2015-11-10 09:22:25 +00:00
|
|
|
factory.registerFunction<FunctionDictGetUInt8OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt16OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt32OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt64OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt8OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt16OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt32OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt64OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetFloat32OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetFloat64OrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetDateOrDefault>();
|
|
|
|
factory.registerFunction<FunctionDictGetDateTimeOrDefault>();
|
2015-11-06 14:49:54 +00:00
|
|
|
factory.registerFunction<FunctionDictGetStringOrDefault>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
2015-11-06 14:49:54 +00:00
|
|
|
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|