1#include <Functions/FunctionFactory.h>
2
3// TODO include this last because of a broken roaring header. See the comment
4// inside.
5#include <Functions/FunctionsBitmap.h>
6
7
8namespace DB
9{
10
11void registerFunctionsBitmap(FunctionFactory & factory)
12{
13 factory.registerFunction<FunctionBitmapBuild>();
14 factory.registerFunction<FunctionBitmapToArray>();
15 factory.registerFunction<FunctionBitmapSubsetInRange>();
16 factory.registerFunction<FunctionBitmapSubsetLimit>();
17 factory.registerFunction<FunctionBitmapTransform>();
18
19 factory.registerFunction<FunctionBitmapSelfCardinality>();
20 factory.registerFunction<FunctionBitmapMin>();
21 factory.registerFunction<FunctionBitmapMax>();
22 factory.registerFunction<FunctionBitmapAndCardinality>();
23 factory.registerFunction<FunctionBitmapOrCardinality>();
24 factory.registerFunction<FunctionBitmapXorCardinality>();
25 factory.registerFunction<FunctionBitmapAndnotCardinality>();
26
27 factory.registerFunction<FunctionBitmapAnd>();
28 factory.registerFunction<FunctionBitmapOr>();
29 factory.registerFunction<FunctionBitmapXor>();
30 factory.registerFunction<FunctionBitmapAndnot>();
31
32 factory.registerFunction<FunctionBitmapHasAll>();
33 factory.registerFunction<FunctionBitmapHasAny>();
34 factory.registerFunction<FunctionBitmapContains>();
35}
36}
37