redis-rbs 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/sig/redis.rbs +815 -19
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f0880fddce5262045063d69d0ac04a91b636cab5652687c60310ced074000c0
|
|
4
|
+
data.tar.gz: 83a8830faa1b2319231613bbeeab7a6cfde2b4e675944ef2097ceeba901434bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd18597f1aa115c50092cb183b879874e5f4b42265354be18c4b5b96291eb17f15ef618c4ae71938ff8adecf64a51af3a1e3c281ad5b0f27bc75ebeff2fb2aa2
|
|
7
|
+
data.tar.gz: af25349d3632022fd82211749ba8177c3cfd29bde550f92276c05d87f5cf24614880d96f05829d7edb5a756bbe0ebfe770e0a1e59f58259117ae74fba0b9da05
|
data/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# redis-rbs for redis 6.0
|
|
1
|
+
# redis-rbs for redis 6.1.0
|
|
2
2
|
|
|
3
|
-
These signatures are generated from the official redis 6.
|
|
3
|
+
These signatures are generated from the official redis 6.1.0 package.
|
|
4
4
|
|
|
5
5
|
```ruby
|
|
6
|
-
gem "redis", "
|
|
7
|
-
gem "redis-rbs", "0.1.
|
|
6
|
+
gem "redis", "6.1.0"
|
|
7
|
+
gem "redis-rbs", "0.1.2", require: false
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
The [project README](https://github.com/ldebortoli/redis-rbs#readme) lists releases for the other supported client versions.
|
data/sig/redis.rbs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated from redis 6.
|
|
1
|
+
# Generated from redis 6.1.0. Do not edit by hand.
|
|
2
2
|
class Redis
|
|
3
3
|
type key = String | Symbol
|
|
4
4
|
type geo_coordinates = [String | Float, String | Float]
|
|
@@ -57,7 +57,7 @@ class Redis
|
|
|
57
57
|
|
|
58
58
|
def inspect: () -> ::String
|
|
59
59
|
|
|
60
|
-
def dup: () -> untyped
|
|
60
|
+
def dup: (**untyped option_overrides) -> untyped
|
|
61
61
|
|
|
62
62
|
def connection: () -> { host: untyped, port: untyped, db: untyped, id: untyped, location: ::String }
|
|
63
63
|
|
|
@@ -140,8 +140,12 @@ end
|
|
|
140
140
|
|
|
141
141
|
class Redis
|
|
142
142
|
module Commands
|
|
143
|
+
include Arrays
|
|
144
|
+
|
|
143
145
|
include Bitmaps
|
|
144
146
|
|
|
147
|
+
include Bless
|
|
148
|
+
|
|
145
149
|
include Cluster
|
|
146
150
|
|
|
147
151
|
include Connection
|
|
@@ -176,8 +180,12 @@ class Redis
|
|
|
176
180
|
|
|
177
181
|
include Transactions
|
|
178
182
|
|
|
183
|
+
include VectorSets
|
|
184
|
+
|
|
179
185
|
Boolify: untyped
|
|
180
186
|
|
|
187
|
+
BoolifyBoolean: untyped
|
|
188
|
+
|
|
181
189
|
BoolifySet: untyped
|
|
182
190
|
|
|
183
191
|
Hashify: untyped
|
|
@@ -186,10 +194,22 @@ class Redis
|
|
|
186
194
|
|
|
187
195
|
Floatify: untyped
|
|
188
196
|
|
|
197
|
+
FloatifyArray: untyped
|
|
198
|
+
|
|
189
199
|
FloatifyPair: untyped
|
|
190
200
|
|
|
191
201
|
FloatifyPairs: untyped
|
|
192
202
|
|
|
203
|
+
HashifyArrayInfo: untyped
|
|
204
|
+
|
|
205
|
+
HashifyVectorEmbeddingRaw: untyped
|
|
206
|
+
|
|
207
|
+
HashifyVectorScores: untyped
|
|
208
|
+
|
|
209
|
+
HashifyVectorScoresWithAttribs: untyped
|
|
210
|
+
|
|
211
|
+
HashifyVectorLinksWithScores: untyped
|
|
212
|
+
|
|
193
213
|
HashifyInfo: untyped
|
|
194
214
|
|
|
195
215
|
HashifyStreams: untyped
|
|
@@ -214,6 +234,14 @@ class Redis
|
|
|
214
234
|
|
|
215
235
|
HashifyClusterSlaves: untyped
|
|
216
236
|
|
|
237
|
+
HashifyClusterSlotStats: untyped
|
|
238
|
+
|
|
239
|
+
HashifyHotkeys: untyped
|
|
240
|
+
|
|
241
|
+
HashifyFunctionList: untyped
|
|
242
|
+
|
|
243
|
+
HashifyFunctionStats: untyped
|
|
244
|
+
|
|
217
245
|
Noop: untyped
|
|
218
246
|
|
|
219
247
|
def call: (*untyped command) { (?) -> untyped } -> untyped
|
|
@@ -226,6 +254,52 @@ class Redis
|
|
|
226
254
|
end
|
|
227
255
|
end
|
|
228
256
|
|
|
257
|
+
class Redis
|
|
258
|
+
module Commands
|
|
259
|
+
module Arrays
|
|
260
|
+
def arset: (String key, Integer index, *String values) -> Integer
|
|
261
|
+
|
|
262
|
+
def arget: (String key, Integer index) -> (String | nil)
|
|
263
|
+
|
|
264
|
+
def armset: (String key, *untyped pairs) -> Integer
|
|
265
|
+
|
|
266
|
+
def armget: (String key, *(Integer | Array[Integer]) indices) -> Array[(String | nil)]
|
|
267
|
+
|
|
268
|
+
def argetrange: (String key, Integer start, Integer stop) -> Array[(String | nil)]
|
|
269
|
+
|
|
270
|
+
def arlen: (String key) -> Integer
|
|
271
|
+
|
|
272
|
+
def arcount: (String key) -> Integer
|
|
273
|
+
|
|
274
|
+
def ardel: (String key, *(Integer | Array[Integer]) indices) -> Integer
|
|
275
|
+
|
|
276
|
+
def ardelrange: (String key, *(Integer | Array[Integer]) ranges) -> Integer
|
|
277
|
+
|
|
278
|
+
def arinsert: (String key, *String values) -> Integer
|
|
279
|
+
|
|
280
|
+
def arseek: (String key, Integer index) -> bool
|
|
281
|
+
|
|
282
|
+
def arnext: (String key) -> (Integer | nil)
|
|
283
|
+
|
|
284
|
+
def arlastitems: (String key, Integer count, ?rev: bool) -> Array[String]
|
|
285
|
+
|
|
286
|
+
def arring: (String key, Integer size, *String values) -> Integer
|
|
287
|
+
|
|
288
|
+
def arscan: (String key, Integer start, Integer stop, ?limit: Integer?) -> untyped
|
|
289
|
+
|
|
290
|
+
def argrep: (String key, (Integer | String) start, (Integer | String) stop, ?exact: (String | Array[String])?, ?match: (String | Array[String])?, ?glob: (String | Array[String])?, ?re: (String | Array[String])?, ?logic: Symbol?, ?limit: Integer?, ?with_values: bool?, ?nocase: bool?) -> (Array[Integer] | Array[untyped])
|
|
291
|
+
|
|
292
|
+
def arop: (String key, Integer start, Integer stop, (Symbol | String) operation, ?value: String?) -> (Float | Integer | nil)
|
|
293
|
+
|
|
294
|
+
def arinfo: (String key, ?full: bool) -> Hash[String, (Integer | Float)]
|
|
295
|
+
|
|
296
|
+
private
|
|
297
|
+
|
|
298
|
+
def argrep_bound: (untyped index) -> untyped
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
229
303
|
class Redis
|
|
230
304
|
module Commands
|
|
231
305
|
module Bitmaps
|
|
@@ -238,6 +312,24 @@ class Redis
|
|
|
238
312
|
def bitop: (String operation, String destkey, *(String | Array[String]) keys) -> Integer
|
|
239
313
|
|
|
240
314
|
def bitpos: (String key, Integer bit, ?Integer start, ?Integer stop, ?scale: (String | Symbol)?) -> Integer
|
|
315
|
+
|
|
316
|
+
def bitrangeintarray: (String key, Integer start, Integer stop, ?scale: (String | Symbol)?, ?limit: Integer?, ?zeros: bool) -> Array[Integer]
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
class Redis
|
|
322
|
+
module Commands
|
|
323
|
+
module Bless
|
|
324
|
+
def bless_get: (String key) -> Array[String]
|
|
325
|
+
|
|
326
|
+
def bless_set: (String key, String flag) -> bool
|
|
327
|
+
|
|
328
|
+
def bless_clear: (String key, String flag) -> bool
|
|
329
|
+
|
|
330
|
+
def bless_scan: ((String | Integer) cursor, String flag, ?count: untyped?) -> untyped
|
|
331
|
+
|
|
332
|
+
def bless_scan_each: (String flag, **Hash[untyped, untyped] options) ?{ (?) -> untyped } -> Enumerator[untyped, untyped]
|
|
241
333
|
end
|
|
242
334
|
end
|
|
243
335
|
end
|
|
@@ -299,7 +391,7 @@ class Redis
|
|
|
299
391
|
module Hashes
|
|
300
392
|
def hlen: (String key) -> Integer
|
|
301
393
|
|
|
302
|
-
def hset: (String key, *(Array[String] | Hash[String, String]) attrs) ->
|
|
394
|
+
def hset: (String key, *(Array[String] | Hash[String, String]) attrs) -> (0 | untyped)
|
|
303
395
|
|
|
304
396
|
def hsetnx: (String key, String field, String value) -> bool
|
|
305
397
|
|
|
@@ -317,6 +409,12 @@ class Redis
|
|
|
317
409
|
|
|
318
410
|
def hdel: (String key, *untyped fields) -> Integer
|
|
319
411
|
|
|
412
|
+
def hgetdel: (String key, *Array[String] fields) -> Array[(String | nil)]
|
|
413
|
+
|
|
414
|
+
def hgetex: (String key, *Array[String] fields, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?persist: bool) -> Array[(String | nil)]
|
|
415
|
+
|
|
416
|
+
def hsetex: (String key, *(Array[String] | Hash[String, String]) attrs, ?fnx: untyped?, ?fxx: untyped?, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?keepttl: bool) -> Integer
|
|
417
|
+
|
|
320
418
|
def hexists: (String key, String field) -> bool
|
|
321
419
|
|
|
322
420
|
def hincrby: (String key, String field, Integer increment) -> Integer
|
|
@@ -333,7 +431,7 @@ class Redis
|
|
|
333
431
|
|
|
334
432
|
def hscan_each: (untyped key, **Hash[untyped, untyped] options) ?{ (?) -> untyped } -> Enumerator[untyped, untyped]
|
|
335
433
|
|
|
336
|
-
def hexpire: (String key, Integer ttl, *Array[String] fields) -> Array[Integer]
|
|
434
|
+
def hexpire: (String key, Integer ttl, *Array[String] fields, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
337
435
|
|
|
338
436
|
def httl: (String key, *Array[String] fields) -> Array[Integer]
|
|
339
437
|
|
|
@@ -341,6 +439,16 @@ class Redis
|
|
|
341
439
|
|
|
342
440
|
def hpttl: (String key, *Array[String] fields) -> Array[Integer]
|
|
343
441
|
|
|
442
|
+
def hexpireat: (String key, Integer unix_time_seconds, *Array[String] fields, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
443
|
+
|
|
444
|
+
def hpexpireat: (String key, Integer unix_time_milliseconds, *Array[String] fields, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
445
|
+
|
|
446
|
+
def hexpiretime: (String key, *Array[String] fields) -> Array[Integer]
|
|
447
|
+
|
|
448
|
+
def hpexpiretime: (String key, *Array[String] fields) -> Array[Integer]
|
|
449
|
+
|
|
450
|
+
def hpersist: (String key, *Array[String] fields) -> Array[Integer]
|
|
451
|
+
|
|
344
452
|
def himport_prepare: (String fieldset_name, *(String | Array[String]) fields) -> String
|
|
345
453
|
|
|
346
454
|
def himport_set: (String key, String fieldset_name, *(String | Array[String]) values) -> String
|
|
@@ -348,6 +456,10 @@ class Redis
|
|
|
348
456
|
def himport_discard: (String fieldset_name) -> Integer
|
|
349
457
|
|
|
350
458
|
def himport_discard_all: () -> Integer
|
|
459
|
+
|
|
460
|
+
private
|
|
461
|
+
|
|
462
|
+
def hash_field_expiration_condition: (untyped nx, untyped xx, untyped gt, untyped lt) -> untyped
|
|
351
463
|
end
|
|
352
464
|
end
|
|
353
465
|
end
|
|
@@ -419,10 +531,14 @@ class Redis
|
|
|
419
531
|
|
|
420
532
|
def sort: (String key, ?by: untyped?, ?limit: untyped?, ?get: untyped?, ?order: untyped?, ?store: untyped?) -> (Array[String] | Array[Array[String]] | Integer)
|
|
421
533
|
|
|
534
|
+
def sort_ro: (String key, ?by: untyped?, ?limit: untyped?, ?get: untyped?, ?order: untyped?) -> (Array[String] | Array[Array[String]])
|
|
535
|
+
|
|
422
536
|
def type: (String key) -> String
|
|
423
537
|
|
|
424
538
|
private
|
|
425
539
|
|
|
540
|
+
def _sort: (untyped command, untyped key, by: untyped, limit: untyped, get: untyped, order: untyped, ?store: untyped?) -> untyped
|
|
541
|
+
|
|
426
542
|
def _scan: (untyped command, untyped cursor, untyped args, ?match: untyped?, ?count: untyped?, ?type: untyped?, ?novalues: bool) { (?) -> untyped } -> untyped
|
|
427
543
|
end
|
|
428
544
|
end
|
|
@@ -491,11 +607,13 @@ end
|
|
|
491
607
|
class Redis
|
|
492
608
|
module Commands
|
|
493
609
|
module Json
|
|
610
|
+
JSON_SET_FPHA_TYPES: ::Array["BF16" | "FP16" | "FP32" | "FP64"]
|
|
611
|
+
|
|
494
612
|
NumincrbyNormalize: untyped
|
|
495
613
|
|
|
496
614
|
TypeNormalize: untyped
|
|
497
615
|
|
|
498
|
-
def json_set: (String key, String path, untyped value, ?nx: bool, ?xx: bool, ?raw: bool) -> (bool | String)
|
|
616
|
+
def json_set: (String key, String path, untyped value, ?nx: bool, ?xx: bool, ?raw: bool, ?fpha: (String | Symbol)?) -> (bool | String)
|
|
499
617
|
|
|
500
618
|
def json_get: (String key, *Array[String] paths, ?raw: bool) -> untyped
|
|
501
619
|
|
|
@@ -1612,6 +1730,12 @@ class Redis
|
|
|
1612
1730
|
|
|
1613
1731
|
def evalsha: (*untyped args) -> untyped
|
|
1614
1732
|
|
|
1733
|
+
def function: ((String | Symbol) subcommand, *Array[String] args, **Hash[untyped, untyped] options) -> (String | Array[Hash[untyped, untyped]] | Hash[untyped, untyped])
|
|
1734
|
+
|
|
1735
|
+
def fcall: (*untyped args) -> untyped
|
|
1736
|
+
|
|
1737
|
+
def fcall_ro: (*untyped args) -> untyped
|
|
1738
|
+
|
|
1615
1739
|
private
|
|
1616
1740
|
|
|
1617
1741
|
def _eval: (untyped cmd, untyped args) -> untyped
|
|
@@ -1636,7 +1760,7 @@ class Redis
|
|
|
1636
1760
|
|
|
1637
1761
|
def flushdb: (?Hash[untyped, untyped] options) -> String
|
|
1638
1762
|
|
|
1639
|
-
def info: (
|
|
1763
|
+
def info: (*Array[(String | Symbol)] sections) -> Hash[String, String]
|
|
1640
1764
|
|
|
1641
1765
|
def lastsave: () -> Integer
|
|
1642
1766
|
|
|
@@ -1644,7 +1768,17 @@ class Redis
|
|
|
1644
1768
|
|
|
1645
1769
|
def save: () -> String
|
|
1646
1770
|
|
|
1647
|
-
def
|
|
1771
|
+
def waitaof: (Integer numlocal, Integer numreplicas, Integer timeout) -> untyped
|
|
1772
|
+
|
|
1773
|
+
def hotkeys_start: (metrics: (Symbol | String | Array[(Symbol | String)]), ?count: (Integer | nil)?, ?duration: (Integer | nil)?, ?sample: (Integer | nil)?, ?slots: (Array[Integer] | nil)?) -> String
|
|
1774
|
+
|
|
1775
|
+
def hotkeys_get: () -> nil
|
|
1776
|
+
|
|
1777
|
+
def hotkeys_stop: () -> nil
|
|
1778
|
+
|
|
1779
|
+
def hotkeys_reset: () -> String
|
|
1780
|
+
|
|
1781
|
+
def shutdown: (?save: (bool | nil)?, ?now: bool, ?force: bool, ?abort: bool) -> String
|
|
1648
1782
|
|
|
1649
1783
|
def slaveof: (untyped host, untyped port) -> untyped
|
|
1650
1784
|
|
|
@@ -1692,6 +1826,8 @@ class Redis
|
|
|
1692
1826
|
|
|
1693
1827
|
def sinter: (*(String | Array[String]) keys) -> Array[String]
|
|
1694
1828
|
|
|
1829
|
+
def sintercard: (*(String | Array[String]) keys, ?limit: Integer?) -> Integer
|
|
1830
|
+
|
|
1695
1831
|
def sinterstore: (String destination, *(String | Array[String]) keys) -> Integer
|
|
1696
1832
|
|
|
1697
1833
|
def sunion: (*(String | Array[String]) keys) -> Array[String]
|
|
@@ -1703,6 +1839,26 @@ class Redis
|
|
|
1703
1839
|
def sscan: (untyped key, (String | Integer) cursor, **Hash[untyped, untyped] options) -> (String | Array[String])
|
|
1704
1840
|
|
|
1705
1841
|
def sscan_each: (untyped key, **Hash[untyped, untyped] options) ?{ (?) -> untyped } -> Enumerator[untyped, untyped]
|
|
1842
|
+
|
|
1843
|
+
def sexpire: (String key, Integer ttl, *Array[String] members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
1844
|
+
|
|
1845
|
+
def spexpire: (String key, Integer ttl, *Array[String] members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
1846
|
+
|
|
1847
|
+
def sexpireat: (String key, Integer unix_time_seconds, *Array[String] members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
1848
|
+
|
|
1849
|
+
def spexpireat: (String key, Integer unix_time_milliseconds, *Array[String] members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
1850
|
+
|
|
1851
|
+
def sttl: (String key, *Array[String] members) -> Array[Integer]
|
|
1852
|
+
|
|
1853
|
+
def spttl: (String key, *Array[String] members) -> Array[Integer]
|
|
1854
|
+
|
|
1855
|
+
def sexpiretime: (String key, *Array[String] members) -> Array[Integer]
|
|
1856
|
+
|
|
1857
|
+
def spexpiretime: (String key, *Array[String] members) -> Array[Integer]
|
|
1858
|
+
|
|
1859
|
+
def spersist: (String key, *Array[String] members) -> Array[Integer]
|
|
1860
|
+
|
|
1861
|
+
def saddex: (String key, *Array[String] members, ?mnx: untyped?, ?mxx: untyped?, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?keepttl: bool) -> Integer
|
|
1706
1862
|
end
|
|
1707
1863
|
end
|
|
1708
1864
|
end
|
|
@@ -1726,6 +1882,12 @@ class Redis
|
|
|
1726
1882
|
|
|
1727
1883
|
def zmpop: (*untyped keys, ?modifier: ::String, ?count: untyped?) -> Array[(String | Array[(String | Float)])]
|
|
1728
1884
|
|
|
1885
|
+
def zmove: (String source, String destination, ?modifier: String?, ?byscore: Array[(String | Numeric)]?, ?count: Integer?) -> untyped
|
|
1886
|
+
|
|
1887
|
+
def bzmove: (String source, String destination, ?timeout: ::Integer, ?modifier: ::String, ?count: Integer?) -> untyped
|
|
1888
|
+
|
|
1889
|
+
def zmovemember: (String source, String destination, (String | Array[String]) members, ?nx: bool?, ?xx: bool?) -> untyped
|
|
1890
|
+
|
|
1729
1891
|
def bzpopmax: (*untyped args) -> nil
|
|
1730
1892
|
|
|
1731
1893
|
def bzpopmin: (*untyped args) -> nil
|
|
@@ -1742,9 +1904,9 @@ class Redis
|
|
|
1742
1904
|
|
|
1743
1905
|
def zrevrange: (untyped key, untyped start, untyped stop, ?withscores: bool, ?with_scores: untyped) -> untyped
|
|
1744
1906
|
|
|
1745
|
-
def zrank: (String key, String member, ?withscore: bool, ?with_score: untyped) -> (Integer | [Integer, Float])
|
|
1907
|
+
def zrank: (String key, String member, ?withscore: bool, ?with_score: untyped) -> (Integer | [Integer, Float] | nil)
|
|
1746
1908
|
|
|
1747
|
-
def zrevrank: (String key, String member, ?withscore: bool, ?with_score: untyped) -> (Integer | [Integer, Float])
|
|
1909
|
+
def zrevrank: (String key, String member, ?withscore: bool, ?with_score: untyped) -> (Integer | [Integer, Float] | nil)
|
|
1748
1910
|
|
|
1749
1911
|
def zremrangebyrank: (String key, Integer start, Integer stop) -> Integer
|
|
1750
1912
|
|
|
@@ -1764,6 +1926,8 @@ class Redis
|
|
|
1764
1926
|
|
|
1765
1927
|
def zinter: (*untyped args) -> (Array[String] | Array[[String, Float]])
|
|
1766
1928
|
|
|
1929
|
+
def zintercard: (*(String | Array[String]) keys, ?limit: Integer?) -> Integer
|
|
1930
|
+
|
|
1767
1931
|
def zinterstore: (*untyped args) -> Integer
|
|
1768
1932
|
|
|
1769
1933
|
def zunion: (*untyped args) -> (Array[String] | Array[[String, Float]])
|
|
@@ -1792,12 +1956,14 @@ class Redis
|
|
|
1792
1956
|
module Streams
|
|
1793
1957
|
def xinfo: (untyped subcommand, untyped key, ?untyped? group) -> Array[Hash[untyped, untyped]]
|
|
1794
1958
|
|
|
1795
|
-
def xadd: (untyped key, untyped entry, ?approximate: untyped?, ?maxlen: untyped?, ?minid: untyped?, ?limit: untyped?, ?nomkstream: untyped?, ?id: ::String) -> String
|
|
1959
|
+
def xadd: (untyped key, untyped entry, ?approximate: untyped?, ?maxlen: untyped?, ?minid: untyped?, ?limit: untyped?, ?nomkstream: untyped?, ?id: ::String, ?policy: untyped?, ?idmp: untyped?, ?idmpauto: untyped?) -> String
|
|
1796
1960
|
|
|
1797
|
-
def xtrim: (untyped key, untyped len_or_id, ?strategy: ::String, ?approximate: bool, ?limit: untyped?) -> Integer
|
|
1961
|
+
def xtrim: (untyped key, untyped len_or_id, ?strategy: ::String, ?approximate: bool, ?limit: untyped?, ?policy: untyped?) -> Integer
|
|
1798
1962
|
|
|
1799
1963
|
def xdel: (untyped key, *untyped ids) -> Integer
|
|
1800
1964
|
|
|
1965
|
+
def xdelex: (untyped key, *untyped ids, ?keepref: untyped?, ?delref: untyped?, ?acked: untyped?) -> Array[Integer]
|
|
1966
|
+
|
|
1801
1967
|
def xrange: (untyped key, ?::String start, ?::String range_end, ?count: untyped?) -> Array[Array[(String | Hash[untyped, untyped])]]
|
|
1802
1968
|
|
|
1803
1969
|
def xrevrange: (untyped key, ?::String range_end, ?::String start, ?count: untyped?) -> Array[Array[(String | Hash[untyped, untyped])]]
|
|
@@ -1806,20 +1972,30 @@ class Redis
|
|
|
1806
1972
|
|
|
1807
1973
|
def xread: (untyped keys, untyped ids, ?count: untyped?, ?max_count: untyped?, ?max_size: untyped?, ?block: untyped?) -> Hash[String, Hash[String, Hash[untyped, untyped]]]
|
|
1808
1974
|
|
|
1809
|
-
def xgroup: (untyped subcommand, untyped key, untyped group, ?untyped? id_or_consumer, ?mkstream: bool) -> Integer
|
|
1975
|
+
def xgroup: (untyped subcommand, untyped key, untyped group, ?untyped? id_or_consumer, ?mkstream: bool, ?entriesread: untyped?) -> Integer
|
|
1810
1976
|
|
|
1811
|
-
def
|
|
1977
|
+
def xsetid: (untyped key, untyped id, ?entriesadded: untyped?, ?maxdeletedid: untyped?) -> String
|
|
1978
|
+
|
|
1979
|
+
def xcfgset: (untyped key, ?duration: untyped?, ?maxsize: untyped?) -> String
|
|
1980
|
+
|
|
1981
|
+
def xreadgroup: (untyped group, untyped consumer, untyped keys, untyped ids, ?count: untyped?, ?max_count: untyped?, ?max_size: untyped?, ?block: untyped?, ?claim: untyped?, ?noack: untyped?) -> untyped
|
|
1812
1982
|
|
|
1813
1983
|
def xack: (untyped key, untyped group, *untyped ids) -> Integer
|
|
1814
1984
|
|
|
1985
|
+
def xackdel: (untyped key, untyped group, *untyped ids, ?keepref: untyped?, ?delref: untyped?, ?acked: untyped?) -> Array[Integer]
|
|
1986
|
+
|
|
1987
|
+
def xnack: (untyped key, untyped group, untyped mode, *untyped ids, ?retrycount: untyped?, ?force: untyped?) -> Integer
|
|
1988
|
+
|
|
1815
1989
|
def xclaim: (untyped key, untyped group, untyped consumer, untyped min_idle_time, *untyped ids, **untyped opts) -> Array[String]
|
|
1816
1990
|
|
|
1817
|
-
def xautoclaim: (untyped key, untyped group, untyped consumer, untyped min_idle_time, untyped start, ?count: untyped?, ?justid: bool) ->
|
|
1991
|
+
def xautoclaim: (untyped key, untyped group, untyped consumer, untyped min_idle_time, untyped start, ?count: untyped?, ?justid: bool) -> Hash[untyped, untyped]
|
|
1818
1992
|
|
|
1819
1993
|
def xpending: (untyped key, untyped group, *untyped args, ?idle: untyped?) -> Array[Hash[untyped, untyped]]
|
|
1820
1994
|
|
|
1821
1995
|
private
|
|
1822
1996
|
|
|
1997
|
+
def xstream_ref_policy_token: (untyped policy) -> untyped
|
|
1998
|
+
|
|
1823
1999
|
def _xread: (untyped args, untyped keys, untyped ids, untyped blocking_timeout_msec) -> untyped
|
|
1824
2000
|
end
|
|
1825
2001
|
end
|
|
@@ -1838,7 +2014,11 @@ class Redis
|
|
|
1838
2014
|
|
|
1839
2015
|
def incrbyfloat: (String key, Float increment) -> Float
|
|
1840
2016
|
|
|
1841
|
-
def
|
|
2017
|
+
def increx: (String key, ?by: (Integer | Float)?, ?lbound: (Integer | Float)?, ?ubound: (Integer | Float)?, ?saturate: bool?, ?ex: Integer?, ?px: Integer?, ?exat: Integer?, ?pxat: Integer?, ?persist: bool?, ?enx: bool?) -> untyped
|
|
2018
|
+
|
|
2019
|
+
def set: (String key, String value, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?nx: untyped?, ?xx: untyped?, ?ifeq: untyped?, ?ifne: untyped?, ?ifdeq: untyped?, ?ifdne: untyped?, ?keepttl: untyped?, ?get: untyped?) -> (String | bool)
|
|
2020
|
+
|
|
2021
|
+
def delex: (String key, ?ifeq: untyped?, ?ifne: untyped?, ?ifdeq: untyped?, ?ifdne: untyped?) -> Integer
|
|
1842
2022
|
|
|
1843
2023
|
def setex: (String key, Integer ttl, String value) -> String
|
|
1844
2024
|
|
|
@@ -1872,7 +2052,15 @@ class Redis
|
|
|
1872
2052
|
|
|
1873
2053
|
def getex: (String key, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?persist: bool) -> String?
|
|
1874
2054
|
|
|
2055
|
+
def digest: (String key) -> (String | nil)
|
|
2056
|
+
|
|
1875
2057
|
def strlen: (String key) -> Integer
|
|
2058
|
+
|
|
2059
|
+
def lcs: (String key1, String key2, ?len: bool, ?idx: bool, ?minmatchlen: untyped?, ?withmatchlen: bool) -> (String | Integer | Hash[untyped, untyped])
|
|
2060
|
+
|
|
2061
|
+
private
|
|
2062
|
+
|
|
2063
|
+
def increx_bound: (untyped name, untyped value, untyped float_mode) -> untyped
|
|
1876
2064
|
end
|
|
1877
2065
|
end
|
|
1878
2066
|
end
|
|
@@ -1893,6 +2081,38 @@ class Redis
|
|
|
1893
2081
|
end
|
|
1894
2082
|
end
|
|
1895
2083
|
|
|
2084
|
+
class Redis
|
|
2085
|
+
module Commands
|
|
2086
|
+
module VectorSets
|
|
2087
|
+
def vadd: (String key, (Array[Numeric] | String) vector, String element, ?reduce: untyped?, ?cas: untyped?, ?quantization: untyped?, ?ef: untyped?, ?attributes: untyped?, ?m: untyped?) -> bool
|
|
2088
|
+
|
|
2089
|
+
def vcard: (String key) -> Integer
|
|
2090
|
+
|
|
2091
|
+
def vdim: (String key) -> Integer
|
|
2092
|
+
|
|
2093
|
+
def vemb: (String key, String element, ?raw: bool?) -> (Array[Float] | Hash[untyped, untyped] | nil)
|
|
2094
|
+
|
|
2095
|
+
def vlinks: (String key, String element, ?withscores: bool, ?with_scores: bool) -> (Array[Array[String]] | Array[Hash[untyped, untyped]] | nil)
|
|
2096
|
+
|
|
2097
|
+
def vsim: (String key, ?vector: untyped?, ?element: untyped?, ?withscores: bool, ?with_scores: untyped, ?withattribs: bool, ?with_attribs: untyped, ?raw: bool, ?count: untyped?, ?epsilon: untyped?, ?ef: untyped?, ?filter: untyped?, ?filter_ef: untyped?, ?truth: untyped?, ?nothread: untyped?) -> (Array[String] | Hash[untyped, untyped])
|
|
2098
|
+
|
|
2099
|
+
def vrem: (String key, String element) -> bool
|
|
2100
|
+
|
|
2101
|
+
def vismember: (String key, String element) -> bool
|
|
2102
|
+
|
|
2103
|
+
def vrandmember: (String key, ?Integer count) -> (String | Array[String] | nil)
|
|
2104
|
+
|
|
2105
|
+
def vrange: (String key, String start, String stop, ?Integer count) -> Array[String]
|
|
2106
|
+
|
|
2107
|
+
def vinfo: (String key) -> (Hash[untyped, untyped] | nil)
|
|
2108
|
+
|
|
2109
|
+
def vsetattr: (String key, String element, (Hash[untyped, untyped] | String | nil) attributes) -> bool
|
|
2110
|
+
|
|
2111
|
+
def vgetattr: (String key, String element, ?raw: bool) -> untyped
|
|
2112
|
+
end
|
|
2113
|
+
end
|
|
2114
|
+
end
|
|
2115
|
+
|
|
1896
2116
|
class Redis
|
|
1897
2117
|
class Distributed
|
|
1898
2118
|
@tag: untyped
|
|
@@ -1909,6 +2129,8 @@ class Redis
|
|
|
1909
2129
|
|
|
1910
2130
|
@watch_key: untyped
|
|
1911
2131
|
|
|
2132
|
+
@released_watch_key: untyped
|
|
2133
|
+
|
|
1912
2134
|
class CannotDistribute < RuntimeError
|
|
1913
2135
|
@command: untyped
|
|
1914
2136
|
|
|
@@ -1945,14 +2167,26 @@ class Redis
|
|
|
1945
2167
|
|
|
1946
2168
|
def flushdb: () -> untyped
|
|
1947
2169
|
|
|
1948
|
-
def info: (
|
|
2170
|
+
def info: (*untyped sections) -> untyped
|
|
1949
2171
|
|
|
1950
2172
|
def lastsave: () -> untyped
|
|
1951
2173
|
|
|
1952
2174
|
def monitor: () -> untyped
|
|
1953
2175
|
|
|
2176
|
+
HOTKEYS_NOT_SUPPORTED: "HOTKEYS commands are not supported on Redis::Distributed: the tracking session is state of a single server. Call them on one node, e.g. distributed.nodes.first.hotkeys_start(...)."
|
|
2177
|
+
|
|
2178
|
+
def hotkeys_start: (**untyped) -> untyped
|
|
2179
|
+
|
|
2180
|
+
def hotkeys_get: () -> untyped
|
|
2181
|
+
|
|
2182
|
+
def hotkeys_stop: () -> untyped
|
|
2183
|
+
|
|
2184
|
+
def hotkeys_reset: () -> untyped
|
|
2185
|
+
|
|
1954
2186
|
def save: () -> untyped
|
|
1955
2187
|
|
|
2188
|
+
def waitaof: (untyped numlocal, untyped numreplicas, untyped timeout) -> untyped
|
|
2189
|
+
|
|
1956
2190
|
def time: () -> untyped
|
|
1957
2191
|
|
|
1958
2192
|
def persist: (untyped key) -> untyped
|
|
@@ -2001,6 +2235,8 @@ class Redis
|
|
|
2001
2235
|
|
|
2002
2236
|
def sort: (untyped key, **untyped options) -> untyped
|
|
2003
2237
|
|
|
2238
|
+
def sort_ro: (untyped key, **untyped options) -> untyped
|
|
2239
|
+
|
|
2004
2240
|
def type: (untyped key) -> untyped
|
|
2005
2241
|
|
|
2006
2242
|
def decr: (untyped key) -> untyped
|
|
@@ -2013,6 +2249,8 @@ class Redis
|
|
|
2013
2249
|
|
|
2014
2250
|
def incrbyfloat: (untyped key, untyped increment) -> untyped
|
|
2015
2251
|
|
|
2252
|
+
def increx: (untyped key, **untyped options) -> untyped
|
|
2253
|
+
|
|
2016
2254
|
def set: (untyped key, untyped value, **untyped options) -> untyped
|
|
2017
2255
|
|
|
2018
2256
|
def setex: (untyped key, untyped ttl, untyped value) -> untyped
|
|
@@ -2035,6 +2273,10 @@ class Redis
|
|
|
2035
2273
|
|
|
2036
2274
|
def getex: (untyped key, **untyped options) -> String?
|
|
2037
2275
|
|
|
2276
|
+
def delex: (untyped key, **untyped options) -> untyped
|
|
2277
|
+
|
|
2278
|
+
def digest: (untyped key) -> untyped
|
|
2279
|
+
|
|
2038
2280
|
def json_set: (untyped key, untyped path, untyped value, **untyped options) -> untyped
|
|
2039
2281
|
|
|
2040
2282
|
def json_get: (untyped key, *untyped paths, **untyped options) -> untyped
|
|
@@ -2099,10 +2341,14 @@ class Redis
|
|
|
2099
2341
|
|
|
2100
2342
|
def bitpos: (untyped key, untyped bit, ?untyped? start, ?untyped? stop, ?scale: untyped?) -> untyped
|
|
2101
2343
|
|
|
2344
|
+
def bitrangeintarray: (untyped key, untyped start, untyped stop, ?scale: untyped?, ?limit: untyped?, ?zeros: bool) -> untyped
|
|
2345
|
+
|
|
2102
2346
|
def getset: (untyped key, untyped value) -> String?
|
|
2103
2347
|
|
|
2104
2348
|
def strlen: (untyped key) -> untyped
|
|
2105
2349
|
|
|
2350
|
+
def lcs: (untyped key1, untyped key2, **untyped options) -> untyped
|
|
2351
|
+
|
|
2106
2352
|
def []: (untyped key) -> untyped
|
|
2107
2353
|
|
|
2108
2354
|
def []=: (untyped key, untyped value) -> untyped
|
|
@@ -2165,6 +2411,8 @@ class Redis
|
|
|
2165
2411
|
|
|
2166
2412
|
def sadd?: (untyped key, *untyped members) -> bool
|
|
2167
2413
|
|
|
2414
|
+
def saddex: (untyped key, *untyped members, ?mnx: untyped?, ?mxx: untyped?, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?keepttl: bool) -> untyped
|
|
2415
|
+
|
|
2168
2416
|
def srem: (untyped key, *untyped members) -> untyped
|
|
2169
2417
|
|
|
2170
2418
|
def srem?: (untyped key, *untyped members) -> bool
|
|
@@ -2179,6 +2427,24 @@ class Redis
|
|
|
2179
2427
|
|
|
2180
2428
|
def smismember: (untyped key, *untyped members) -> untyped
|
|
2181
2429
|
|
|
2430
|
+
def sexpire: (untyped key, untyped ttl, *untyped members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> untyped
|
|
2431
|
+
|
|
2432
|
+
def spexpire: (untyped key, untyped ttl, *untyped members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> untyped
|
|
2433
|
+
|
|
2434
|
+
def sexpireat: (untyped key, untyped unix_time_seconds, *untyped members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> untyped
|
|
2435
|
+
|
|
2436
|
+
def spexpireat: (untyped key, untyped unix_time_milliseconds, *untyped members, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> untyped
|
|
2437
|
+
|
|
2438
|
+
def sttl: (untyped key, *untyped members) -> untyped
|
|
2439
|
+
|
|
2440
|
+
def spttl: (untyped key, *untyped members) -> untyped
|
|
2441
|
+
|
|
2442
|
+
def sexpiretime: (untyped key, *untyped members) -> untyped
|
|
2443
|
+
|
|
2444
|
+
def spexpiretime: (untyped key, *untyped members) -> untyped
|
|
2445
|
+
|
|
2446
|
+
def spersist: (untyped key, *untyped members) -> untyped
|
|
2447
|
+
|
|
2182
2448
|
def smembers: (untyped key) -> untyped
|
|
2183
2449
|
|
|
2184
2450
|
def sscan: (untyped key, untyped cursor, **untyped options) -> untyped
|
|
@@ -2193,6 +2459,8 @@ class Redis
|
|
|
2193
2459
|
|
|
2194
2460
|
def sinter: (*untyped keys) -> untyped
|
|
2195
2461
|
|
|
2462
|
+
def sintercard: (*untyped keys, ?limit: untyped?) -> untyped
|
|
2463
|
+
|
|
2196
2464
|
def sinterstore: (untyped destination, *untyped keys) -> untyped
|
|
2197
2465
|
|
|
2198
2466
|
def sunion: (*untyped keys) -> untyped
|
|
@@ -2219,6 +2487,12 @@ class Redis
|
|
|
2219
2487
|
|
|
2220
2488
|
def zmpop: (*untyped keys, ?modifier: ::String, ?count: untyped?) -> untyped
|
|
2221
2489
|
|
|
2490
|
+
def zmove: (untyped source, untyped destination, **untyped options) -> untyped
|
|
2491
|
+
|
|
2492
|
+
def bzmove: (untyped source, untyped destination, **untyped options) -> untyped
|
|
2493
|
+
|
|
2494
|
+
def zmovemember: (untyped source, untyped destination, untyped members, **untyped options) -> untyped
|
|
2495
|
+
|
|
2222
2496
|
def zrange: (untyped key, untyped start, untyped stop, **untyped options) -> untyped
|
|
2223
2497
|
|
|
2224
2498
|
def zrangestore: (untyped dest_key, untyped src_key, untyped start, untyped stop, **untyped options) -> untyped
|
|
@@ -2241,6 +2515,8 @@ class Redis
|
|
|
2241
2515
|
|
|
2242
2516
|
def zinter: (*untyped keys, **untyped options) -> untyped
|
|
2243
2517
|
|
|
2518
|
+
def zintercard: (*untyped keys, ?limit: untyped?) -> untyped
|
|
2519
|
+
|
|
2244
2520
|
def zinterstore: (untyped destination, *untyped keys, **untyped options) -> untyped
|
|
2245
2521
|
|
|
2246
2522
|
def zunion: (*untyped keys, **untyped options) -> untyped
|
|
@@ -2271,6 +2547,12 @@ class Redis
|
|
|
2271
2547
|
|
|
2272
2548
|
def hdel: (untyped key, *untyped fields) -> untyped
|
|
2273
2549
|
|
|
2550
|
+
def hgetdel: (untyped key, *untyped fields) -> untyped
|
|
2551
|
+
|
|
2552
|
+
def hgetex: (untyped key, *untyped fields, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?persist: bool) -> untyped
|
|
2553
|
+
|
|
2554
|
+
def hsetex: (untyped key, *untyped attrs, ?fnx: untyped?, ?fxx: untyped?, ?ex: untyped?, ?px: untyped?, ?exat: untyped?, ?pxat: untyped?, ?keepttl: bool) -> untyped
|
|
2555
|
+
|
|
2274
2556
|
def hexists: (untyped key, untyped field) -> untyped
|
|
2275
2557
|
|
|
2276
2558
|
def hincrby: (untyped key, untyped field, untyped increment) -> untyped
|
|
@@ -2283,7 +2565,7 @@ class Redis
|
|
|
2283
2565
|
|
|
2284
2566
|
def hgetall: (untyped key) -> untyped
|
|
2285
2567
|
|
|
2286
|
-
def hexpire: (
|
|
2568
|
+
def hexpire: (String key, Integer ttl, *Array[String] fields, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
2287
2569
|
|
|
2288
2570
|
def httl: (untyped key, *untyped fields) -> untyped
|
|
2289
2571
|
|
|
@@ -2297,6 +2579,16 @@ class Redis
|
|
|
2297
2579
|
|
|
2298
2580
|
def hpttl: (untyped key, *untyped fields) -> untyped
|
|
2299
2581
|
|
|
2582
|
+
def hexpireat: (String key, Integer unix_time_seconds, *Array[String] fields, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
2583
|
+
|
|
2584
|
+
def hpexpireat: (String key, Integer unix_time_milliseconds, *Array[String] fields, ?nx: untyped?, ?xx: untyped?, ?gt: untyped?, ?lt: untyped?) -> Array[Integer]
|
|
2585
|
+
|
|
2586
|
+
def hexpiretime: (String key, *Array[String] fields) -> Array[Integer]
|
|
2587
|
+
|
|
2588
|
+
def hpexpiretime: (String key, *Array[String] fields) -> Array[Integer]
|
|
2589
|
+
|
|
2590
|
+
def hpersist: (String key, *Array[String] fields) -> Array[Integer]
|
|
2591
|
+
|
|
2300
2592
|
def himport_prepare: (untyped fieldset_name, *untyped fields) -> untyped
|
|
2301
2593
|
|
|
2302
2594
|
def himport_set: (untyped key, untyped fieldset_name, *untyped values) -> untyped
|
|
@@ -2347,6 +2639,80 @@ class Redis
|
|
|
2347
2639
|
|
|
2348
2640
|
def script: (untyped subcommand, *untyped args) -> untyped
|
|
2349
2641
|
|
|
2642
|
+
def function: (untyped subcommand, *untyped args, **untyped options) -> untyped
|
|
2643
|
+
|
|
2644
|
+
def vadd: (untyped key, untyped vector, untyped element, **untyped options) -> untyped
|
|
2645
|
+
|
|
2646
|
+
def vcard: (untyped key) -> untyped
|
|
2647
|
+
|
|
2648
|
+
def vdim: (untyped key) -> untyped
|
|
2649
|
+
|
|
2650
|
+
def vemb: (untyped key, untyped element, **untyped options) -> untyped
|
|
2651
|
+
|
|
2652
|
+
def vsetattr: (untyped key, untyped element, untyped attributes) -> untyped
|
|
2653
|
+
|
|
2654
|
+
def vgetattr: (untyped key, untyped element, **untyped options) -> untyped
|
|
2655
|
+
|
|
2656
|
+
def vsim: (untyped key, **untyped options) -> untyped
|
|
2657
|
+
|
|
2658
|
+
def vrem: (untyped key, untyped element) -> untyped
|
|
2659
|
+
|
|
2660
|
+
def vismember: (untyped key, untyped element) -> untyped
|
|
2661
|
+
|
|
2662
|
+
def vlinks: (untyped key, untyped element, **untyped options) -> untyped
|
|
2663
|
+
|
|
2664
|
+
def vinfo: (untyped key) -> untyped
|
|
2665
|
+
|
|
2666
|
+
def vrandmember: (untyped key, ?untyped? count) -> untyped
|
|
2667
|
+
|
|
2668
|
+
def vrange: (untyped key, untyped start, untyped stop, ?untyped? count) -> untyped
|
|
2669
|
+
|
|
2670
|
+
def arset: (untyped key, untyped index, *untyped values) -> untyped
|
|
2671
|
+
|
|
2672
|
+
def arget: (untyped key, untyped index) -> untyped
|
|
2673
|
+
|
|
2674
|
+
def armset: (untyped key, *untyped pairs) -> untyped
|
|
2675
|
+
|
|
2676
|
+
def armget: (untyped key, *untyped indices) -> untyped
|
|
2677
|
+
|
|
2678
|
+
def argetrange: (untyped key, untyped start, untyped stop) -> untyped
|
|
2679
|
+
|
|
2680
|
+
def arlen: (untyped key) -> untyped
|
|
2681
|
+
|
|
2682
|
+
def arcount: (untyped key) -> untyped
|
|
2683
|
+
|
|
2684
|
+
def ardel: (untyped key, *untyped indices) -> untyped
|
|
2685
|
+
|
|
2686
|
+
def ardelrange: (untyped key, *untyped ranges) -> untyped
|
|
2687
|
+
|
|
2688
|
+
def arinsert: (untyped key, *untyped values) -> untyped
|
|
2689
|
+
|
|
2690
|
+
def arseek: (untyped key, untyped index) -> untyped
|
|
2691
|
+
|
|
2692
|
+
def arnext: (untyped key) -> untyped
|
|
2693
|
+
|
|
2694
|
+
def arlastitems: (untyped key, untyped count, ?rev: bool) -> untyped
|
|
2695
|
+
|
|
2696
|
+
def arring: (untyped key, untyped size, *untyped values) -> untyped
|
|
2697
|
+
|
|
2698
|
+
def arscan: (untyped key, untyped start, untyped stop, ?limit: untyped?) -> untyped
|
|
2699
|
+
|
|
2700
|
+
def argrep: (untyped key, untyped start, untyped stop, **untyped options) -> untyped
|
|
2701
|
+
|
|
2702
|
+
def arop: (untyped key, untyped start, untyped stop, untyped operation, ?value: untyped?) -> untyped
|
|
2703
|
+
|
|
2704
|
+
def arinfo: (untyped key, ?full: bool) -> untyped
|
|
2705
|
+
|
|
2706
|
+
def bless_get: (untyped key) -> untyped
|
|
2707
|
+
|
|
2708
|
+
def bless_set: (untyped key, untyped flag) -> untyped
|
|
2709
|
+
|
|
2710
|
+
def bless_clear: (untyped key, untyped flag) -> untyped
|
|
2711
|
+
|
|
2712
|
+
def bless_scan: (untyped _cursor, untyped _flag, **untyped _options) -> untyped
|
|
2713
|
+
|
|
2714
|
+
def bless_scan_each: (untyped flag, **untyped options) ?{ (?) -> untyped } -> untyped
|
|
2715
|
+
|
|
2350
2716
|
def pfadd: (untyped key, untyped member) -> untyped
|
|
2351
2717
|
|
|
2352
2718
|
def pfcount: (*untyped keys) -> untyped
|
|
@@ -2359,6 +2725,10 @@ class Redis
|
|
|
2359
2725
|
|
|
2360
2726
|
def evalsha: (*untyped args) -> untyped
|
|
2361
2727
|
|
|
2728
|
+
def fcall: (*untyped args) -> untyped
|
|
2729
|
+
|
|
2730
|
+
def fcall_ro: (*untyped args) -> untyped
|
|
2731
|
+
|
|
2362
2732
|
def inspect: () -> ::String
|
|
2363
2733
|
|
|
2364
2734
|
def dup: () -> untyped
|
|
@@ -2369,6 +2739,14 @@ class Redis
|
|
|
2369
2739
|
|
|
2370
2740
|
def key_tag: (untyped key) -> untyped
|
|
2371
2741
|
|
|
2742
|
+
def transaction_key: () -> untyped
|
|
2743
|
+
|
|
2744
|
+
def release_watch_key: (untyped key) -> untyped
|
|
2745
|
+
|
|
2746
|
+
def unwatch_after_error: (untyped key) -> untyped
|
|
2747
|
+
|
|
2748
|
+
def sort_keys: (untyped key, untyped options) -> untyped
|
|
2749
|
+
|
|
2372
2750
|
def ensure_same_node: (untyped command, untyped keys) { (untyped) -> untyped } -> untyped
|
|
2373
2751
|
end
|
|
2374
2752
|
end
|
|
@@ -2461,6 +2839,302 @@ class Redis
|
|
|
2461
2839
|
end
|
|
2462
2840
|
end
|
|
2463
2841
|
|
|
2842
|
+
class Redis
|
|
2843
|
+
module KeyspaceNotifications
|
|
2844
|
+
class ParseError < BaseError
|
|
2845
|
+
@channel: untyped
|
|
2846
|
+
|
|
2847
|
+
@payload: untyped
|
|
2848
|
+
|
|
2849
|
+
attr_reader channel: untyped
|
|
2850
|
+
|
|
2851
|
+
attr_reader payload: untyped
|
|
2852
|
+
|
|
2853
|
+
def initialize: (untyped message, ?channel: untyped?, ?payload: untyped?) -> void
|
|
2854
|
+
end
|
|
2855
|
+
end
|
|
2856
|
+
|
|
2857
|
+
def keyspace_notifications: (?error_handler: untyped?, ?reconnect_attempts: untyped) -> KeyspaceNotifications::Manager
|
|
2858
|
+
end
|
|
2859
|
+
|
|
2860
|
+
class Redis
|
|
2861
|
+
module KeyspaceNotifications
|
|
2862
|
+
module Channels
|
|
2863
|
+
FAMILIES: { keyspace: "__keyspace@", keyevent: "__keyevent@", subkeyspace: "__subkeyspace@", subkeyevent: "__subkeyevent@", subkeyspaceitem: "__subkeyspaceitem@", subkeyspaceevent: "__subkeyspaceevent@" }
|
|
2864
|
+
|
|
2865
|
+
def self?.keyspace: (untyped key, ?db: ::Integer) -> String
|
|
2866
|
+
|
|
2867
|
+
def self?.keyevent: (untyped event, ?db: ::Integer) -> String
|
|
2868
|
+
|
|
2869
|
+
def self?.subkeyspace: (untyped key, ?db: ::Integer) -> String
|
|
2870
|
+
|
|
2871
|
+
def self?.subkeyevent: (untyped event, ?db: ::Integer) -> String
|
|
2872
|
+
|
|
2873
|
+
def self?.subkeyspaceitem: (untyped key, untyped subkey, ?db: ::Integer) -> String
|
|
2874
|
+
|
|
2875
|
+
def self?.subkeyspaceevent: (untyped event, untyped key, ?db: ::Integer) -> String
|
|
2876
|
+
|
|
2877
|
+
def self?.glob_escape: (untyped value) -> String
|
|
2878
|
+
|
|
2879
|
+
def self?.build: (untyped family, untyped db, untyped suffix) -> untyped
|
|
2880
|
+
|
|
2881
|
+
def self?.validate_db!: (untyped db) -> (nil | untyped)
|
|
2882
|
+
end
|
|
2883
|
+
end
|
|
2884
|
+
end
|
|
2885
|
+
|
|
2886
|
+
class Redis
|
|
2887
|
+
module KeyspaceNotifications
|
|
2888
|
+
class Manager
|
|
2889
|
+
@redis: untyped
|
|
2890
|
+
|
|
2891
|
+
@error_handler: untyped
|
|
2892
|
+
|
|
2893
|
+
@reconnect_attempts: untyped
|
|
2894
|
+
|
|
2895
|
+
@handlers: untyped
|
|
2896
|
+
|
|
2897
|
+
@confirmed: untyped
|
|
2898
|
+
|
|
2899
|
+
@confirm_seq: untyped
|
|
2900
|
+
|
|
2901
|
+
@pending_acks: untyped
|
|
2902
|
+
|
|
2903
|
+
@default_handler: untyped
|
|
2904
|
+
|
|
2905
|
+
@reconnect_handler: untyped
|
|
2906
|
+
|
|
2907
|
+
@lock: untyped
|
|
2908
|
+
|
|
2909
|
+
@cond: untyped
|
|
2910
|
+
|
|
2911
|
+
@thread: untyped
|
|
2912
|
+
|
|
2913
|
+
@listener_error: untyped
|
|
2914
|
+
|
|
2915
|
+
@listener_error_epoch: untyped
|
|
2916
|
+
|
|
2917
|
+
@reconnect_now: untyped
|
|
2918
|
+
|
|
2919
|
+
@removing: untyped
|
|
2920
|
+
|
|
2921
|
+
@unvalidated: untyped
|
|
2922
|
+
|
|
2923
|
+
@probe_inflight: untyped
|
|
2924
|
+
|
|
2925
|
+
@opening_pending: untyped
|
|
2926
|
+
|
|
2927
|
+
@opening_seq: untyped
|
|
2928
|
+
|
|
2929
|
+
@establishing: untyped
|
|
2930
|
+
|
|
2931
|
+
@rejected_wait: untyped
|
|
2932
|
+
|
|
2933
|
+
@probe_replay: untyped
|
|
2934
|
+
|
|
2935
|
+
@resume_reconnecting: untyped
|
|
2936
|
+
|
|
2937
|
+
@issue_seq: untyped
|
|
2938
|
+
|
|
2939
|
+
@inflight_waits: untyped
|
|
2940
|
+
|
|
2941
|
+
@session_seq: untyped
|
|
2942
|
+
|
|
2943
|
+
@closing: untyped
|
|
2944
|
+
|
|
2945
|
+
@closed: untyped
|
|
2946
|
+
|
|
2947
|
+
DEFAULT_CLOSE_TIMEOUT: 2
|
|
2948
|
+
|
|
2949
|
+
Registration: untyped
|
|
2950
|
+
|
|
2951
|
+
DEFAULT_RECONNECT_ATTEMPTS: ::Array[::Float | 1 | 2 | 4 | 8 | 16 | 30]
|
|
2952
|
+
|
|
2953
|
+
SUBSCRIBE_ACK_TIMEOUT: 5
|
|
2954
|
+
|
|
2955
|
+
def initialize: (redis: untyped, ?error_handler: untyped?, ?reconnect_attempts: untyped) -> void
|
|
2956
|
+
|
|
2957
|
+
def subscribe: (*untyped patterns, ?handler: untyped?) { (?) -> untyped } -> (nil | untyped)
|
|
2958
|
+
|
|
2959
|
+
def unsubscribe: (*untyped patterns) -> nil
|
|
2960
|
+
|
|
2961
|
+
def subscribe_keyspace: (?::String key, ?db: ::Integer) { (?) -> untyped } -> untyped
|
|
2962
|
+
|
|
2963
|
+
def subscribe_keyevent: (?::String event, ?db: ::Integer) { (?) -> untyped } -> untyped
|
|
2964
|
+
|
|
2965
|
+
def subscribe_subkeyspace: (?::String key, ?db: ::Integer) { (?) -> untyped } -> untyped
|
|
2966
|
+
|
|
2967
|
+
def subscribe_subkeyevent: (?::String event, ?db: ::Integer) { (?) -> untyped } -> untyped
|
|
2968
|
+
|
|
2969
|
+
def subscribe_subkeyspaceitem: (untyped key, ?::String subkey, ?db: ::Integer) { (?) -> untyped } -> untyped
|
|
2970
|
+
|
|
2971
|
+
def subscribe_subkeyspaceevent: (?::String event, ?::String key, ?db: ::Integer) { (?) -> untyped } -> untyped
|
|
2972
|
+
|
|
2973
|
+
def on_notification: () { (?) -> untyped } -> nil
|
|
2974
|
+
|
|
2975
|
+
def on_error: () { (?) -> untyped } -> nil
|
|
2976
|
+
|
|
2977
|
+
def on_reconnect: () { (?) -> untyped } -> nil
|
|
2978
|
+
|
|
2979
|
+
def patterns: () -> Array[String]
|
|
2980
|
+
|
|
2981
|
+
def registered_patterns: () -> Array[String]
|
|
2982
|
+
|
|
2983
|
+
def subscribed?: () -> bool
|
|
2984
|
+
|
|
2985
|
+
def closed?: () -> bool
|
|
2986
|
+
|
|
2987
|
+
def close: (?timeout: untyped) -> nil
|
|
2988
|
+
|
|
2989
|
+
alias stop close
|
|
2990
|
+
|
|
2991
|
+
private
|
|
2992
|
+
|
|
2993
|
+
def listening?: () -> bool
|
|
2994
|
+
|
|
2995
|
+
def listener_thread?: () -> bool
|
|
2996
|
+
|
|
2997
|
+
def interruptible_backoff: (untyped delay) -> (true | false)
|
|
2998
|
+
|
|
2999
|
+
def restart_dead_listener: () -> (nil | untyped)
|
|
3000
|
+
|
|
3001
|
+
def start_listener: (untyped patterns) -> untyped
|
|
3002
|
+
|
|
3003
|
+
def run_listener: (untyped patterns, ?reconnecting: bool) -> untyped
|
|
3004
|
+
|
|
3005
|
+
def listen: (untyped patterns, untyped reconnected) -> untyped
|
|
3006
|
+
|
|
3007
|
+
def dispatch: (untyped pattern, untyped channel, untyped payload) -> untyped
|
|
3008
|
+
|
|
3009
|
+
def wait_for_confirmation: (untyped patterns, untyped installed, untyped issue_seq, untyped stale_confirmations, untyped entry_epoch) -> nil
|
|
3010
|
+
|
|
3011
|
+
def reissue_unconfirmed: (untyped patterns, untyped installed, untyped issue_seq, untyped stale_confirmations) -> untyped
|
|
3012
|
+
|
|
3013
|
+
def confirmed_or_replaced?: (untyped pattern, untyped installed, untyped stale_confirmations) -> bool
|
|
3014
|
+
|
|
3015
|
+
def fresh_confirmation?: (untyped pattern, untyped stale_confirmations) -> bool
|
|
3016
|
+
|
|
3017
|
+
def wait_for_removal: (untyped patterns, untyped owned) -> nil
|
|
3018
|
+
|
|
3019
|
+
def punsubscribe_quietly: (untyped patterns) -> (false | untyped)
|
|
3020
|
+
|
|
3021
|
+
def psubscribe_quietly: (untyped patterns, ?untyped? batch_seq) -> (false | untyped)
|
|
3022
|
+
|
|
3023
|
+
def track_pending_acks: (untyped patterns, ?untyped? batch_seq) -> untyped
|
|
3024
|
+
|
|
3025
|
+
def track_opening_acks: (untyped patterns) -> untyped
|
|
3026
|
+
|
|
3027
|
+
def mark_probes: (untyped patterns) -> untyped
|
|
3028
|
+
|
|
3029
|
+
def issue_probes: (untyped patterns) -> untyped
|
|
3030
|
+
|
|
3031
|
+
def write_to_session: (untyped verb, untyped patterns) -> untyped
|
|
3032
|
+
|
|
3033
|
+
def rollback_registration: (untyped previous, untyped installed) -> (nil | untyped)
|
|
3034
|
+
|
|
3035
|
+
def revert_subscription: (untyped pattern) -> untyped
|
|
3036
|
+
|
|
3037
|
+
def fire_reconnect: () -> untyped
|
|
3038
|
+
|
|
3039
|
+
def report_error: (untyped error) -> untyped
|
|
3040
|
+
|
|
3041
|
+
def force_close_redis: () -> untyped
|
|
3042
|
+
|
|
3043
|
+
def translate_error: (untyped error) -> untyped
|
|
3044
|
+
end
|
|
3045
|
+
end
|
|
3046
|
+
end
|
|
3047
|
+
|
|
3048
|
+
class Redis
|
|
3049
|
+
module KeyspaceNotifications
|
|
3050
|
+
class Notification
|
|
3051
|
+
@family: untyped
|
|
3052
|
+
|
|
3053
|
+
@db: untyped
|
|
3054
|
+
|
|
3055
|
+
@event: untyped
|
|
3056
|
+
|
|
3057
|
+
@key: untyped
|
|
3058
|
+
|
|
3059
|
+
@subkeys: untyped
|
|
3060
|
+
|
|
3061
|
+
@channel: untyped
|
|
3062
|
+
|
|
3063
|
+
@payload: untyped
|
|
3064
|
+
|
|
3065
|
+
@pattern: untyped
|
|
3066
|
+
|
|
3067
|
+
FAMILIES: ::Array[:keyspace | :keyevent | :subkeyspace | :subkeyevent | :subkeyspaceitem | :subkeyspaceevent]
|
|
3068
|
+
|
|
3069
|
+
attr_reader family: untyped
|
|
3070
|
+
|
|
3071
|
+
attr_reader db: untyped
|
|
3072
|
+
|
|
3073
|
+
attr_reader event: untyped
|
|
3074
|
+
|
|
3075
|
+
attr_reader key: untyped
|
|
3076
|
+
|
|
3077
|
+
attr_reader subkeys: untyped
|
|
3078
|
+
|
|
3079
|
+
attr_reader channel: untyped
|
|
3080
|
+
|
|
3081
|
+
attr_reader payload: untyped
|
|
3082
|
+
|
|
3083
|
+
attr_reader pattern: untyped
|
|
3084
|
+
|
|
3085
|
+
def initialize: (family: untyped, db: untyped, event: untyped, key: untyped, channel: untyped, payload: untyped, ?subkeys: untyped, ?pattern: untyped?) -> void
|
|
3086
|
+
|
|
3087
|
+
def subkey: () -> (String | nil)
|
|
3088
|
+
|
|
3089
|
+
def subkey_family?: () -> bool
|
|
3090
|
+
|
|
3091
|
+
def to_h: () -> { family: untyped, db: untyped, event: untyped, key: untyped, subkeys: untyped, channel: untyped, payload: untyped, pattern: untyped }
|
|
3092
|
+
|
|
3093
|
+
def ==: (untyped other) -> bool
|
|
3094
|
+
|
|
3095
|
+
alias eql? ==
|
|
3096
|
+
|
|
3097
|
+
def hash: () -> Integer
|
|
3098
|
+
|
|
3099
|
+
private
|
|
3100
|
+
|
|
3101
|
+
def frozen_copy: (untyped value) -> untyped
|
|
3102
|
+
end
|
|
3103
|
+
end
|
|
3104
|
+
end
|
|
3105
|
+
|
|
3106
|
+
class Redis
|
|
3107
|
+
module KeyspaceNotifications
|
|
3108
|
+
module Parser
|
|
3109
|
+
HEADER: ::Regexp
|
|
3110
|
+
|
|
3111
|
+
COMMA: 44
|
|
3112
|
+
|
|
3113
|
+
PIPE: 124
|
|
3114
|
+
|
|
3115
|
+
def self?.parse: (untyped channel, untyped payload, ?pattern: untyped?) -> (nil | untyped)
|
|
3116
|
+
|
|
3117
|
+
def self?.parse_keyspace: (untyped rest, untyped payload, untyped _channel) -> ::Array[untyped | ::Array[untyped]]
|
|
3118
|
+
|
|
3119
|
+
def self?.parse_keyevent: (untyped rest, untyped payload, untyped _channel) -> ::Array[untyped | ::Array[untyped]]
|
|
3120
|
+
|
|
3121
|
+
def self?.parse_subkeyspace: (untyped rest, untyped payload, untyped channel) -> ::Array[untyped]
|
|
3122
|
+
|
|
3123
|
+
def self?.parse_subkeyevent: (untyped rest, untyped payload, untyped channel) -> ::Array[untyped]
|
|
3124
|
+
|
|
3125
|
+
def self?.parse_subkeyspaceitem: (untyped rest, untyped payload, untyped channel) -> ::Array[untyped | ::Array[untyped]]
|
|
3126
|
+
|
|
3127
|
+
def self?.parse_subkeyspaceevent: (untyped rest, untyped payload, untyped channel) -> ::Array[untyped]
|
|
3128
|
+
|
|
3129
|
+
def self?.read_length_prefixed: (untyped buf, untyped pos, untyped channel) -> ::Array[untyped]
|
|
3130
|
+
|
|
3131
|
+
def self?.parse_subkey_list: (untyped buf, untyped pos, untyped channel) -> untyped
|
|
3132
|
+
|
|
3133
|
+
def self?.error: (untyped message, untyped channel, untyped payload) -> untyped
|
|
3134
|
+
end
|
|
3135
|
+
end
|
|
3136
|
+
end
|
|
3137
|
+
|
|
2464
3138
|
class Redis
|
|
2465
3139
|
module LibIdentity
|
|
2466
3140
|
MARKER: "redis-rb_v"
|
|
@@ -2497,13 +3171,15 @@ class Redis
|
|
|
2497
3171
|
class PipelinedConnection
|
|
2498
3172
|
@pipeline: untyped
|
|
2499
3173
|
|
|
3174
|
+
@client: untyped
|
|
3175
|
+
|
|
2500
3176
|
@futures: untyped
|
|
2501
3177
|
|
|
2502
3178
|
@exception: untyped
|
|
2503
3179
|
|
|
2504
3180
|
attr_accessor db: untyped
|
|
2505
3181
|
|
|
2506
|
-
def initialize: (untyped pipeline, ?untyped futures, ?exception: bool) -> void
|
|
3182
|
+
def initialize: (untyped pipeline, ?untyped futures, ?client: untyped, ?exception: bool) -> void
|
|
2507
3183
|
|
|
2508
3184
|
include Commands
|
|
2509
3185
|
|
|
@@ -2530,6 +3206,8 @@ class Redis
|
|
|
2530
3206
|
|
|
2531
3207
|
class FutureNotReady < RuntimeError
|
|
2532
3208
|
def initialize: () -> void
|
|
3209
|
+
|
|
3210
|
+
def exception: (*untyped) -> untyped
|
|
2533
3211
|
end
|
|
2534
3212
|
|
|
2535
3213
|
class Future < BasicObject
|
|
@@ -2549,6 +3227,8 @@ class Redis
|
|
|
2549
3227
|
|
|
2550
3228
|
def _set: (untyped object) -> untyped
|
|
2551
3229
|
|
|
3230
|
+
def _set_unless_error: (untyped object) -> (untyped | nil)
|
|
3231
|
+
|
|
2552
3232
|
def value: () -> untyped
|
|
2553
3233
|
|
|
2554
3234
|
def is_a?: (untyped other) -> bool
|
|
@@ -2575,6 +3255,14 @@ class Redis
|
|
|
2575
3255
|
|
|
2576
3256
|
@write_monitor: untyped
|
|
2577
3257
|
|
|
3258
|
+
@pending_writes: untyped
|
|
3259
|
+
|
|
3260
|
+
@pending_writes_lock: untyped
|
|
3261
|
+
|
|
3262
|
+
@closed: untyped
|
|
3263
|
+
|
|
3264
|
+
READ_SLICE: ::Float
|
|
3265
|
+
|
|
2578
3266
|
def initialize: (untyped client) -> void
|
|
2579
3267
|
|
|
2580
3268
|
def call_v: (untyped command) -> untyped
|
|
@@ -2600,6 +3288,12 @@ class Redis
|
|
|
2600
3288
|
def close: () -> nil
|
|
2601
3289
|
|
|
2602
3290
|
def subscription: (untyped start, untyped stop, untyped channels, untyped block, ?::Integer timeout) -> untyped
|
|
3291
|
+
|
|
3292
|
+
def next_event: (untyped timeout) -> (nil | untyped | untyped)
|
|
3293
|
+
|
|
3294
|
+
def guarded_read: (untyped slice) -> untyped
|
|
3295
|
+
|
|
3296
|
+
def writer_priority_wait: () -> untyped
|
|
2603
3297
|
end
|
|
2604
3298
|
|
|
2605
3299
|
class Subscription
|
|
@@ -2630,5 +3324,107 @@ class Redis
|
|
|
2630
3324
|
end
|
|
2631
3325
|
|
|
2632
3326
|
class Redis
|
|
2633
|
-
VERSION: "6.
|
|
3327
|
+
VERSION: "6.1.0"
|
|
3328
|
+
end
|
|
3329
|
+
|
|
3330
|
+
class Redis
|
|
3331
|
+
module XXH3
|
|
3332
|
+
MASK64: untyped
|
|
3333
|
+
|
|
3334
|
+
MASK32: 4294967295
|
|
3335
|
+
|
|
3336
|
+
PRIME32_1: 2654435761
|
|
3337
|
+
|
|
3338
|
+
PRIME32_2: 2246822519
|
|
3339
|
+
|
|
3340
|
+
PRIME32_3: 3266489917
|
|
3341
|
+
|
|
3342
|
+
PRIME64_1: 11400714785074694791
|
|
3343
|
+
|
|
3344
|
+
PRIME64_2: 14029467366897019727
|
|
3345
|
+
|
|
3346
|
+
PRIME64_3: 1609587929392839161
|
|
3347
|
+
|
|
3348
|
+
PRIME64_4: 9650029242287828579
|
|
3349
|
+
|
|
3350
|
+
PRIME64_5: 2870177450012600261
|
|
3351
|
+
|
|
3352
|
+
PRIME_MX1: 1609587791953885689
|
|
3353
|
+
|
|
3354
|
+
PRIME_MX2: 11507291218515648293
|
|
3355
|
+
|
|
3356
|
+
SECRET: untyped
|
|
3357
|
+
|
|
3358
|
+
STRIPE_LEN: 64
|
|
3359
|
+
|
|
3360
|
+
SECRET_CONSUME_RATE: 8
|
|
3361
|
+
|
|
3362
|
+
SECRET_SIZE_MIN: 136
|
|
3363
|
+
|
|
3364
|
+
MIDSIZE_MAX: 240
|
|
3365
|
+
|
|
3366
|
+
MIDSIZE_STARTOFFSET: 3
|
|
3367
|
+
|
|
3368
|
+
MIDSIZE_LASTOFFSET: 17
|
|
3369
|
+
|
|
3370
|
+
SECRET_LASTACC_START: 7
|
|
3371
|
+
|
|
3372
|
+
SECRET_MERGEACCS_START: 11
|
|
3373
|
+
|
|
3374
|
+
INIT_ACC: ::Array[untyped]
|
|
3375
|
+
|
|
3376
|
+
IMPLEMENTATION_CONSTANTS: ::Array[:MASK64 | :MASK32 | :PRIME32_1 | :PRIME32_2 | :PRIME32_3 | :PRIME64_1 | :PRIME64_2 | :PRIME64_3 | :PRIME64_4 | :PRIME64_5 | :PRIME_MX1 | :PRIME_MX2 | :SECRET | :STRIPE_LEN | :SECRET_CONSUME_RATE | :SECRET_SIZE_MIN | :MIDSIZE_MAX | :MIDSIZE_STARTOFFSET | :MIDSIZE_LASTOFFSET | :SECRET_LASTACC_START | :SECRET_MERGEACCS_START | :INIT_ACC]
|
|
3377
|
+
|
|
3378
|
+
def self.hexdigest: (untyped value) -> String
|
|
3379
|
+
|
|
3380
|
+
private
|
|
3381
|
+
|
|
3382
|
+
def self.hash64: (untyped input) -> untyped
|
|
3383
|
+
|
|
3384
|
+
def self.read_le32: (untyped str, untyped offset) -> untyped
|
|
3385
|
+
|
|
3386
|
+
def self.read_le64: (untyped str, untyped offset) -> untyped
|
|
3387
|
+
|
|
3388
|
+
def self.rotl64: (untyped x, untyped r) -> untyped
|
|
3389
|
+
|
|
3390
|
+
def self.swap64: (untyped x) -> untyped
|
|
3391
|
+
|
|
3392
|
+
def self.mul128_fold64: (untyped lhs, untyped rhs) -> untyped
|
|
3393
|
+
|
|
3394
|
+
def self.xorshift64: (untyped v, untyped shift) -> untyped
|
|
3395
|
+
|
|
3396
|
+
def self.avalanche: (untyped h64) -> untyped
|
|
3397
|
+
|
|
3398
|
+
def self.avalanche64: (untyped h) -> untyped
|
|
3399
|
+
|
|
3400
|
+
def self.rrmxmx: (untyped h64, untyped len) -> untyped
|
|
3401
|
+
|
|
3402
|
+
def self.len_0to16_64b: (untyped input, untyped len) -> untyped
|
|
3403
|
+
|
|
3404
|
+
def self.len_1to3_64b: (untyped input, untyped len) -> untyped
|
|
3405
|
+
|
|
3406
|
+
def self.len_4to8_64b: (untyped input, untyped len) -> untyped
|
|
3407
|
+
|
|
3408
|
+
def self.len_9to16_64b: (untyped input, untyped len) -> untyped
|
|
3409
|
+
|
|
3410
|
+
def self.mix16b: (untyped input, untyped input_off, untyped secret_off) -> untyped
|
|
3411
|
+
|
|
3412
|
+
def self.len_17to128_64b: (untyped input, untyped len) -> untyped
|
|
3413
|
+
|
|
3414
|
+
def self.len_129to240_64b: (untyped input, untyped len) -> untyped
|
|
3415
|
+
|
|
3416
|
+
def self.hash_long_64b: (untyped input, untyped len) -> untyped
|
|
3417
|
+
|
|
3418
|
+
def self.hash_long_internal_loop: (untyped acc, untyped input, untyped len) -> untyped
|
|
3419
|
+
|
|
3420
|
+
def self.accumulate: (untyped acc, untyped input, untyped input_off, untyped nb_stripes) -> untyped
|
|
3421
|
+
|
|
3422
|
+
def self.accumulate_512: (untyped acc, untyped input, untyped input_off, untyped secret_off) -> untyped
|
|
3423
|
+
|
|
3424
|
+
def self.scramble_acc: (untyped acc, untyped secret_off) -> untyped
|
|
3425
|
+
|
|
3426
|
+
def self.finalize_long_64b: (untyped acc, untyped len) -> untyped
|
|
3427
|
+
|
|
3428
|
+
def self.merge_accs: (untyped acc, untyped secret_off, untyped start) -> untyped
|
|
3429
|
+
end
|
|
2634
3430
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redis-rbs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ldebortoli
|
|
@@ -15,22 +15,22 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 6.
|
|
18
|
+
version: 6.1.0
|
|
19
19
|
- - "<"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
21
|
+
version: 6.1.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - ">="
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 6.
|
|
28
|
+
version: 6.1.0
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version:
|
|
31
|
+
version: 6.1.1
|
|
32
32
|
description: Complete generated RBS signatures for the public and auxiliary APIs of
|
|
33
|
-
redis-rb 6.0.
|
|
33
|
+
redis-rb 6.1.0.
|
|
34
34
|
executables: []
|
|
35
35
|
extensions: []
|
|
36
36
|
extra_rdoc_files: []
|