2017-04-01 09:19:00 +00:00
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
#include <Functions/FunctionsExternalDictionaries.h>
|
2019-12-29 01:13:17 +00:00
|
|
|
|
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
|
|
|
{
|
2017-04-01 07:20:54 +00:00
|
|
|
factory.registerFunction<FunctionDictHas>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt8>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt16>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt32>();
|
|
|
|
factory.registerFunction<FunctionDictGetUInt64>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt8>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt16>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt32>();
|
|
|
|
factory.registerFunction<FunctionDictGetInt64>();
|
|
|
|
factory.registerFunction<FunctionDictGetFloat32>();
|
|
|
|
factory.registerFunction<FunctionDictGetFloat64>();
|
|
|
|
factory.registerFunction<FunctionDictGetDate>();
|
|
|
|
factory.registerFunction<FunctionDictGetDateTime>();
|
2017-11-14 00:08:54 +00:00
|
|
|
factory.registerFunction<FunctionDictGetUUID>();
|
2017-04-01 07:20:54 +00:00
|
|
|
factory.registerFunction<FunctionDictGetString>();
|
|
|
|
factory.registerFunction<FunctionDictGetHierarchy>();
|
|
|
|
factory.registerFunction<FunctionDictIsIn>();
|
|
|
|
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>();
|
2017-11-14 00:08:54 +00:00
|
|
|
factory.registerFunction<FunctionDictGetUUIDOrDefault>();
|
2017-04-01 07:20:54 +00:00
|
|
|
factory.registerFunction<FunctionDictGetStringOrDefault>();
|
2018-11-15 13:48:00 +00:00
|
|
|
factory.registerFunction<FunctionDictGetNoType>();
|
|
|
|
factory.registerFunction<FunctionDictGetNoTypeOrDefault>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
2015-11-06 14:49:54 +00:00
|
|
|
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|