bitmap_count
description
Syntax
BITMAP BITMAP_COUNT(BITMAP lhs)
Returns the number of input bitmaps。
example
1. mysql> select bitmap_count(to_bitmap(1)) cnt;
2. +------+
3. | cnt |
4. +------+
5. | 1 |
6. +------+
8. mysql> select bitmap_count(bitmap_and(to_bitmap(1), to_bitmap(1))) cnt;
9. +------+
10. | cnt |
11. +------+
12. | 1 |
13. +------+
keywords
1. BITMAP_COUNT
