1#include "FunctionsHashing.h"
2
3#include <Functions/FunctionFactory.h>
4
5
6namespace DB
7{
8
9void registerFunctionsHashing(FunctionFactory & factory)
10{
11#if USE_SSL
12 factory.registerFunction<FunctionHalfMD5>();
13 factory.registerFunction<FunctionMD5>();
14 factory.registerFunction<FunctionSHA1>();
15 factory.registerFunction<FunctionSHA224>();
16 factory.registerFunction<FunctionSHA256>();
17#endif
18 factory.registerFunction<FunctionSipHash64>();
19 factory.registerFunction<FunctionSipHash128>();
20 factory.registerFunction<FunctionCityHash64>();
21 factory.registerFunction<FunctionFarmHash64>();
22 factory.registerFunction<FunctionMetroHash64>();
23 factory.registerFunction<FunctionIntHash32>();
24 factory.registerFunction<FunctionIntHash64>();
25 factory.registerFunction<FunctionURLHash>();
26 factory.registerFunction<FunctionJavaHash>();
27 factory.registerFunction<FunctionJavaHashUTF16LE>();
28 factory.registerFunction<FunctionHiveHash>();
29 factory.registerFunction<FunctionMurmurHash2_32>();
30 factory.registerFunction<FunctionMurmurHash2_64>();
31 factory.registerFunction<FunctionMurmurHash3_32>();
32 factory.registerFunction<FunctionMurmurHash3_64>();
33 factory.registerFunction<FunctionMurmurHash3_128>();
34 factory.registerFunction<FunctionGccMurmurHash>();
35
36#if USE_XXHASH
37 factory.registerFunction<FunctionXxHash32>();
38 factory.registerFunction<FunctionXxHash64>();
39#endif
40}
41}
42