2014-08-22 00:57:20 +00:00
|
|
|
#include <DB/Functions/FunctionFactory.h>
|
|
|
|
#include <DB/Functions/FunctionsString.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
void registerFunctionsString(FunctionFactory & factory)
|
|
|
|
{
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionEmpty>();
|
|
|
|
factory.registerFunction<FunctionNotEmpty>();
|
|
|
|
factory.registerFunction<FunctionLength>();
|
|
|
|
factory.registerFunction<FunctionLengthUTF8>();
|
|
|
|
factory.registerFunction<FunctionLower>();
|
|
|
|
factory.registerFunction<FunctionUpper>();
|
|
|
|
factory.registerFunction<FunctionLowerUTF8>();
|
|
|
|
factory.registerFunction<FunctionUpperUTF8>();
|
|
|
|
factory.registerFunction<FunctionReverse>();
|
|
|
|
factory.registerFunction<FunctionReverseUTF8>();
|
|
|
|
factory.registerFunction<FunctionConcat>();
|
2015-10-14 12:46:42 +00:00
|
|
|
factory.registerFunction<FunctionConcatAssumeInjective>();
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionSubstring>();
|
|
|
|
factory.registerFunction<FunctionSubstringUTF8>();
|
2014-11-21 17:42:51 +00:00
|
|
|
factory.registerFunction<FunctionAppendTrailingCharIfAbsent>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|