Skip to content

R64.SETINTARRAY

CategoryDescription
SyntaxR64.SETINTARRAY key value [value1 value2 ... valueN]
Time complexityO(C)
Supports structuresBitmap64
Command descriptionCreates a Roaring key based on the specified integer array.

Parameter

  • key: The name of the Roaring bitmap key.
  • value: The integer offset of the bit that you want to process. Valid values: 0 to 4294967296.

Output

  • If the operation is successful, OK is returned.
  • Otherwise, an error message is returned.

Examples

Basic Usage

$ redis-cli
127.0.0.1:6379> R64.SETINTARRAY foo 1 3
OK

Usage Notes

  • If the key already exists, this command overwrites the data in the key.
  • If the key doesn't exist, a new Roaring bitmap is created automatically.