bitmap_count
Description
Syntax:
BITMAP BITMAP_COUNT(BITMAP lhs)
This function returns the number of the input bitmaps.
Example
mysql> select bitmap_count(to_bitmap(1)) cnt;
+------+
| cnt |
+------+
| 1 |
+------+
mysql> select bitmap_count(bitmap_and(to_bitmap(1), to_bitmap(1))) cnt;
+------+
| cnt |
+------+
| 1 |
+------+
Keywords
BITMAP_COUNT