2014-08-22 00:57:20 +00:00
|
|
|
#include <DB/Functions/FunctionFactory.h>
|
|
|
|
#include <DB/Functions/FunctionsArithmetic.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
void registerFunctionsArithmetic(FunctionFactory & factory)
|
|
|
|
{
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionPlus>();
|
|
|
|
factory.registerFunction<FunctionMinus>();
|
|
|
|
factory.registerFunction<FunctionMultiply>();
|
|
|
|
factory.registerFunction<FunctionDivideFloating>();
|
|
|
|
factory.registerFunction<FunctionDivideIntegral>();
|
|
|
|
factory.registerFunction<FunctionModulo>();
|
|
|
|
factory.registerFunction<FunctionNegate>();
|
|
|
|
factory.registerFunction<FunctionBitAnd>();
|
|
|
|
factory.registerFunction<FunctionBitOr>();
|
|
|
|
factory.registerFunction<FunctionBitXor>();
|
|
|
|
factory.registerFunction<FunctionBitNot>();
|
|
|
|
factory.registerFunction<FunctionBitShiftLeft>();
|
|
|
|
factory.registerFunction<FunctionBitShiftRight>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|