2017-04-01 09:19:00 +00:00
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
#include <Functions/FunctionsHashing.h>
|
2014-08-22 00:57:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
void registerFunctionsHashing(FunctionFactory & factory)
|
|
|
|
{
|
2017-04-01 07:20:54 +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>();
|
|
|
|
factory.registerFunction<FunctionFarmHash64>();
|
|
|
|
factory.registerFunction<FunctionMetroHash64>();
|
|
|
|
factory.registerFunction<FunctionIntHash32>();
|
|
|
|
factory.registerFunction<FunctionIntHash64>();
|
|
|
|
factory.registerFunction<FunctionURLHash>();
|
2018-12-11 08:41:23 +00:00
|
|
|
factory.registerFunction<FunctionJavaHash>();
|
|
|
|
factory.registerFunction<FunctionHiveHash>();
|
2018-08-02 09:21:26 +00:00
|
|
|
factory.registerFunction<FunctionMurmurHash2_32>();
|
|
|
|
factory.registerFunction<FunctionMurmurHash2_64>();
|
|
|
|
factory.registerFunction<FunctionMurmurHash3_32>();
|
|
|
|
factory.registerFunction<FunctionMurmurHash3_64>();
|
|
|
|
factory.registerFunction<FunctionMurmurHash3_128>();
|
2018-12-21 17:53:16 +00:00
|
|
|
factory.registerFunction<FunctionXxHash32>();
|
|
|
|
factory.registerFunction<FunctionXxHash64>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
|
|
|
}
|