mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
4088c0a7f3
Automated register all functions with below naming convention by iterating through the symbols: void DB::registerXXX(DB::FunctionFactory &)
37 lines
1.3 KiB
C++
37 lines
1.3 KiB
C++
#include <Functions/FunctionFactory.h>
|
|
|
|
// TODO include this last because of a broken roaring header. See the comment inside.
|
|
#include <Functions/FunctionsBitmap.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
REGISTER_FUNCTION(Bitmap)
|
|
{
|
|
factory.registerFunction<FunctionBitmapBuild>();
|
|
factory.registerFunction<FunctionBitmapToArray>();
|
|
factory.registerFunction<FunctionBitmapSubsetInRange>();
|
|
factory.registerFunction<FunctionBitmapSubsetLimit>();
|
|
factory.registerFunction<FunctionBitmapSubsetOffsetLimit>();
|
|
factory.registerFunction<FunctionBitmapTransform>();
|
|
|
|
factory.registerFunction<FunctionBitmapSelfCardinality>();
|
|
factory.registerFunction<FunctionBitmapMin>();
|
|
factory.registerFunction<FunctionBitmapMax>();
|
|
factory.registerFunction<FunctionBitmapAndCardinality>();
|
|
factory.registerFunction<FunctionBitmapOrCardinality>();
|
|
factory.registerFunction<FunctionBitmapXorCardinality>();
|
|
factory.registerFunction<FunctionBitmapAndnotCardinality>();
|
|
|
|
factory.registerFunction<FunctionBitmapAnd>();
|
|
factory.registerFunction<FunctionBitmapOr>();
|
|
factory.registerFunction<FunctionBitmapXor>();
|
|
factory.registerFunction<FunctionBitmapAndnot>();
|
|
|
|
factory.registerFunction<FunctionBitmapHasAll>();
|
|
factory.registerFunction<FunctionBitmapHasAny>();
|
|
factory.registerFunction<FunctionBitmapContains>();
|
|
}
|
|
}
|