diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/bitcount.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/bitcount.json | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/examples/redis-unstable/src/commands/bitcount.json b/examples/redis-unstable/src/commands/bitcount.json deleted file mode 100644 index 2d277a8..0000000 --- a/examples/redis-unstable/src/commands/bitcount.json +++ /dev/null | |||
| @@ -1,87 +0,0 @@ | |||
| 1 | { | ||
| 2 | "BITCOUNT": { | ||
| 3 | "summary": "Counts the number of set bits (population counting) in a string.", | ||
| 4 | "complexity": "O(N)", | ||
| 5 | "group": "bitmap", | ||
| 6 | "since": "2.6.0", | ||
| 7 | "arity": -2, | ||
| 8 | "function": "bitcountCommand", | ||
| 9 | "history": [ | ||
| 10 | [ | ||
| 11 | "7.0.0", | ||
| 12 | "Added the `BYTE|BIT` option." | ||
| 13 | ] | ||
| 14 | ], | ||
| 15 | "command_flags": [ | ||
| 16 | "READONLY" | ||
| 17 | ], | ||
| 18 | "acl_categories": [ | ||
| 19 | "BITMAP" | ||
| 20 | ], | ||
| 21 | "key_specs": [ | ||
| 22 | { | ||
| 23 | "flags": [ | ||
| 24 | "RO", | ||
| 25 | "ACCESS" | ||
| 26 | ], | ||
| 27 | "begin_search": { | ||
| 28 | "index": { | ||
| 29 | "pos": 1 | ||
| 30 | } | ||
| 31 | }, | ||
| 32 | "find_keys": { | ||
| 33 | "range": { | ||
| 34 | "lastkey": 0, | ||
| 35 | "step": 1, | ||
| 36 | "limit": 0 | ||
| 37 | } | ||
| 38 | } | ||
| 39 | } | ||
| 40 | ], | ||
| 41 | "arguments": [ | ||
| 42 | { | ||
| 43 | "name": "key", | ||
| 44 | "type": "key", | ||
| 45 | "key_spec_index": 0 | ||
| 46 | }, | ||
| 47 | { | ||
| 48 | "name": "range", | ||
| 49 | "type": "block", | ||
| 50 | "optional": true, | ||
| 51 | "arguments": [ | ||
| 52 | { | ||
| 53 | "name": "start", | ||
| 54 | "type": "integer" | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | "name": "end", | ||
| 58 | "type": "integer" | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "name": "unit", | ||
| 62 | "type": "oneof", | ||
| 63 | "optional": true, | ||
| 64 | "since": "7.0.0", | ||
| 65 | "arguments": [ | ||
| 66 | { | ||
| 67 | "name": "byte", | ||
| 68 | "type": "pure-token", | ||
| 69 | "token": "BYTE" | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | "name": "bit", | ||
| 73 | "type": "pure-token", | ||
| 74 | "token": "BIT" | ||
| 75 | } | ||
| 76 | ] | ||
| 77 | } | ||
| 78 | ] | ||
| 79 | } | ||
| 80 | ], | ||
| 81 | "reply_schema": { | ||
| 82 | "description": "The number of bits set to 1.", | ||
| 83 | "type": "integer", | ||
| 84 | "minimum": 0 | ||
| 85 | } | ||
| 86 | } | ||
| 87 | } | ||
