mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
29 lines
976 B
C++
29 lines
976 B
C++
#include <DB/Functions/FunctionFactory.h>
|
|
#include <DB/Functions/FunctionsArithmetic.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerFunctionsArithmetic(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionPlus>();
|
|
factory.registerFunction<FunctionMinus>();
|
|
factory.registerFunction<FunctionMultiply>();
|
|
factory.registerFunction<FunctionDivideFloating>();
|
|
factory.registerFunction<FunctionDivideIntegral>();
|
|
factory.registerFunction<FunctionDivideIntegralOrZero>();
|
|
factory.registerFunction<FunctionModulo>();
|
|
factory.registerFunction<FunctionNegate>();
|
|
factory.registerFunction<FunctionAbs>();
|
|
factory.registerFunction<FunctionBitAnd>();
|
|
factory.registerFunction<FunctionBitOr>();
|
|
factory.registerFunction<FunctionBitXor>();
|
|
factory.registerFunction<FunctionBitNot>();
|
|
factory.registerFunction<FunctionBitShiftLeft>();
|
|
factory.registerFunction<FunctionBitShiftRight>();
|
|
factory.registerFunction<FunctionLeast>();
|
|
factory.registerFunction<FunctionGreatest>();
|
|
}
|
|
|
|
}
|