| 1 | #include <config_core.h> |
|---|---|
| 2 | |
| 3 | namespace DB |
| 4 | { |
| 5 | |
| 6 | class FunctionFactory; |
| 7 | |
| 8 | void registerFunctionCurrentDatabase(FunctionFactory &); |
| 9 | void registerFunctionCurrentUser(FunctionFactory &); |
| 10 | void registerFunctionCurrentQuota(FunctionFactory &); |
| 11 | void registerFunctionCurrentRowPolicies(FunctionFactory &); |
| 12 | void registerFunctionHostName(FunctionFactory &); |
| 13 | void registerFunctionFQDN(FunctionFactory &); |
| 14 | void registerFunctionVisibleWidth(FunctionFactory &); |
| 15 | void registerFunctionToTypeName(FunctionFactory &); |
| 16 | void registerFunctionGetSizeOfEnumType(FunctionFactory &); |
| 17 | void registerFunctionToColumnTypeName(FunctionFactory &); |
| 18 | void registerFunctionDumpColumnStructure(FunctionFactory &); |
| 19 | void registerFunctionDefaultValueOfArgumentType(FunctionFactory &); |
| 20 | void registerFunctionBlockSize(FunctionFactory &); |
| 21 | void registerFunctionBlockNumber(FunctionFactory &); |
| 22 | void registerFunctionRowNumberInBlock(FunctionFactory &); |
| 23 | void registerFunctionRowNumberInAllBlocks(FunctionFactory &); |
| 24 | void registerFunctionNeighbor(FunctionFactory &); |
| 25 | void registerFunctionSleep(FunctionFactory &); |
| 26 | void registerFunctionSleepEachRow(FunctionFactory &); |
| 27 | void registerFunctionMaterialize(FunctionFactory &); |
| 28 | void registerFunctionIgnore(FunctionFactory &); |
| 29 | void registerFunctionIgnoreExceptNull(FunctionFactory &); |
| 30 | void registerFunctionIndexHint(FunctionFactory &); |
| 31 | void registerFunctionIdentity(FunctionFactory &); |
| 32 | void registerFunctionArrayJoin(FunctionFactory &); |
| 33 | void registerFunctionReplicate(FunctionFactory &); |
| 34 | void registerFunctionBar(FunctionFactory &); |
| 35 | void registerFunctionHasColumnInTable(FunctionFactory &); |
| 36 | void registerFunctionIsFinite(FunctionFactory &); |
| 37 | void registerFunctionIsInfinite(FunctionFactory &); |
| 38 | void registerFunctionIsNaN(FunctionFactory &); |
| 39 | void registerFunctionThrowIf(FunctionFactory &); |
| 40 | void registerFunctionVersion(FunctionFactory &); |
| 41 | void registerFunctionUptime(FunctionFactory &); |
| 42 | void registerFunctionTimeZone(FunctionFactory &); |
| 43 | void registerFunctionRunningAccumulate(FunctionFactory &); |
| 44 | void registerFunctionRunningDifference(FunctionFactory &); |
| 45 | void registerFunctionRunningDifferenceStartingWithFirstValue(FunctionFactory &); |
| 46 | void registerFunctionFinalizeAggregation(FunctionFactory &); |
| 47 | void registerFunctionToLowCardinality(FunctionFactory &); |
| 48 | void registerFunctionLowCardinalityIndices(FunctionFactory &); |
| 49 | void registerFunctionLowCardinalityKeys(FunctionFactory &); |
| 50 | void registerFunctionsIn(FunctionFactory &); |
| 51 | void registerFunctionJoinGet(FunctionFactory &); |
| 52 | void registerFunctionFilesystem(FunctionFactory &); |
| 53 | void registerFunctionEvalMLMethod(FunctionFactory &); |
| 54 | void registerFunctionBasename(FunctionFactory &); |
| 55 | void registerFunctionTransform(FunctionFactory &); |
| 56 | void registerFunctionGetMacro(FunctionFactory &); |
| 57 | void registerFunctionGetScalar(FunctionFactory &); |
| 58 | |
| 59 | #if USE_ICU |
| 60 | void registerFunctionConvertCharset(FunctionFactory &); |
| 61 | #endif |
| 62 | |
| 63 | void registerFunctionsMiscellaneous(FunctionFactory & factory) |
| 64 | { |
| 65 | registerFunctionCurrentDatabase(factory); |
| 66 | registerFunctionCurrentUser(factory); |
| 67 | registerFunctionCurrentQuota(factory); |
| 68 | registerFunctionCurrentRowPolicies(factory); |
| 69 | registerFunctionHostName(factory); |
| 70 | registerFunctionFQDN(factory); |
| 71 | registerFunctionVisibleWidth(factory); |
| 72 | registerFunctionToTypeName(factory); |
| 73 | registerFunctionGetSizeOfEnumType(factory); |
| 74 | registerFunctionToColumnTypeName(factory); |
| 75 | registerFunctionDumpColumnStructure(factory); |
| 76 | registerFunctionDefaultValueOfArgumentType(factory); |
| 77 | registerFunctionBlockSize(factory); |
| 78 | registerFunctionBlockNumber(factory); |
| 79 | registerFunctionRowNumberInBlock(factory); |
| 80 | registerFunctionRowNumberInAllBlocks(factory); |
| 81 | registerFunctionNeighbor(factory); |
| 82 | registerFunctionSleep(factory); |
| 83 | registerFunctionSleepEachRow(factory); |
| 84 | registerFunctionMaterialize(factory); |
| 85 | registerFunctionIgnore(factory); |
| 86 | registerFunctionIgnoreExceptNull(factory); |
| 87 | registerFunctionIndexHint(factory); |
| 88 | registerFunctionIdentity(factory); |
| 89 | registerFunctionArrayJoin(factory); |
| 90 | registerFunctionReplicate(factory); |
| 91 | registerFunctionBar(factory); |
| 92 | registerFunctionHasColumnInTable(factory); |
| 93 | registerFunctionIsFinite(factory); |
| 94 | registerFunctionIsInfinite(factory); |
| 95 | registerFunctionIsNaN(factory); |
| 96 | registerFunctionThrowIf(factory); |
| 97 | registerFunctionVersion(factory); |
| 98 | registerFunctionUptime(factory); |
| 99 | registerFunctionTimeZone(factory); |
| 100 | registerFunctionRunningAccumulate(factory); |
| 101 | registerFunctionRunningDifference(factory); |
| 102 | registerFunctionRunningDifferenceStartingWithFirstValue(factory); |
| 103 | registerFunctionFinalizeAggregation(factory); |
| 104 | registerFunctionToLowCardinality(factory); |
| 105 | registerFunctionLowCardinalityIndices(factory); |
| 106 | registerFunctionLowCardinalityKeys(factory); |
| 107 | registerFunctionsIn(factory); |
| 108 | registerFunctionJoinGet(factory); |
| 109 | registerFunctionFilesystem(factory); |
| 110 | registerFunctionEvalMLMethod(factory); |
| 111 | registerFunctionBasename(factory); |
| 112 | registerFunctionTransform(factory); |
| 113 | registerFunctionGetMacro(factory); |
| 114 | registerFunctionGetScalar(factory); |
| 115 | |
| 116 | #if USE_ICU |
| 117 | registerFunctionConvertCharset(factory); |
| 118 | #endif |
| 119 | } |
| 120 | |
| 121 | } |
| 122 |