mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
77 lines
2.8 KiB
C++
77 lines
2.8 KiB
C++
#include <Functions/registerFunctions.h>
|
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
#include <iostream>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** These functions are defined in a separate translation units.
|
|
* This is done in order to reduce the consumption of RAM during build, and to speed up the parallel build.
|
|
*/
|
|
void registerFunctionsArithmetic(FunctionFactory &);
|
|
void registerFunctionsArray(FunctionFactory &);
|
|
void registerFunctionsCoding(FunctionFactory &);
|
|
void registerFunctionsComparison(FunctionFactory &);
|
|
void registerFunctionsConditional(FunctionFactory &);
|
|
void registerFunctionsConversion(FunctionFactory &);
|
|
void registerFunctionsDateTime(FunctionFactory &);
|
|
void registerFunctionsEmbeddedDictionaries(FunctionFactory &);
|
|
void registerFunctionsExternalDictionaries(FunctionFactory &);
|
|
void registerFunctionsFormatting(FunctionFactory &);
|
|
void registerFunctionsHashing(FunctionFactory &);
|
|
void registerFunctionsHigherOrder(FunctionFactory &);
|
|
void registerFunctionsLogical(FunctionFactory &);
|
|
void registerFunctionsMiscellaneous(FunctionFactory &);
|
|
void registerFunctionsRandom(FunctionFactory &);
|
|
void registerFunctionsReinterpret(FunctionFactory &);
|
|
void registerFunctionsRound(FunctionFactory &);
|
|
void registerFunctionsString(FunctionFactory &);
|
|
void registerFunctionsStringArray(FunctionFactory &);
|
|
void registerFunctionsStringSearch(FunctionFactory &);
|
|
void registerFunctionsURL(FunctionFactory &);
|
|
void registerFunctionsVisitParam(FunctionFactory &);
|
|
void registerFunctionsMath(FunctionFactory &);
|
|
void registerFunctionsTransform(FunctionFactory &);
|
|
void registerFunctionsGeo(FunctionFactory &);
|
|
void registerFunctionsCharset(FunctionFactory &);
|
|
void registerFunctionsNull(FunctionFactory &);
|
|
|
|
|
|
void registerFunctions()
|
|
{
|
|
auto & factory = FunctionFactory::instance();
|
|
|
|
registerFunctionsArithmetic(factory);
|
|
registerFunctionsArray(factory);
|
|
registerFunctionsCoding(factory);
|
|
registerFunctionsComparison(factory);
|
|
registerFunctionsConditional(factory);
|
|
registerFunctionsConversion(factory);
|
|
registerFunctionsDateTime(factory);
|
|
registerFunctionsEmbeddedDictionaries(factory);
|
|
registerFunctionsExternalDictionaries(factory);
|
|
registerFunctionsFormatting(factory);
|
|
registerFunctionsHashing(factory);
|
|
registerFunctionsHigherOrder(factory);
|
|
registerFunctionsLogical(factory);
|
|
registerFunctionsMiscellaneous(factory);
|
|
registerFunctionsRandom(factory);
|
|
registerFunctionsReinterpret(factory);
|
|
registerFunctionsRound(factory);
|
|
registerFunctionsString(factory);
|
|
registerFunctionsStringArray(factory);
|
|
registerFunctionsStringSearch(factory);
|
|
registerFunctionsURL(factory);
|
|
registerFunctionsVisitParam(factory);
|
|
registerFunctionsMath(factory);
|
|
registerFunctionsTransform(factory);
|
|
registerFunctionsGeo(factory);
|
|
registerFunctionsCharset(factory);
|
|
registerFunctionsNull(factory);
|
|
}
|
|
|
|
}
|