2014-08-22 00:57:20 +00:00
|
|
|
#include <DB/Functions/FunctionFactory.h>
|
|
|
|
#include <DB/Functions/FunctionsHashing.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
void registerFunctionsHashing(FunctionFactory & factory)
|
|
|
|
{
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionHalfMD5>();
|
|
|
|
factory.registerFunction<FunctionMD5>();
|
|
|
|
factory.registerFunction<FunctionSHA1>();
|
|
|
|
factory.registerFunction<FunctionSHA224>();
|
|
|
|
factory.registerFunction<FunctionSHA256>();
|
|
|
|
factory.registerFunction<FunctionSipHash64>();
|
|
|
|
factory.registerFunction<FunctionSipHash128>();
|
|
|
|
factory.registerFunction<FunctionCityHash64>();
|
2015-07-17 15:56:08 +00:00
|
|
|
factory.registerFunction<FunctionFarmHash64>();
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionIntHash32>();
|
|
|
|
factory.registerFunction<FunctionIntHash64>();
|
2015-04-15 15:00:28 +00:00
|
|
|
factory.registerFunction<FunctionURLHash>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|