R64.GETBITARRAY
Category | Description |
---|---|
Syntax | R64.GETBITARRAY key |
Time complexity | O(C) |
Supports structures | Bitmap64 |
Command description | Retrieves a string that consists of bit values of 0 and 1 in a Roaring key |
Parameter
- key: The name of the Roaring bitmap key.
Output
- If the operation is successful, the string of bit array are returned.
- If the key does not exist, a empty string is returned.
- Otherwise, an error message is returned.
Examples
Basic Usage
$ redis-cli
127.0.0.1:6379> R64.SETBITARRAY foo 101101
127.0.0.1:6379> R64.GETBITARRAY foo
"101101"