ClickHouse/dbms/src/Functions/registerFunctionsMiscellaneous.cpp

112 lines
4.6 KiB
C++
Raw Normal View History

2019-06-26 08:05:53 +00:00
#include "config_core.h"
namespace DB
{
class FunctionFactory;
void registerFunctionCurrentDatabase(FunctionFactory &);
2019-08-13 16:05:13 +00:00
void registerFunctionCurrentUser(FunctionFactory &);
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 &);
void registerFunctionSleep(FunctionFactory &);
void registerFunctionSleepEachRow(FunctionFactory &);
void registerFunctionMaterialize(FunctionFactory &);
void registerFunctionIgnore(FunctionFactory &);
void registerFunctionIgnoreExceptNull(FunctionFactory &);
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 &);
void registerFunctionRunningDifferenceStartingWithFirstValue(FunctionFactory &);
void registerFunctionFinalizeAggregation(FunctionFactory &);
void registerFunctionToLowCardinality(FunctionFactory &);
void registerFunctionLowCardinalityIndices(FunctionFactory &);
void registerFunctionLowCardinalityKeys(FunctionFactory &);
void registerFunctionsIn(FunctionFactory &);
void registerFunctionJoinGet(FunctionFactory &);
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 &);
2019-06-26 08:05:53 +00:00
#if USE_ICU
void registerFunctionConvertCharset(FunctionFactory &);
#endif
void registerFunctionsMiscellaneous(FunctionFactory & factory)
{
registerFunctionCurrentDatabase(factory);
2019-08-13 16:05:13 +00:00
registerFunctionCurrentUser(factory);
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);
registerFunctionSleep(factory);
registerFunctionSleepEachRow(factory);
registerFunctionMaterialize(factory);
registerFunctionIgnore(factory);
registerFunctionIgnoreExceptNull(factory);
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);
registerFunctionRunningDifferenceStartingWithFirstValue(factory);
registerFunctionFinalizeAggregation(factory);
registerFunctionToLowCardinality(factory);
registerFunctionLowCardinalityIndices(factory);
registerFunctionLowCardinalityKeys(factory);
registerFunctionsIn(factory);
registerFunctionJoinGet(factory);
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
}
}