aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/zinterstore.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/zinterstore.json')
-rw-r--r--examples/redis-unstable/src/commands/zinterstore.json108
1 files changed, 0 insertions, 108 deletions
diff --git a/examples/redis-unstable/src/commands/zinterstore.json b/examples/redis-unstable/src/commands/zinterstore.json
deleted file mode 100644
index 5bd940c..0000000
--- a/examples/redis-unstable/src/commands/zinterstore.json
+++ /dev/null
@@ -1,108 +0,0 @@
1{
2 "ZINTERSTORE": {
3 "summary": "Stores the intersect of multiple sorted sets in a key.",
4 "complexity": "O(N*K)+O(M*log(M)) worst case with N being the smallest input sorted set, K being the number of input sorted sets and M being the number of elements in the resulting sorted set.",
5 "group": "sorted_set",
6 "since": "2.0.0",
7 "arity": -4,
8 "function": "zinterstoreCommand",
9 "get_keys_function": "zunionInterDiffStoreGetKeys",
10 "command_flags": [
11 "WRITE",
12 "DENYOOM"
13 ],
14 "acl_categories": [
15 "SORTEDSET"
16 ],
17 "key_specs": [
18 {
19 "flags": [
20 "OW",
21 "UPDATE"
22 ],
23 "begin_search": {
24 "index": {
25 "pos": 1
26 }
27 },
28 "find_keys": {
29 "range": {
30 "lastkey": 0,
31 "step": 1,
32 "limit": 0
33 }
34 }
35 },
36 {
37 "flags": [
38 "RO",
39 "ACCESS"
40 ],
41 "begin_search": {
42 "index": {
43 "pos": 2
44 }
45 },
46 "find_keys": {
47 "keynum": {
48 "keynumidx": 0,
49 "firstkey": 1,
50 "step": 1
51 }
52 }
53 }
54 ],
55 "reply_schema": {
56 "description": "Number of elements in the resulting sorted set.",
57 "type": "integer",
58 "minimum": 0
59 },
60 "arguments": [
61 {
62 "name": "destination",
63 "type": "key",
64 "key_spec_index": 0
65 },
66 {
67 "name": "numkeys",
68 "type": "integer"
69 },
70 {
71 "name": "key",
72 "type": "key",
73 "key_spec_index": 1,
74 "multiple": true
75 },
76 {
77 "token": "WEIGHTS",
78 "name": "weight",
79 "type": "integer",
80 "optional": true,
81 "multiple": true
82 },
83 {
84 "token": "AGGREGATE",
85 "name": "aggregate",
86 "type": "oneof",
87 "optional": true,
88 "arguments": [
89 {
90 "name": "sum",
91 "type": "pure-token",
92 "token": "SUM"
93 },
94 {
95 "name": "min",
96 "type": "pure-token",
97 "token": "MIN"
98 },
99 {
100 "name": "max",
101 "type": "pure-token",
102 "token": "MAX"
103 }
104 ]
105 }
106 ]
107 }
108}