ClickHouse/dbms/src/Functions/registerFunctionsString.cpp

69 lines
2.4 KiB
C++
Raw Normal View History

2019-06-20 09:12:49 +00:00
#include "config_functions.h"
2018-09-09 23:36:06 +00:00
namespace DB
{
2019-12-29 01:13:17 +00:00
class FunctionFactory;
void registerFunctionRepeat(FunctionFactory &);
void registerFunctionEmpty(FunctionFactory &);
void registerFunctionNotEmpty(FunctionFactory &);
void registerFunctionLength(FunctionFactory &);
void registerFunctionLengthUTF8(FunctionFactory &);
void registerFunctionIsValidUTF8(FunctionFactory &);
void registerFunctionToValidUTF8(FunctionFactory &);
void registerFunctionLower(FunctionFactory &);
void registerFunctionUpper(FunctionFactory &);
void registerFunctionLowerUTF8(FunctionFactory &);
void registerFunctionUpperUTF8(FunctionFactory &);
void registerFunctionReverse(FunctionFactory &);
void registerFunctionReverseUTF8(FunctionFactory &);
void registerFunctionsConcat(FunctionFactory &);
void registerFunctionFormat(FunctionFactory &);
void registerFunctionSubstring(FunctionFactory &);
void registerFunctionCRC(FunctionFactory &);
void registerFunctionAppendTrailingCharIfAbsent(FunctionFactory &);
void registerFunctionStartsWith(FunctionFactory &);
void registerFunctionEndsWith(FunctionFactory &);
void registerFunctionTrim(FunctionFactory &);
void registerFunctionRegexpQuoteMeta(FunctionFactory &);
#if USE_BASE64
void registerFunctionBase64Encode(FunctionFactory &);
void registerFunctionBase64Decode(FunctionFactory &);
void registerFunctionTryBase64Decode(FunctionFactory &);
#endif
2018-09-09 23:36:06 +00:00
void registerFunctionsString(FunctionFactory & factory)
{
2019-09-19 16:46:41 +00:00
registerFunctionRepeat(factory);
2018-09-09 23:36:06 +00:00
registerFunctionEmpty(factory);
registerFunctionNotEmpty(factory);
registerFunctionLength(factory);
registerFunctionLengthUTF8(factory);
2019-05-17 12:55:21 +00:00
registerFunctionIsValidUTF8(factory);
registerFunctionToValidUTF8(factory);
2018-09-09 23:36:06 +00:00
registerFunctionLower(factory);
registerFunctionUpper(factory);
registerFunctionLowerUTF8(factory);
registerFunctionUpperUTF8(factory);
registerFunctionReverse(factory);
registerFunctionCRC(factory);
2018-09-09 23:36:06 +00:00
registerFunctionReverseUTF8(factory);
registerFunctionsConcat(factory);
2019-05-18 11:30:36 +00:00
registerFunctionFormat(factory);
2018-09-09 23:36:06 +00:00
registerFunctionSubstring(factory);
registerFunctionAppendTrailingCharIfAbsent(factory);
registerFunctionStartsWith(factory);
registerFunctionEndsWith(factory);
registerFunctionTrim(factory);
registerFunctionRegexpQuoteMeta(factory);
2018-10-11 16:22:50 +00:00
#if USE_BASE64
2018-10-10 01:04:07 +00:00
registerFunctionBase64Encode(factory);
registerFunctionBase64Decode(factory);
2018-11-02 19:06:05 +00:00
registerFunctionTryBase64Decode(factory);
2018-10-11 16:22:50 +00:00
#endif
2018-09-09 23:36:06 +00:00
}
}