Module: Redis::Commands::Lists
- Included in:
- Redis::Commands
- Defined in:
- sig/redis.rbs
Instance Method Summary collapse
- #_bpop {|arg0| ... } ⇒ Object
- #_normalize_move_wheres ⇒ ::Array[untyped]
- #blmove ⇒ nil, String
- #blmpop ⇒ Array[(String | Array[(String | Float)])]
- #blpop ⇒ nil, [String, String]
- #brpop ⇒ nil, [String, String]
- #brpoplpush ⇒ nil, String
- #lindex ⇒ String?
- #linsert ⇒ Integer
- #llen ⇒ Integer
- #lmove ⇒ nil, String
- #lmpop ⇒ Array[(String | Array[(String | Float)])]
- #lpop ⇒ nil, ...
- #lpush ⇒ Integer
- #lpushx ⇒ Integer
- #lrange ⇒ Array[String]
- #lrem ⇒ Integer
- #lset ⇒ String
- #ltrim ⇒ String
- #rpop ⇒ nil, ...
- #rpoplpush ⇒ nil, String
- #rpush ⇒ Integer
- #rpushx ⇒ Integer
Instance Method Details
#_bpop {|arg0| ... } ⇒ Object
432 |
# File 'sig/redis.rbs', line 432
def _bpop: (untyped cmd, untyped args) { (?) -> untyped } -> untyped
|
#_normalize_move_wheres ⇒ ::Array[untyped]
434 |
# File 'sig/redis.rbs', line 434
def _normalize_move_wheres: (untyped where_source, untyped where_destination) -> ::Array[untyped]
|
#blmove ⇒ nil, String
392 |
# File 'sig/redis.rbs', line 392
def blmove: (String source, String destination, (String | Symbol) where_source, (String | Symbol) where_destination, ?timeout: ::Integer) -> (nil | String)
|
#blmpop ⇒ Array[(String | Array[(String | Float)])]
414 |
# File 'sig/redis.rbs', line 414
def blmpop: (untyped timeout, *untyped keys, ?modifier: ::String, ?count: untyped?) -> Array[(String | Array[(String | Float)])]
|
#blpop ⇒ nil, [String, String]
408 |
# File 'sig/redis.rbs', line 408
def blpop: (*untyped args) -> (nil | [String, String])
|
#brpop ⇒ nil, [String, String]
410 |
# File 'sig/redis.rbs', line 410
def brpop: (*untyped args) -> (nil | [String, String])
|
#brpoplpush ⇒ nil, String
412 |
# File 'sig/redis.rbs', line 412
def brpoplpush: (String source, String destination, ?timeout: ::Integer) -> (nil | String)
|
#lindex ⇒ String?
418 |
# File 'sig/redis.rbs', line 418
def lindex: (String key, Integer index) -> String?
|
#linsert ⇒ Integer
420 |
# File 'sig/redis.rbs', line 420
def linsert: (String key, (String | Symbol) where, String pivot, String value) -> Integer
|
#llen ⇒ Integer
388 |
# File 'sig/redis.rbs', line 388
def llen: (String key) -> Integer
|
#lmove ⇒ nil, String
390 |
# File 'sig/redis.rbs', line 390
def lmove: (String source, String destination, (String | Symbol) where_source, (String | Symbol) where_destination) -> (nil | String)
|
#lmpop ⇒ Array[(String | Array[(String | Float)])]
416 |
# File 'sig/redis.rbs', line 416
def lmpop: (*untyped keys, ?modifier: ::String, ?count: untyped?) -> Array[(String | Array[(String | Float)])]
|
#lpop ⇒ nil, ...
402 |
# File 'sig/redis.rbs', line 402
def lpop: (String key, ?Integer count) -> (nil | String | Array[String])
|
#lpush ⇒ Integer
394 |
# File 'sig/redis.rbs', line 394
def lpush: (String key, (String | Array[String]) value) -> Integer
|
#lpushx ⇒ Integer
396 |
# File 'sig/redis.rbs', line 396
def lpushx: (String key, String value) -> Integer
|
#lrange ⇒ Array[String]
422 |
# File 'sig/redis.rbs', line 422
def lrange: (String key, Integer start, Integer stop) -> Array[String]
|
#lrem ⇒ Integer
424 |
# File 'sig/redis.rbs', line 424
def lrem: (String key, Integer count, String value) -> Integer
|
#lset ⇒ String
426 |
# File 'sig/redis.rbs', line 426
def lset: (String key, Integer index, String value) -> String
|
#ltrim ⇒ String
428 |
# File 'sig/redis.rbs', line 428
def ltrim: (String key, Integer start, Integer stop) -> String
|
#rpop ⇒ nil, ...
404 |
# File 'sig/redis.rbs', line 404
def rpop: (String key, ?Integer count) -> (nil | String | Array[String])
|
#rpoplpush ⇒ nil, String
406 |
# File 'sig/redis.rbs', line 406
def rpoplpush: (String source, String destination) -> (nil | String)
|
#rpush ⇒ Integer
398 |
# File 'sig/redis.rbs', line 398
def rpush: (String key, (String | Array[String]) value) -> Integer
|
#rpushx ⇒ Integer
400 |
# File 'sig/redis.rbs', line 400
def rpushx: (String key, String value) -> Integer
|