| 1 | #include "config_functions.h" |
|---|---|
| 2 | |
| 3 | namespace DB |
| 4 | { |
| 5 | |
| 6 | class FunctionFactory; |
| 7 | |
| 8 | void registerFunctionRepeat(FunctionFactory &); |
| 9 | void registerFunctionEmpty(FunctionFactory &); |
| 10 | void registerFunctionNotEmpty(FunctionFactory &); |
| 11 | void registerFunctionLength(FunctionFactory &); |
| 12 | void registerFunctionLengthUTF8(FunctionFactory &); |
| 13 | void registerFunctionIsValidUTF8(FunctionFactory &); |
| 14 | void registerFunctionToValidUTF8(FunctionFactory &); |
| 15 | void registerFunctionLower(FunctionFactory &); |
| 16 | void registerFunctionUpper(FunctionFactory &); |
| 17 | void registerFunctionLowerUTF8(FunctionFactory &); |
| 18 | void registerFunctionUpperUTF8(FunctionFactory &); |
| 19 | void registerFunctionReverse(FunctionFactory &); |
| 20 | void registerFunctionReverseUTF8(FunctionFactory &); |
| 21 | void registerFunctionsConcat(FunctionFactory &); |
| 22 | void registerFunctionFormat(FunctionFactory &); |
| 23 | void registerFunctionSubstring(FunctionFactory &); |
| 24 | void registerFunctionCRC(FunctionFactory &); |
| 25 | void registerFunctionAppendTrailingCharIfAbsent(FunctionFactory &); |
| 26 | void registerFunctionStartsWith(FunctionFactory &); |
| 27 | void registerFunctionEndsWith(FunctionFactory &); |
| 28 | void registerFunctionTrim(FunctionFactory &); |
| 29 | void registerFunctionRegexpQuoteMeta(FunctionFactory &); |
| 30 | |
| 31 | #if USE_BASE64 |
| 32 | void registerFunctionBase64Encode(FunctionFactory &); |
| 33 | void registerFunctionBase64Decode(FunctionFactory &); |
| 34 | void registerFunctionTryBase64Decode(FunctionFactory &); |
| 35 | #endif |
| 36 | |
| 37 | void 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 |