mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
4088c0a7f3
Automated register all functions with below naming convention by iterating through the symbols: void DB::registerXXX(DB::FunctionFactory &)
46 lines
1.6 KiB
C++
46 lines
1.6 KiB
C++
#include "FunctionsHashing.h"
|
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
REGISTER_FUNCTION(Hashing)
|
|
{
|
|
#if USE_SSL
|
|
factory.registerFunction<FunctionMD4>();
|
|
factory.registerFunction<FunctionHalfMD5>();
|
|
factory.registerFunction<FunctionMD5>();
|
|
factory.registerFunction<FunctionSHA1>();
|
|
factory.registerFunction<FunctionSHA224>();
|
|
factory.registerFunction<FunctionSHA256>();
|
|
factory.registerFunction<FunctionSHA384>();
|
|
factory.registerFunction<FunctionSHA512>();
|
|
#endif
|
|
factory.registerFunction<FunctionSipHash64>();
|
|
factory.registerFunction<FunctionSipHash128>();
|
|
factory.registerFunction<FunctionCityHash64>();
|
|
factory.registerFunction<FunctionFarmFingerprint64>();
|
|
factory.registerFunction<FunctionFarmHash64>();
|
|
factory.registerFunction<FunctionMetroHash64>();
|
|
factory.registerFunction<FunctionIntHash32>();
|
|
factory.registerFunction<FunctionIntHash64>();
|
|
factory.registerFunction<FunctionURLHash>();
|
|
factory.registerFunction<FunctionJavaHash>();
|
|
factory.registerFunction<FunctionJavaHashUTF16LE>();
|
|
factory.registerFunction<FunctionHiveHash>();
|
|
factory.registerFunction<FunctionMurmurHash2_32>();
|
|
factory.registerFunction<FunctionMurmurHash2_64>();
|
|
factory.registerFunction<FunctionMurmurHash3_32>();
|
|
factory.registerFunction<FunctionMurmurHash3_64>();
|
|
factory.registerFunction<FunctionMurmurHash3_128>();
|
|
factory.registerFunction<FunctionGccMurmurHash>();
|
|
|
|
factory.registerFunction<FunctionXxHash32>();
|
|
factory.registerFunction<FunctionXxHash64>();
|
|
|
|
factory.registerFunction<FunctionWyHash64>();
|
|
}
|
|
}
|