2019-06-26 08:05:53 +00:00
|
|
|
#include "config_core.h"
|
|
|
|
|
2018-09-08 22:04:39 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2018-11-25 23:24:26 +00:00
|
|
|
class FunctionFactory;
|
|
|
|
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionCurrentDatabase(FunctionFactory &);
|
2019-08-13 16:05:13 +00:00
|
|
|
void registerFunctionCurrentUser(FunctionFactory &);
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionHostName(FunctionFactory &);
|
|
|
|
void registerFunctionVisibleWidth(FunctionFactory &);
|
|
|
|
void registerFunctionToTypeName(FunctionFactory &);
|
|
|
|
void registerFunctionGetSizeOfEnumType(FunctionFactory &);
|
|
|
|
void registerFunctionToColumnTypeName(FunctionFactory &);
|
|
|
|
void registerFunctionDumpColumnStructure(FunctionFactory &);
|
|
|
|
void registerFunctionDefaultValueOfArgumentType(FunctionFactory &);
|
|
|
|
void registerFunctionBlockSize(FunctionFactory &);
|
|
|
|
void registerFunctionBlockNumber(FunctionFactory &);
|
|
|
|
void registerFunctionRowNumberInBlock(FunctionFactory &);
|
|
|
|
void registerFunctionRowNumberInAllBlocks(FunctionFactory &);
|
2019-08-23 01:31:04 +00:00
|
|
|
void registerFunctionNeighbor(FunctionFactory &);
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionSleep(FunctionFactory &);
|
|
|
|
void registerFunctionSleepEachRow(FunctionFactory &);
|
|
|
|
void registerFunctionMaterialize(FunctionFactory &);
|
|
|
|
void registerFunctionIgnore(FunctionFactory &);
|
2019-05-07 05:20:23 +00:00
|
|
|
void registerFunctionIgnoreExceptNull(FunctionFactory &);
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionIndexHint(FunctionFactory &);
|
|
|
|
void registerFunctionIdentity(FunctionFactory &);
|
|
|
|
void registerFunctionArrayJoin(FunctionFactory &);
|
|
|
|
void registerFunctionReplicate(FunctionFactory &);
|
|
|
|
void registerFunctionBar(FunctionFactory &);
|
|
|
|
void registerFunctionHasColumnInTable(FunctionFactory &);
|
|
|
|
void registerFunctionIsFinite(FunctionFactory &);
|
|
|
|
void registerFunctionIsInfinite(FunctionFactory &);
|
|
|
|
void registerFunctionIsNaN(FunctionFactory &);
|
|
|
|
void registerFunctionThrowIf(FunctionFactory &);
|
|
|
|
void registerFunctionVersion(FunctionFactory &);
|
|
|
|
void registerFunctionUptime(FunctionFactory &);
|
|
|
|
void registerFunctionTimeZone(FunctionFactory &);
|
|
|
|
void registerFunctionRunningAccumulate(FunctionFactory &);
|
|
|
|
void registerFunctionRunningDifference(FunctionFactory &);
|
2018-09-08 22:16:30 +00:00
|
|
|
void registerFunctionRunningDifferenceStartingWithFirstValue(FunctionFactory &);
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionFinalizeAggregation(FunctionFactory &);
|
|
|
|
void registerFunctionToLowCardinality(FunctionFactory &);
|
2018-09-08 22:16:30 +00:00
|
|
|
void registerFunctionLowCardinalityIndices(FunctionFactory &);
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionLowCardinalityKeys(FunctionFactory &);
|
|
|
|
void registerFunctionsIn(FunctionFactory &);
|
2018-11-30 14:49:35 +00:00
|
|
|
void registerFunctionJoinGet(FunctionFactory &);
|
2019-01-18 15:44:53 +00:00
|
|
|
void registerFunctionFilesystem(FunctionFactory &);
|
2019-01-22 21:07:05 +00:00
|
|
|
void registerFunctionEvalMLMethod(FunctionFactory &);
|
2019-04-29 09:40:44 +00:00
|
|
|
void registerFunctionBasename(FunctionFactory &);
|
2019-06-26 07:53:43 +00:00
|
|
|
void registerFunctionTransform(FunctionFactory &);
|
2018-09-08 22:04:39 +00:00
|
|
|
|
2019-06-26 08:05:53 +00:00
|
|
|
#if USE_ICU
|
|
|
|
void registerFunctionConvertCharset(FunctionFactory &);
|
|
|
|
#endif
|
|
|
|
|
2018-09-08 22:04:39 +00:00
|
|
|
void registerFunctionsMiscellaneous(FunctionFactory & factory)
|
|
|
|
{
|
|
|
|
registerFunctionCurrentDatabase(factory);
|
2019-08-13 16:05:13 +00:00
|
|
|
registerFunctionCurrentUser(factory);
|
2018-09-08 22:04:39 +00:00
|
|
|
registerFunctionHostName(factory);
|
|
|
|
registerFunctionVisibleWidth(factory);
|
|
|
|
registerFunctionToTypeName(factory);
|
|
|
|
registerFunctionGetSizeOfEnumType(factory);
|
|
|
|
registerFunctionToColumnTypeName(factory);
|
|
|
|
registerFunctionDumpColumnStructure(factory);
|
|
|
|
registerFunctionDefaultValueOfArgumentType(factory);
|
|
|
|
registerFunctionBlockSize(factory);
|
|
|
|
registerFunctionBlockNumber(factory);
|
|
|
|
registerFunctionRowNumberInBlock(factory);
|
|
|
|
registerFunctionRowNumberInAllBlocks(factory);
|
2019-08-23 01:31:04 +00:00
|
|
|
registerFunctionNeighbor(factory);
|
2018-09-08 22:04:39 +00:00
|
|
|
registerFunctionSleep(factory);
|
|
|
|
registerFunctionSleepEachRow(factory);
|
|
|
|
registerFunctionMaterialize(factory);
|
|
|
|
registerFunctionIgnore(factory);
|
2019-05-07 05:20:23 +00:00
|
|
|
registerFunctionIgnoreExceptNull(factory);
|
2018-09-08 22:04:39 +00:00
|
|
|
registerFunctionIndexHint(factory);
|
|
|
|
registerFunctionIdentity(factory);
|
|
|
|
registerFunctionArrayJoin(factory);
|
|
|
|
registerFunctionReplicate(factory);
|
|
|
|
registerFunctionBar(factory);
|
|
|
|
registerFunctionHasColumnInTable(factory);
|
|
|
|
registerFunctionIsFinite(factory);
|
|
|
|
registerFunctionIsInfinite(factory);
|
|
|
|
registerFunctionIsNaN(factory);
|
|
|
|
registerFunctionThrowIf(factory);
|
|
|
|
registerFunctionVersion(factory);
|
|
|
|
registerFunctionUptime(factory);
|
|
|
|
registerFunctionTimeZone(factory);
|
|
|
|
registerFunctionRunningAccumulate(factory);
|
|
|
|
registerFunctionRunningDifference(factory);
|
2018-09-08 22:16:30 +00:00
|
|
|
registerFunctionRunningDifferenceStartingWithFirstValue(factory);
|
2018-09-08 22:04:39 +00:00
|
|
|
registerFunctionFinalizeAggregation(factory);
|
|
|
|
registerFunctionToLowCardinality(factory);
|
2018-09-08 22:16:30 +00:00
|
|
|
registerFunctionLowCardinalityIndices(factory);
|
2018-09-08 22:04:39 +00:00
|
|
|
registerFunctionLowCardinalityKeys(factory);
|
|
|
|
registerFunctionsIn(factory);
|
2018-11-30 14:49:35 +00:00
|
|
|
registerFunctionJoinGet(factory);
|
2019-01-18 15:44:53 +00:00
|
|
|
registerFunctionFilesystem(factory);
|
2019-01-22 21:07:05 +00:00
|
|
|
registerFunctionEvalMLMethod(factory);
|
2019-04-29 09:40:44 +00:00
|
|
|
registerFunctionBasename(factory);
|
2019-06-26 07:53:43 +00:00
|
|
|
registerFunctionTransform(factory);
|
2019-06-26 08:05:53 +00:00
|
|
|
|
|
|
|
#if USE_ICU
|
|
|
|
registerFunctionConvertCharset(factory);
|
|
|
|
#endif
|
2018-09-08 22:04:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|