Support bitmap_empty function (#2227)

This commit is contained in:
kangkaisen
2019-11-18 20:37:00 +08:00
committed by ZHAO Chun
parent 626001fae4
commit d8cfbbedf7
12 changed files with 67 additions and 35 deletions

View File

@ -26,6 +26,7 @@ class BitmapFunctions {
public:
static void init();
static void bitmap_init(FunctionContext* ctx, StringVal* slot);
static StringVal bitmap_empty(FunctionContext* ctx);
template <typename T>
static void bitmap_update_int(FunctionContext* ctx, const T& src, StringVal* dst);
// the input src's ptr need to point a RoaringBitmap, this function will release the