1#include "config_functions.h"
2
3namespace DB
4{
5
6class FunctionFactory;
7
8void registerFunctionRepeat(FunctionFactory &);
9void registerFunctionEmpty(FunctionFactory &);
10void registerFunctionNotEmpty(FunctionFactory &);
11void registerFunctionLength(FunctionFactory &);
12void registerFunctionLengthUTF8(FunctionFactory &);
13void registerFunctionIsValidUTF8(FunctionFactory &);
14void registerFunctionToValidUTF8(FunctionFactory &);
15void registerFunctionLower(FunctionFactory &);
16void registerFunctionUpper(FunctionFactory &);
17void registerFunctionLowerUTF8(FunctionFactory &);
18void registerFunctionUpperUTF8(FunctionFactory &);
19void registerFunctionReverse(FunctionFactory &);
20void registerFunctionReverseUTF8(FunctionFactory &);
21void registerFunctionsConcat(FunctionFactory &);
22void registerFunctionFormat(FunctionFactory &);
23void registerFunctionSubstring(FunctionFactory &);
24void registerFunctionCRC(FunctionFactory &);
25void registerFunctionAppendTrailingCharIfAbsent(FunctionFactory &);
26void registerFunctionStartsWith(FunctionFactory &);
27void registerFunctionEndsWith(FunctionFactory &);
28void registerFunctionTrim(FunctionFactory &);
29void registerFunctionRegexpQuoteMeta(FunctionFactory &);
30
31#if USE_BASE64
32void registerFunctionBase64Encode(FunctionFactory &);
33void registerFunctionBase64Decode(FunctionFactory &);
34void registerFunctionTryBase64Decode(FunctionFactory &);
35#endif
36
37void registerFunctionsString(FunctionFactory & factory)
38{
39 registerFunctionRepeat(factory);
40 registerFunctionEmpty(factory);
41 registerFunctionNotEmpty(factory);
42 registerFunctionLength(factory);
43 registerFunctionLengthUTF8(factory);
44 registerFunctionIsValidUTF8(factory);
45 registerFunctionToValidUTF8(factory);
46 registerFunctionLower(factory);
47 registerFunctionUpper(factory);
48 registerFunctionLowerUTF8(factory);
49 registerFunctionUpperUTF8(factory);
50 registerFunctionReverse(factory);
51 registerFunctionCRC(factory);
52 registerFunctionReverseUTF8(factory);
53 registerFunctionsConcat(factory);
54 registerFunctionFormat(factory);
55 registerFunctionSubstring(factory);
56 registerFunctionAppendTrailingCharIfAbsent(factory);
57 registerFunctionStartsWith(factory);
58 registerFunctionEndsWith(factory);
59 registerFunctionTrim(factory);
60 registerFunctionRegexpQuoteMeta(factory);
61#if USE_BASE64
62 registerFunctionBase64Encode(factory);
63 registerFunctionBase64Decode(factory);
64 registerFunctionTryBase64Decode(factory);
65#endif
66}
67
68}
69