1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Update redis-data-structures-02.md

'start 和 end 之间' 比 'start 和 end 之前' 更易于理解,不易产生误解。
This commit is contained in:
jingwl 2024-09-08 10:42:07 +08:00 committed by GitHub
parent 223fd4f18f
commit 9deb83cd76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ Bitmap 存储的是连续的二进制数字0 和 1通过 Bitmap, 只需
| ------------------------------------- | ---------------------------------------------------------------- |
| SETBIT key offset value | 设置指定 offset 位置的值 |
| GETBIT key offset | 获取指定 offset 位置的值 |
| BITCOUNT key start end | 获取 start 和 end 之值为 1 的元素个数 |
| BITCOUNT key start end | 获取 start 和 end 之值为 1 的元素个数 |
| BITOP operation destkey key1 key2 ... | 对一个或多个 Bitmap 进行运算,可用运算符有 AND, OR, XOR 以及 NOT |
**Bitmap 基本操作演示**