The cl-redis Reference Manual

This is the cl-redis Reference Manual, version 2.3.8, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed May 15 04:25:11 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-redis

A fast and robust Common Lisp client for Redis

Maintainer

Vsevolod Dyomkin <>

Author

Vsevolod Dyomkin <>

License

MIT

Version

2.3.8

Dependencies
  • rutils (system).
  • cl-ppcre (system).
  • usocket (system).
  • flexi-streams (system).
  • babel (system).
Source

cl-redis.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-redis/cl-redis.asd

Source

cl-redis.asd.

Parent Component

cl-redis (system).

ASDF Systems

cl-redis.


3.1.2 cl-redis/package.lisp

Source

cl-redis.asd.

Parent Component

cl-redis (system).

Packages

3.1.3 cl-redis/float.lisp

Dependency

package.lisp (file).

Source

cl-redis.asd.

Parent Component

cl-redis (system).

Internals

3.1.4 cl-redis/connection.lisp

Dependency

float.lisp (file).

Source

cl-redis.asd.

Parent Component

cl-redis (system).

Public Interface
Internals

3.1.5 cl-redis/redis.lisp

Dependency

connection.lisp (file).

Source

cl-redis.asd.

Parent Component

cl-redis (system).

Public Interface
Internals

3.1.6 cl-redis/commands.lisp

Dependency

redis.lisp (file).

Source

cl-redis.asd.

Parent Component

cl-redis (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 redis

Source

package.lisp.

Use List
  • common-lisp.
  • rtl.
Public Interface
Internals

4.2 red

Source

package.lisp.


5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: *cmd-prefix*

Prefix for functions names that implement Redis commands.

Package

redis.

Source

redis.lisp.

Special Variable: *connection*

The current Redis connection.

Package

redis.

Source

connection.lisp.

Special Variable: *echo-p*

Whether the server-client communication should be echoed to the stream specified by *ECHO-STREAM*. The default is NIL, meaning no echoing.

Package

redis.

Source

connection.lisp.

Special Variable: *echo-stream*

A stream to which the server-client communication will be echoed for debugging purposes. The default is *STANDARD-OUTPUT*.

Package

redis.

Source

connection.lisp.


5.1.2 Macros

Macro: def-cmd (cmd (&rest args) reply-type docstring)

Define and export a function with the name <*CMD-REDIX*>-<CMD> for processing a Redis command CMD. Here REPLY-TYPE is the expected reply format.

Package

redis.

Source

redis.lisp.

Macro: def-expect-method (type &body body)

Define a specialized EXPECT method. BODY may refer to the ~ variable REPLY, which is bound to the reply received from Redis ~ server with the first character removed.

Package

redis.

Source

redis.lisp.

Macro: with-connection ((&key host port auth) &body body)

Evaluate BODY with the current connection bound to a new connection specified by the given HOST and PORT

Package

redis.

Source

connection.lisp.

Macro: with-persistent-connection ((&key host port auth) &body body)

Execute BODY inside WITH-CONNECTION. But if connection is broken due to REDIS-CONNECTION-ERROR (a network error or timeout), transparently reopen it.

Package

redis.

Source

connection.lisp.

Macro: with-pipelining (&body body)

Delay execution of EXPECT’s inside BODY to the end, so that all commands are first sent to the server and then their output is received and collected into a list. So commands return :PIPELINED instead of the expected results.

Package

redis.

Source

redis.lisp.

Macro: with-recursive-connection ((&key host port auth) &body body)

Execute BODY with *CONNECTION* bound to the default Redis connection. If connection is already established, reuse it.

Package

redis.

Source

connection.lisp.


5.1.3 Ordinary functions

Function: close-connection (conn)

Close the socket of CONN.

Package

redis.

Source

connection.lisp.

Function: connect (&key host port auth)

Connect to Redis server.

Package

redis.

Source

connection.lisp.

Function: connected-p ()

Is there a current connection?

Package

redis.

Source

connection.lisp.

Function: disconnect ()

Disconnect from Redis server.

Package

redis.

Source

connection.lisp.

Function: open-connection (conn)

Create a socket connection to the host and port of CONNECTION and set the socket of CONN to the associated socket.

Package

redis.

Source

connection.lisp.

Function: reconnect ()

Close and reopen the connection to Redis server.

Package

redis.

Source

connection.lisp.

Function: red-append (key value)

Append the specified string to the string stored at key.

Package

redis.

Alias for

append.

Function: red-auth (pass)

Simple password authentication if enabled.

Package

redis.

Alias for

auth.

Function: red-bgrewriteaof ()

Rewrite the append only file in background when it gets too big.

Package

redis.

Alias for

bgrewriteaof.

Function: red-bgsave ()

Asynchronously save the DB on disk.

Package

redis.

Alias for

bgsave.

Function: red-bitcount (key &optional start end)

Count set bits in a string at KEY
(with optional bounding indices START and END).

Package

redis.

Alias for

bitcount.

Function: red-bitop (operation destkey key &rest keys)

Perform bitwise OPERATION between strings ar KEY and KEYS and store the result ad DSTKEY.

Package

redis.

Alias for

bitop.

Function: red-bitpos (key bit &optional start end)

Return the position of the first bit set to 1 or 0 in a string.

Package

redis.

Alias for

bitpos.

Function: red-blpop (&rest keys-and-timeout)

Blocking LPOP.

Package

redis.

Alias for

blpop.

Function: red-brpop (&rest keys-and-timeout)

Blocking RPOP.

Package

redis.

Alias for

brpop.

Function: red-brpoplpush (source destination timeout)

BRPOPLPUSH is the blocking variant of RPOPLPUSH. When source contains elements, this command behaves exactly like RPOPLPUSH. When source is empty, Redis will block the connection until another client pushes to it or until TIMEOUT is reached. A TIMEOUT of zero can be used to block indefinitely. See RPOPLPUSH for more information.

Package

redis.

Alias for

brpoplpush.

Function: red-client-getname ()

The CLIENT GETNAME returns the name of the current connection as set by CLIENT SETNAME. Since every new connection starts without an associated name, if no name was assigned a null bulk reply is returned.

Package

redis.

Alias for

client-getname.

Function: red-client-pause (timeout)

CLIENT PAUSE is a connections control command able to suspend all the Redis clients for the specified amount of time (in milliseconds).

Package

redis.

Alias for

client-pause.

Function: red-client-setname (connection-name)

The CLIENT SETNAME command assigns a name to the current connection. The assigned name is displayed in the output of CLIENT LIST so that it is possible to identify the client that performed a given connection.

Package

redis.

Alias for

client-setname.

Function: red-cluster-slots ()

CLUSTER SLOTS returns details about which cluster slots map to which Redis instances.

Package

redis.

Alias for

cluster-slots.

Function: red-command ()

Returns Array reply of details about all Redis commands.
Cluster clients must be aware of key positions in commands so commands can go to matching instances, but Redis commands vary between accepting one key, multiple keys, or even multiple keys separated by other data.
You can use COMMAND to cache a mapping between commands and key positions for each command to enable exact routing of commands to cluster instances.

Package

redis.

Alias for

command.

Function: red-command-count ()

Returns Integer reply of number of total commands in this Redis server.

Package

redis.

Alias for

command-count.

Function: red-command-getkeys (command-name &rest args)

Returns Array reply of keys from a full Redis command.
COMMAND GETKEYS is a helper command to let you find the keys from
a full Redis command.
COMMAND shows some commands as having movablekeys meaning the entire command must be parsed to discover storage or retrieval keys.
You can use COMMAND GETKEYS to discover key positions directly from how Redis parses the commands.

Package

redis.

Alias for

command-getkeys.

Function: red-command-info (command-name &rest args)

Returns Array reply of details about multiple Redis commands.
Same result format as COMMAND except you can specify which commands get returned.
If you request details about non-existing commands, their return position will be nil.

Package

redis.

Alias for

command-info.

Function: red-config-get (pattern)

Configure a Redis server at runtime: get glob PATTERN value.

Package

redis.

Alias for

config-get.

Function: red-config-resetstat ()

Resets the statistics reported by Redis using the INFO command.

Package

redis.

Alias for

config-resetstat.

Function: red-config-rewrite ()

The CONFIG REWRITE command rewrites the redis.conf file the server
was started with, applying the minimal changes needed to make it reflecting the configuration currently used by the server, that may be different compared to the original one because of the use of the CONFIG SET command.

Package

redis.

Alias for

config-rewrite.

Function: red-config-set (parameter value)

Configure a Redis server at runtime: set PARAMETER VALUE.

Package

redis.

Alias for

config-set.

Function: red-dbsize ()

Return the number of keys in the current db.

Package

redis.

Alias for

dbsize.

Function: red-decr (key)

Decrement the integer value of KEY.

Package

redis.

Alias for

decr.

Function: red-decrby (key decrement)

Decrement the integer value of KEY by DECREMENT.

Package

redis.

Alias for

decrby.

Function: red-del (key &rest keys)

Delete a key.

Package

redis.

Alias for

del.

Function: red-discard ()

Redis atomic transactions’ rollback.

Package

redis.

Alias for

discard.

Function: red-dump (key)

Return a serialized version of the value stored at the specified KEY.

Package

redis.

Alias for

dump.

Function: red-echo (message)

Returns message.

Package

redis.

Alias for

echo.

Function: red-eval (script numkeys &rest key-values)

Execute a Lua script server side.

Package

redis.

Alias for

eval.

Function: red-evalsha (sha1 numkeys &rest key-values)

Execute a stored Lua script server side.

Package

redis.

Alias for

evalsha.

Function: red-exec ()

Redis atomic transactions’ commit.

Package

redis.

Alias for

exec.

Function: red-exists (key)

Test if a key exists.

Package

redis.

Alias for

exists.

Function: red-expire (key secs)

Set a time to live in SECS on KEY.

Package

redis.

Alias for

expire.

Function: red-expireat (key timestamp)

Set a timeout on KEY. After the timeout has expired, the key will automatically be deleted.
EXPIREAT has the same effect and semantic as EXPIRE, but instead of specifying the number of seconds representing the TTL, it takes
an absolute UNIX timestamp (seconds since January 1, 1970).
As in the case of EXPIRE command, if key is updated before the timeout has expired, then the timeout is removed as if the PERSIST command was invoked on KEY.

Package

redis.

Alias for

expireat.

Function: red-flushall ()

Remove all the keys from all the databases.

Package

redis.

Alias for

flushall.

Function: red-flushdb ()

Remove all the keys of the currently selected DB.

Package

redis.

Alias for

flushdb.

Function: red-get (key)

Return the string value of the key.

Package

redis.

Alias for

get.

Function: red-getbit (key offset)

Returns the bit value at OFFSET in the string value stored at KEY.

Package

redis.

Alias for

getbit.

Function: red-getrange (key offset value)

Returns the substring of the string value stored at key, determined by the offsets START and END (both are inclusive). Negative offsets can be used in order to provide an offset starting from the end of the string. So -1 means the last character, -2 the penultimate and so forth.

Package

redis.

Alias for

getrange.

Function: red-getset (key value)

Set a key to a string returning the old value of the key.

Package

redis.

Alias for

getset.

Function: red-hdel (key field)

Remove the specified FIELD from a hash.

Package

redis.

Alias for

hdel.

Function: red-hexists (key field)

Test for existence of a specified FIELD in a hash.

Package

redis.

Alias for

hexists.

Function: red-hget (key field)

Retrieve the value of the specified hash FIELD.

Package

redis.

Alias for

hget.

Function: red-hgetall (key)

Return all the fields and associated values in a hash.

Package

redis.

Alias for

hgetall.

Function: red-hincrby (key field integer)

Increment the integer value of the hash at KEY on FIELD with INTEGER.

Package

redis.

Alias for

hincrby.

Function: red-hincrbyfloat (key field increment)

Increment the float value of the hash at KEY on FIELD with INCREMENT.

Package

redis.

Alias for

hincrbyfloat.

Function: red-hkeys (key)

Return all the fields in a hash.

Package

redis.

Alias for

hkeys.

Function: red-hlen (key)

Return the number of items in a hash.

Package

redis.

Alias for

hlen.

Function: red-hmget (key field &rest fields)

Get the values associated with the specified FIELDS in the hash stored at KEY.

Package

redis.

Alias for

hmget.

Function: red-hmset (key &rest fields-and-values)

Set the hash FIELDS to their respective VALUES.

Package

redis.

Alias for

hmset.

Function: red-hscan (key cursor &rest args &key match count)

The HSCAN command and the closely related commands SCAN, SSCAN and ZSCAN are used in order to incrementally iterate over a collection of elements. HSCAN iterates fields of Hash types and their associated values.

Package

redis.

Alias for

hscan.

Function: red-hset (key field value)

Set the hash FIELD to the specified VALUE. Creates the hash if needed.

Package

redis.

Alias for

hset.

Function: red-hsetnx (key field value)

Set the hash FIELD to the specified VALUE, if the KEY doesn’t exist yet.

Package

redis.

Alias for

hsetnx.

Function: red-hvals (key)

Return all the values in a hash.

Package

redis.

Alias for

hvals.

Function: red-incr (key)

Increment the integer value of KEY.

Package

redis.

Alias for

incr.

Function: red-incrby (key increment)

Increment the integer value of KEY by .

Package

redis.

Alias for

incrby.

Function: red-incrbyfloat (key increment)

Increment the float value of KEY by INCREMENT.

Package

redis.

Alias for

incrbyfloat.

Function: red-info (&optional section)

Provide information and statistics about the server.

Package

redis.

Alias for

info.

Function: red-keys (pattern)

Return all the keys matching a given pattern.

Package

redis.

Alias for

keys.

Function: red-lastsave ()

Return the UNIX time stamp of the last successfully saving of the dataset on disk.

Package

redis.

Alias for

lastsave.

Function: red-lindex (key index)

Return the element at index position from the List at key.

Package

redis.

Alias for

lindex.

Function: red-linsert (key before/after pivot value)

Inserts VALUE in the list stored at KEY either BEFORE or AFTER
the reference value PIVOT. When KEY does not exist, it is considered an empty list and no operation is performed. An error is returned when KEY exists, but does not hold a list value PIVOT.

Note: before/after can only have 2 values: :before or :after.

Package

redis.

Alias for

linsert.

Function: red-llen (key)

Return the length of the List value at key.

Package

redis.

Alias for

llen.

Function: red-lpop (key)

Return and remove (atomically) the first element of the List at key.

Package

redis.

Alias for

lpop.

Function: red-lpush (key &rest values)

Append an element to the head of the list value at KEY.

Package

redis.

Alias for

lpush.

Function: red-lpushx (key value)

Inserts value at the head of the list stored at KEY, only if KEY already exists and holds a list. In contrary to LPUSH, no operation will be performed when KEY does not yet exist.

Package

redis.

Alias for

lpushx.

Function: red-lrange (key start end)

Return a range of elements from the List at key.

Package

redis.

Alias for

lrange.

Function: red-lrem (key count value)

Remove the first-N, last-N, or all the elements matching value from the List at key.

Package

redis.

Alias for

lrem.

Function: red-lset (key index value)

Set a new value as the element at index position of the List at key.

Package

redis.

Alias for

lset.

Function: red-ltrim (key start end)

Trim the list at key to the specified range of elements.

Package

redis.

Alias for

ltrim.

Function: red-mget (&rest keys)

Multi-get, return the strings values of the keys.

Package

redis.

Alias for

mget.

Function: red-migrate (host port key destination-db timeout)

Atomically transfer a key from a Redis instance to another one.

Package

redis.

Alias for

migrate.

Function: red-move (key dbindex)

Move the key from the currently selected DB to the DB having as index dbindex.

Package

redis.

Alias for

move.

Function: red-mset (&rest key-value-plist)

Set multiple keys to multiple values in a single atomic operation.

Package

redis.

Alias for

mset.

Function: red-msetnx (&rest key-value-plist)

Set multiple keys to multiple values in a single atomic operation if none of the keys already exist.

Package

redis.

Alias for

msetnx.

Function: red-multi ()

Redis atomic transactions’ start.

Package

redis.

Alias for

multi.

Function: red-object-encoding (key)

The OBJECT command allows to inspect the internals of Redis Objects
associated with keys. It is useful for debugging or to understand if your keys are using the specially encoded data types to save space. Your application may also use the information reported by the OBJECT command to implement application level key eviction policies when using Redis as a Cache.
OBJECT ENCODING <key> returns the kind of internal representation used in order to store the value associated with a key.

Package

redis.

Alias for

object-encoding.

Function: red-object-idletime (key)

The OBJECT command allows to inspect the internals of Redis Objects
associated with keys. It is useful for debugging or to understand if your keys are using the specially encoded data types to save space. Your application may also use the information reported by the OBJECT command to implement application level key eviction policies when using Redis as a Cache.
OBJECT IDLETIME <key> returns the number of seconds since the object stored at the specified key is idle (not requested by read or write operations). While the value is returned in seconds the actual resolution of this timer is 10 seconds, but may vary in future implementations.

Package

redis.

Alias for

object-idletime.

Function: red-object-refcount (key)

The OBJECT command allows to inspect the internals of Redis Objects
associated with keys. It is useful for debugging or to understand if your keys are using the specially encoded data types to save space. Your application may also use the information reported by the OBJECT command to implement application level key eviction policies when using Redis as a Cache.
OBJECT REFCOUNT <key> returns the number of references of the value associated with the specified key.

Package

redis.

Alias for

object-refcount.

Function: red-persist (key)

Remove the existing timeout on KEY.

Package

redis.

Alias for

persist.

Function: red-pexpire (key milliseconds)

Set a KEY’s time to live in MILLISECONDS.

Package

redis.

Alias for

pexpire.

Function: red-pexpireat (key milliseconds-timestamp)

Set the expiration for a KEY as a Unix timestamp specified in milliseconds.

Package

redis.

Alias for

pexpireat.

Function: red-pfadd (key element &rest elements)

Adds all the element arguments to the HyperLogLog data structure stored
at the variable name specified as first argument.
As a side effect of this command the HyperLogLog internals may be updated to reflect a different estimation of the number of unique items added so far (the cardinality of the set).
If the approximated cardinality estimated by the HyperLogLog changed after executing the command, PFADD returns 1, otherwise 0 is returned.
The command automatically creates an empty HyperLogLog structure (that is, a Redis String of a specified length and with a given encoding) if
the specified key does not exist.
To call the command without elements but just the variable name is valid, this will result into no operation performed if the variable already exists, or just the creation of the data structure if the key does not exist
(in the latter case 1 is returned).

Package

redis.

Alias for

pfadd.

Function: red-pfcount (key &rest keys)

When called with a single key, returns the approximated cardinality computed by the HyperLogLog data structure stored at the specified variable,
which is 0 if the variable does not exist.
When called with multiple keys, returns the approximated cardinality of the union of the HyperLogLogs passed, by internally merging the HyperLogLogs stored at the provided keys into a temporary hyperLogLog.
The HyperLogLog data structure can be used in order to count unique elements in a set using just a small constant amount of memory, specifically 12k bytes for every HyperLogLog (plus a few bytes for the key itself).
The returned cardinality of the observed set is not exact, but approximated with a standard error of 0.81%.
For example, in order to take the count of all the unique search queries performed in a day, a program needs to call PFADD every time a query is processed. The estimated number of unique queries can be retrieved with PFCOUNT at any time.
Note: as a side effect of calling this function, it is possible that
the HyperLogLog is modified, since the last 8 bytes encode the latest computed cardinality for caching purposes. So PFCOUNT is technically
a write command.

Package

redis.

Alias for

pfcount.

Function: red-pfmerge (destkey sourcekey &rest sourcekeys)

Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of the observed Sets of the source HyperLogLog structures.
The computed merged HyperLogLog is set to the destination variable, which is created if does not exist (defaulting to an empty HyperLogLog).

Package

redis.

Alias for

pfmerge.

Function: red-ping ()

Ping server.

Package

redis.

Alias for

ping.

Function: red-psubscribe (&rest patterns)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Alias for

psubscribe.

Function: red-pttl (key)

Get the time to live in milliseconds of KEY.

Package

redis.

Alias for

pttl.

Function: red-publish (channel message)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Alias for

publish.

Function: red-punsubscribe (&rest patterns)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Alias for

punsubscribe.

Function: red-quit ()

Close the connection.

Package

redis.

Alias for

quit.

Function: red-randomkey ()

Return a random key from the key space.

Package

redis.

Alias for

randomkey.

Function: red-rename (oldname newname)

Rename the old key in the new one, destroing the newname key if it already exists.

Package

redis.

Alias for

rename.

Function: red-renamenx (oldname newname)

Rename the old key in the new one, if the newname key does not already exist.

Package

redis.

Alias for

renamenx.

Function: red-restore (key ttl serialized-value)

Create a KEY using the provided SERIALIZED-VALUE, previously obtained using DUMP.

Package

redis.

Alias for

restore.

Function: red-role ()

Provide information on the role of a Redis instance in the context
of replication, by returning if the instance is currently a master, slave, or sentinel. The command also returns additional information about the state of the replication (if the role is master or slave) or the list of monitored master names (if the role is sentinel).

Package

redis.

Alias for

role.

Function: red-rpop (key)

Return and remove (atomically) the last element of the List at key.

Package

redis.

Alias for

rpop.

Function: red-rpoplpush (source destination)

Atomically returns and removes the last element (tail) of the list
stored at SOURCE, and pushes the element at the first element (head) of the list stored at DESTINATION.
For example: consider SOURCE holding the list a,b,c, and DESTINATION holding the list x,y,z. Executing RPOPLPUSH results in SOURCE holding a,b and DESTINATION holding c,x,y,z.
If SOURCE does not exist, the value nil is returned and no operation is performed. If SOURCE and DESTINATION are the same, the operation is equivalent to removing the last element from the list and pushing it as first element of the list, so it can be considered as a list rotation command.

Package

redis.

Alias for

rpoplpush.

Function: red-rpush (key &rest values)

Append an element to the tail of the list value at KEY.

Package

redis.

Alias for

rpush.

Function: red-rpushx (key value)

Inserts value at the tail of the list stored at KEY, only if KEY already exists and holds a list. In contrary to RPUSH, no operation will be performed when KEY does not yet exist.

Package

redis.

Alias for

rpushx.

Function: red-sadd (key &rest members)

Add the specified member to the Set value at key.

Package

redis.

Alias for

sadd.

Function: red-save ()

Synchronously save the DB on disk.

Package

redis.

Alias for

save.

Function: red-scan (cursor &rest args &key match count)

The SCAN command and the closely related commands SSCAN, HSCAN and ZSCAN are used in order to incrementally iterate over a collection of elements. SCAN iterates the set of keys in the currently selected Redis database.

Package

redis.

Alias for

scan.

Function: red-scard (key)

Return the number of elements (the cardinality) of the Set at key.

Package

redis.

Alias for

scard.

Function: red-script-exists (script &rest scripts)

Check existence of scripts in the script cache.

Package

redis.

Alias for

script-exists.

Function: red-script-flush ()

Remove all the scripts from the script cache.

Package

redis.

Alias for

script-flush.

Function: red-script-kill ()

Kill the script currently in execution.

Package

redis.

Alias for

script-kill.

Function: red-script-load (script)

Load the specified Lua script into the script cache.

Package

redis.

Alias for

script-load.

Function: red-sdiff (&rest keys)

Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN.

Package

redis.

Alias for

sdiff.

Function: red-sdiffstore (dstkey &rest keys)

Compute the difference between the Set key1 and all the Sets key2, ..., keyN, and store the resulting Set at dstkey.

Package

redis.

Alias for

sdiffstore.

Function: red-select (index)

Select the DB having the specified index.

Package

redis.

Alias for

select.

Function: red-set (key value)

Set a key to a string value.

Package

redis.

Alias for

set.

Function: red-setbit (key offset value)

Sets or clears the bit at OFFSET in the string value stored at KEY.

Package

redis.

Alias for

setbit.

Function: red-setex (key time value)

Set KEY to hold the string VALUE and set KEY to timeout after a given number of seconds. This command is equivalent to executing the following commands: SET mykey value
EXPIRE mykey seconds
SETEX is atomic, and can be reproduced by using the previous two commands inside an MULTI/EXEC block. It is provided as a faster alternative to the given sequence of operations, because this operation is very common when Redis is used as a cache.
An error is returned when seconds is invalid.

Package

redis.

Alias for

setex.

Function: red-setnx (key value)

Set a key to a string value if the key does not exist.

Package

redis.

Alias for

setnx.

Function: red-setrange (key offset value)

Overwrites part of the string stored at KEY, starting at the specified OFFSET, for the entire length of VALUE. If the OFFSET is larger than the current length of the string at KEY, the string is padded with zero-bytes to make OFFSET fit. Non-existing keys are considered as empty strings, so this command will make sure it holds a string large enough to be able to set value at OFFSET. Note that the maximum OFFSET that you can set is 229^-1 (536870911), as Redis Strings are limited to 512 megabytes.

Package

redis.

Alias for

setrange.

Function: red-shutdown ()

Synchronously save the DB on disk, then shutdown the server.

Package

redis.

Alias for

shutdown.

Function: red-sinter (&rest keys)

Return the intersection between the Sets stored at key1, key2, ..., keyN.

Package

redis.

Alias for

sinter.

Function: red-sinterstore (dstkey &rest keys)

Compute the intersection between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.

Package

redis.

Alias for

sinterstore.

Function: red-sismember (key member)

Test if the specified value is a member of the Set at key.

Package

redis.

Alias for

sismember.

Function: red-slaveof (hostname port)

Change the replication settings.

Package

redis.

Alias for

slaveof.

Function: red-slowlog (subcommand &optional argument)

Manages the Redis slow queries log.

Package

redis.

Alias for

slowlog.

Function: red-smembers (key)

Return all the members of the Set value at key.

Package

redis.

Alias for

smembers.

Function: red-smove (srckey dstkey member)

Move the specified member from one Set to another atomically.

Package

redis.

Alias for

smove.

Function: red-sort (key &rest args &key by start end get desc alpha store)

Sort a Set or a List accordingly to the specified parameters.

Package

redis.

Alias for

sort.

Function: red-spop (key)

Remove and return (pop) a random element from the Set value at key.

Package

redis.

Alias for

spop.

Function: red-srandmember (key &optional count)

Get one or COUNT random members from a set at KEY.
When called with the additional count argument,
return an array of count distinct elements if count is positive. If called with a negative count the behavior changes and the command is allowed to return the same element multiple times.
In this case the numer of returned elements is the absolute value of the specified count.

Package

redis.

Alias for

srandmember.

Function: red-srem (key &rest members)

Remove the specified member from the Set value at key.

Package

redis.

Alias for

srem.

Function: red-sscan (key cursor &rest args &key match count)

The SCAN command and the closely related commands SCAN, HSCAN and ZSCAN are used in order to incrementally iterate over a collection of elements. SSCAN iterates elements of Sets types.

Package

redis.

Alias for

sscan.

Function: red-strlen (key)

Returns the length of the string value stored at KEY.

Package

redis.

Alias for

strlen.

Function: red-subscribe (&rest channels)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Alias for

subscribe.

Function: red-substr (key start end)

Return a substring out of a larger string.
Warning: left for backwards compatibility. It is now called: GETRANGE.

Package

redis.

Alias for

substr.

Function: red-sunion (&rest keys)

Return the union between the Sets stored at key1, key2, ..., keyN.

Package

redis.

Alias for

sunion.

Function: red-sunionstore (dstkey &rest keys)

Compute the union between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.

Package

redis.

Alias for

sunionstore.

Function: red-sync ()

Synchronize with slave.

Package

redis.

Alias for

sync.

Function: red-time ()

The TIME command returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
Basically the interface is very similar to the one of the gettimeofday system call.

Package

redis.

Alias for

time.

Function: red-ttl (key)

Get the time to live in seconds of KEY.

Package

redis.

Alias for

ttl.

Function: red-type (key)

Return the type of the value stored at key.

Package

redis.

Alias for

type.

Function: red-unsubscribe (&rest channels)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Alias for

unsubscribe.

Function: red-unwatch ()

Flushes all the previously watched keys for a transaction.
If you call EXEC or DISCARD, there’s no need to manually call UNWATCH.

Package

redis.

Alias for

unwatch.

Function: red-watch (key &rest keys)

Marks the given keys to be watched for conditional execution of a transaction.

Package

redis.

Alias for

watch.

Function: red-zadd (key &rest score-member-pairs)

Add the specified MEMBER to the Set value at KEY or update the SCORE if it already exist. If nil is returned, the element already existed in the set. Just the score was updated.

Package

redis.

Alias for

zadd.

Function: red-zcard (key)

Return the cardinality (number of elements) of the sorted set at KEY.

Package

redis.

Alias for

zcard.

Function: red-zcount (key min max)

Returns the number of elements in the sorted set at KEY with a score between MIN and MAX.

Package

redis.

Alias for

zcount.

Function: red-zincrby (key increment member)

If the MEMBER already exists increment its score by INCREMENT, otherwise add the member setting INCREMENT as score.

Package

redis.

Alias for

zincrby.

Function: red-zinterstore (dstkey n keys &rest args &key weights aggregate)

Perform an intersection in DSTKEY over a number (N) of sorted sets at KEYS with optional WEIGHTS and AGGREGATE.

Package

redis.

Alias for

zinterstore.

Function: red-zlexcount (key min max)

When all the elements in a sorted set are inserted with the same score,
in order to force lexicographical ordering,
this command returns the number of elements in the sorted set at key
with a value between min and max.
The min and max arguments have the same meaning as described for ZRANGEBYLEX.

Package

redis.

Alias for

zlexcount.

Function: red-zrange (key start end &optional withscores)

Return a range of elements from the sorted set at KEY.

Package

redis.

Alias for

zrange.

Function: red-zrangebyscore (key min max &rest args &key withscores limit)

Returns all the elements in the sorted set at KEY with a score between
MIN and MAX (including elements with score equal to MIN or MAX).
The elements are considered to be ordered from low to high scores.
The elements having the same score are returned in lexicographical order (this follows from a property of the sorted set implementation in Redis and does not involve further computation).
The optional LIMIT argument can be used to only get a range of the matching elements (similar to SELECT LIMIT offset, count in SQL).
The optional WITHSCORES argument makes the command return both the element and its score, instead of the element alone.

Package

redis.

Alias for

zrangebyscore.

Function: red-zrank (key member)

Return the rank (or index) or MEMBER in the sorted set at KEY, with scores being ordered from low to high.

Package

redis.

Alias for

zrank.

Function: red-zrem (key &rest members)

Remove the specified MEMBER from the Set value at KEY.

Package

redis.

Alias for

zrem.

Function: red-zremrangebylex (key min max)

When all the elements in a sorted set are inserted with the same score,
in order to force lexicographical ordering, this command removes all elements in the sorted set stored at KEY between the lexicographical range specified by MIN and MAX.
The meaning of MIN and MAX are the same of the ZRANGEBYLEX command. Similarly, this command actually returns the same elements that ZRANGEBYLEX would return if called with the same min and max arguments.

Package

redis.

Alias for

zremrangebylex.

Function: red-zremrangebyrank (key min max)

Remove all the elements with rank >= MIN and rank <= MAX from the sorted set.

Package

redis.

Alias for

zremrangebyrank.

Function: red-zremrangebyscore (key min max)

Remove all the elements with score >= MIN and score <= MAX from the sorted set.

Package

redis.

Alias for

zremrangebyscore.

Function: red-zrevrange (key start end &optional withscores)

Return a range of elements from the sorted set at KEY, exactly like ZRANGE, but the sorted set is ordered in traversed in reverse order, from the greatest to the smallest score.

Package

redis.

Alias for

zrevrange.

Function: red-zrevrangebylex (key max min &rest args &key withscores limit)

When all the elements in a sorted set are inserted with the same score,
in order to force lexicographical ordering, this command returns
all the elements in the sorted set at key with a value between max and min. Apart from the reversed ordering, ZREVRANGEBYLEX is similar to ZRANGEBYLEX.

Package

redis.

Alias for

zrevrangebylex.

Function: red-zrevrangebyscore (key max min &rest args &key withscores limit)

Returns all the elements in the sorted set at KEY with a score between MAX and MIN (including elements with score equal to MAX or MIN).
In contrary to the default ordering of sorted sets, for this command the elements are considered to be ordered from high to low scores.
The elements having the same score are returned in reverse lexicographical order. Apart from the reversed ordering,
ZREVRANGEBYSCORE is similar to ZRANGEBYSCORE.

Package

redis.

Alias for

zrevrangebyscore.

Function: red-zrevrank (key member)

Return the rank (or index) or MEMBER in the sorted set at KEY, with scores being ordered from high to low.

Package

redis.

Alias for

zrevrank.

Function: red-zscan (key cursor &rest args &key match count)

The ZSCAN command and the closely related commands SCAN, SSCAN and HSCAN are used in order to incrementally iterate over a collection of elements. ZSCAN iterates elements of Sorted Set types and their associated scores.

Package

redis.

Alias for

zscan.

Function: red-zscore (key element)

Return the score associated with the specified ELEMENT of the sorted set at KEY.

Package

redis.

Alias for

zscore.

Function: red-zunionstore (dstkey n keys &rest args &key weights aggregate)

Perform a union in DSTKEY over a number (N) of sorted sets at KEYS with optional WEIGHTS and AGGREGATE.

Package

redis.

Alias for

zunionstore.


5.1.4 Generic functions

Generic Function: expect (type &key timeout &allow-other-keys)

Receive and process the reply of the given type from Redis server.

If specified, TIMEOUT is the number of seconds to wait for a reply before returning.

Returns two values, the first is the reply or NIL. The second is a real number indicating the time remaining in the timeout or NIL if the read timed out/there was no timeout.

Package

redis.

Source

redis.lisp.

Methods
Method: expect ((type (eql :bytes)) &key &allow-other-keys)

Receive and process the reply of type BYTES.

Method: expect ((type (eql :float)) &key &allow-other-keys)

Receive and process the reply of type FLOAT.

Method: expect ((type (eql :list)) &key &allow-other-keys)
Method: expect ((type (eql :end)) &key &allow-other-keys)
Method: expect ((type (eql :pubsub)) &key &allow-other-keys)
Method: expect ((type (eql :queued)) &key &allow-other-keys)

Receive and process the reply of type QUEUED.

Method: expect ((type (eql :multi)) &key &allow-other-keys)

Receive and process the reply of type MULTI.

Method: expect ((type (eql :bulk)) &key &allow-other-keys)

Receive and process the reply of type BULK.

Method: expect ((type (eql :integer)) &key &allow-other-keys)

Receive and process the reply of type INTEGER.

Method: expect ((type (eql :boolean)) &key &allow-other-keys)

Receive and process the reply of type BOOLEAN.

Method: expect ((type (eql :inline)) &key &allow-other-keys)

Receive and process the reply of type INLINE.

Method: expect ((type (eql :status)) &key &allow-other-keys)

Receive and process status reply, which is just a string, preceeded with +.

Method: expect ((type (eql :anything)) &key &allow-other-keys)

Receive and process status reply, which is just a string, preceeded with +.

Method: expect :around (type &key timeout)
Generic Reader: redis-error-message (condition)
Package

redis.

Methods
Reader Method: redis-error-message ((condition redis-error))
Source

redis.lisp.

Target Slot

message.

Generic Function: tell (cmd &rest args)

Send a command to Redis server over a socket connection.
CMD is the command name (a string or a symbol), and ARGS are its arguments (keyword arguments are also supported).

Package

redis.

Source

redis.lisp.

Methods
Method: tell ((cmd (eql redis::zinterstore)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::zunionstore)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::zrevrangebylex)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::zrevrangebyscore)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::zrangebyscore)) &rest args)
Source

commands.lisp.

Method: tell :before ((cmd (eql redis::zrevrange)) &rest args)
Source

commands.lisp.

Method: tell :before ((cmd (eql redis::zrange)) &rest args)
Source

commands.lisp.

Method: tell :before ((cmd (eql redis::linsert)) &rest args)
Source

commands.lisp.

Method: tell :before ((cmd (eql redis::bitcount)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::zscan)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::hscan)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::sscan)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::scan)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::restore)) &rest args)
Source

commands.lisp.

Method: tell ((cmd (eql redis::sort)) &rest args)
Source

commands.lisp.

Method: tell (cmd &rest args)
Method: tell :after (cmd &rest args)

5.1.5 Standalone methods

Method: initialize-instance :after ((conn redis-connection) &key)
Source

connection.lisp.


5.1.6 Conditions

Condition: redis-bad-reply

Redis protocol error is detected.

Package

redis.

Source

redis.lisp.

Direct superclasses

redis-error.

Condition: redis-connection-error

Conditions of this type are signaled when errors occur
that break the connection stream. They offer a :RECONNECT restart.

Package

redis.

Source

redis.lisp.

Direct superclasses

redis-error.

Condition: redis-error

Any Redis-related error.

Package

redis.

Source

redis.lisp.

Direct superclasses

error.

Direct subclasses
Direct methods
Direct slots
Slot: error
Package

common-lisp.

Initform

(quote nil)

Initargs

:error

Readers

redis-error-error.

Writers

This slot is read-only.

Slot: message
Initform

(quote nil)

Initargs

:message

Readers

redis-error-message.

Writers

This slot is read-only.

Condition: redis-error-reply

Error reply is received from Redis server.

Package

redis.

Source

redis.lisp.

Direct superclasses

redis-error.


5.1.7 Classes

Class: redis-connection

Representation of a Redis connection.

Package

redis.

Source

connection.lisp.

Direct methods
Direct slots
Slot: host
Initform

#(127 0 0 1)

Initargs

:host

Readers

conn-host.

Writers

This slot is read-only.

Slot: port
Initform

6379

Initargs

:port

Readers

conn-port.

Writers

This slot is read-only.

Slot: auth
Initargs

:auth

Readers

conn-auth.

Writers

This slot is read-only.

Slot: socket
Readers

conn-socket.

Writers

(setf conn-socket).

Slot: stream
Package

common-lisp.

Readers

conn-stream.

Writers

(setf conn-stream).


5.2 Internals


5.2.1 Special variables

Special Variable: *pipeline*

A list of expected results from the current pipeline.

Package

redis.

Source

redis.lisp.

Special Variable: *pipelined*

Indicates, that commands are sent in pipelined mode.

Package

redis.

Source

redis.lisp.

Special Variable: +utf8+
Package

redis.

Source

connection.lisp.


5.2.2 Macros

Macro: read-bulk-reply (&key post-processing decode)
Package

redis.

Source

redis.lisp.

Macro: reconnect-restart-case ((&key error comment) &body body)

Signal the condition of type REDIS-CONNECTION-ERROR denoted by
the given ERROR and COMMENT offering a :RECONNECT restart to re-evaluate BODY.

Package

redis.

Source

connection.lisp.

Macro: with-reconnect-restart (&body body)

When, during the execution of BODY, an error occurs that breaks the connection, a REDIS-CONNECTION-ERROR is signalled, offering a :RECONNECT restart that will re-evaluate body after the conenction is re-established.

Package

redis.

Source

connection.lisp.

Macro: with-redis-in ((line char) &body body)
Package

redis.

Source

redis.lisp.


5.2.3 Ordinary functions

Function: append (key value)

Append the specified string to the string stored at key.

Package

redis.

Source

commands.lisp.

Function: auth (pass)

Simple password authentication if enabled.

Package

redis.

Source

commands.lisp.

Function: bgrewriteaof ()

Rewrite the append only file in background when it gets too big.

Package

redis.

Source

commands.lisp.

Function: bgsave ()

Asynchronously save the DB on disk.

Package

redis.

Source

commands.lisp.

Function: bitcount (key &optional start end)

Count set bits in a string at KEY
(with optional bounding indices START and END).

Package

redis.

Source

commands.lisp.

Function: bitop (operation destkey key &rest keys)

Perform bitwise OPERATION between strings ar KEY and KEYS and store the result ad DSTKEY.

Package

redis.

Source

commands.lisp.

Function: bitpos (key bit &optional start end)

Return the position of the first bit set to 1 or 0 in a string.

Package

redis.

Source

commands.lisp.

Function: blpop (&rest keys-and-timeout)

Blocking LPOP.

Package

redis.

Source

commands.lisp.

Function: brpop (&rest keys-and-timeout)

Blocking RPOP.

Package

redis.

Source

commands.lisp.

Function: brpoplpush (source destination timeout)

BRPOPLPUSH is the blocking variant of RPOPLPUSH. When source contains elements, this command behaves exactly like RPOPLPUSH. When source is empty, Redis will block the connection until another client pushes to it or until TIMEOUT is reached. A TIMEOUT of zero can be used to block indefinitely. See RPOPLPUSH for more information.

Package

redis.

Source

commands.lisp.

Function: client-getname ()

The CLIENT GETNAME returns the name of the current connection as set by CLIENT SETNAME. Since every new connection starts without an associated name, if no name was assigned a null bulk reply is returned.

Package

redis.

Source

commands.lisp.

Function: client-pause (timeout)

CLIENT PAUSE is a connections control command able to suspend all the Redis clients for the specified amount of time (in milliseconds).

Package

redis.

Source

commands.lisp.

Function: client-setname (connection-name)

The CLIENT SETNAME command assigns a name to the current connection. The assigned name is displayed in the output of CLIENT LIST so that it is possible to identify the client that performed a given connection.

Package

redis.

Source

commands.lisp.

Function: cluster-slots ()

CLUSTER SLOTS returns details about which cluster slots map to which Redis instances.

Package

redis.

Source

commands.lisp.

Function: command ()

Returns Array reply of details about all Redis commands.
Cluster clients must be aware of key positions in commands so commands can go to matching instances, but Redis commands vary between accepting one key, multiple keys, or even multiple keys separated by other data.
You can use COMMAND to cache a mapping between commands and key positions for each command to enable exact routing of commands to cluster instances.

Package

redis.

Source

commands.lisp.

Function: command-count ()

Returns Integer reply of number of total commands in this Redis server.

Package

redis.

Source

commands.lisp.

Function: command-getkeys (command-name &rest args)

Returns Array reply of keys from a full Redis command.
COMMAND GETKEYS is a helper command to let you find the keys from
a full Redis command.
COMMAND shows some commands as having movablekeys meaning the entire command must be parsed to discover storage or retrieval keys.
You can use COMMAND GETKEYS to discover key positions directly from how Redis parses the commands.

Package

redis.

Source

commands.lisp.

Function: command-info (command-name &rest args)

Returns Array reply of details about multiple Redis commands.
Same result format as COMMAND except you can specify which commands get returned.
If you request details about non-existing commands, their return position will be nil.

Package

redis.

Source

commands.lisp.

Function: config-get (pattern)

Configure a Redis server at runtime: get glob PATTERN value.

Package

redis.

Source

commands.lisp.

Function: config-resetstat ()

Resets the statistics reported by Redis using the INFO command.

Package

redis.

Source

commands.lisp.

Function: config-rewrite ()

The CONFIG REWRITE command rewrites the redis.conf file the server
was started with, applying the minimal changes needed to make it reflecting the configuration currently used by the server, that may be different compared to the original one because of the use of the CONFIG SET command.

Package

redis.

Source

commands.lisp.

Function: config-set (parameter value)

Configure a Redis server at runtime: set PARAMETER VALUE.

Package

redis.

Source

commands.lisp.

Function: connection-open-p (conn)

Is the socket of CONNECTION open?

Package

redis.

Source

connection.lisp.

Function: dbsize ()

Return the number of keys in the current db.

Package

redis.

Source

commands.lisp.

Function: decr (key)

Decrement the integer value of KEY.

Package

redis.

Source

commands.lisp.

Function: decrby (key decrement)

Decrement the integer value of KEY by DECREMENT.

Package

redis.

Source

commands.lisp.

Function: del (key &rest keys)

Delete a key.

Package

redis.

Source

commands.lisp.

Function: discard ()

Redis atomic transactions’ rollback.

Package

redis.

Source

commands.lisp.

Function: dump (key)

Return a serialized version of the value stored at the specified KEY.

Package

redis.

Source

commands.lisp.

Function: echo (message)

Returns message.

Package

redis.

Source

commands.lisp.

Function: ensure-string (obj)
Package

redis.

Source

redis.lisp.

Function: eval (script numkeys &rest key-values)

Execute a Lua script server side.

Package

redis.

Source

commands.lisp.

Function: evalsha (sha1 numkeys &rest key-values)

Execute a stored Lua script server side.

Package

redis.

Source

commands.lisp.

Function: exec ()

Redis atomic transactions’ commit.

Package

redis.

Source

commands.lisp.

Function: exists (key)

Test if a key exists.

Package

redis.

Source

commands.lisp.

Function: expire (key secs)

Set a time to live in SECS on KEY.

Package

redis.

Source

commands.lisp.

Function: expireat (key timestamp)

Set a timeout on KEY. After the timeout has expired, the key will automatically be deleted.
EXPIREAT has the same effect and semantic as EXPIRE, but instead of specifying the number of seconds representing the TTL, it takes
an absolute UNIX timestamp (seconds since January 1, 1970).
As in the case of EXPIRE command, if key is updated before the timeout has expired, then the timeout is removed as if the PERSIST command was invoked on KEY.

Package

redis.

Source

commands.lisp.

Function: flushall ()

Remove all the keys from all the databases.

Package

redis.

Source

commands.lisp.

Function: flushdb ()

Remove all the keys of the currently selected DB.

Package

redis.

Source

commands.lisp.

Function: format-redis-number (char number)

Write a prefix char and a number to the stream of the current connection. If *ECHOP-P* is not NIL, write that string to *ECHO-STREAM*, too.

Package

redis.

Source

redis.lisp.

Function: format-redis-string (string)

Write a string and CRLF-terminator to the stream of the current connection. If *ECHOP-P* is not NIL, write that string to *ECHO-STREAM*, too.

Package

redis.

Source

redis.lisp.

Function: get (key)

Return the string value of the key.

Package

redis.

Source

commands.lisp.

Function: getbit (key offset)

Returns the bit value at OFFSET in the string value stored at KEY.

Package

redis.

Source

commands.lisp.

Function: getrange (key offset value)

Returns the substring of the string value stored at key, determined by the offsets START and END (both are inclusive). Negative offsets can be used in order to provide an offset starting from the end of the string. So -1 means the last character, -2 the penultimate and so forth.

Package

redis.

Source

commands.lisp.

Function: getset (key value)

Set a key to a string returning the old value of the key.

Package

redis.

Source

commands.lisp.

Function: hdel (key field)

Remove the specified FIELD from a hash.

Package

redis.

Source

commands.lisp.

Function: hexists (key field)

Test for existence of a specified FIELD in a hash.

Package

redis.

Source

commands.lisp.

Function: hget (key field)

Retrieve the value of the specified hash FIELD.

Package

redis.

Source

commands.lisp.

Function: hgetall (key)

Return all the fields and associated values in a hash.

Package

redis.

Source

commands.lisp.

Function: hincrby (key field integer)

Increment the integer value of the hash at KEY on FIELD with INTEGER.

Package

redis.

Source

commands.lisp.

Function: hincrbyfloat (key field increment)

Increment the float value of the hash at KEY on FIELD with INCREMENT.

Package

redis.

Source

commands.lisp.

Function: hkeys (key)

Return all the fields in a hash.

Package

redis.

Source

commands.lisp.

Function: hlen (key)

Return the number of items in a hash.

Package

redis.

Source

commands.lisp.

Function: hmget (key field &rest fields)

Get the values associated with the specified FIELDS in the hash stored at KEY.

Package

redis.

Source

commands.lisp.

Function: hmset (key &rest fields-and-values)

Set the hash FIELDS to their respective VALUES.

Package

redis.

Source

commands.lisp.

Function: hscan (key cursor &rest args &key match count)

The HSCAN command and the closely related commands SCAN, SSCAN and ZSCAN are used in order to incrementally iterate over a collection of elements. HSCAN iterates fields of Hash types and their associated values.

Package

redis.

Source

commands.lisp.

Function: hset (key field value)

Set the hash FIELD to the specified VALUE. Creates the hash if needed.

Package

redis.

Source

commands.lisp.

Function: hsetnx (key field value)

Set the hash FIELD to the specified VALUE, if the KEY doesn’t exist yet.

Package

redis.

Source

commands.lisp.

Function: hvals (key)

Return all the values in a hash.

Package

redis.

Source

commands.lisp.

Function: incr (key)

Increment the integer value of KEY.

Package

redis.

Source

commands.lisp.

Function: incrby (key increment)

Increment the integer value of KEY by .

Package

redis.

Source

commands.lisp.

Function: incrbyfloat (key increment)

Increment the float value of KEY by INCREMENT.

Package

redis.

Source

commands.lisp.

Function: info (&optional section)

Provide information and statistics about the server.

Package

redis.

Source

commands.lisp.

Function: keys (pattern)

Return all the keys matching a given pattern.

Package

redis.

Source

commands.lisp.

Function: lastsave ()

Return the UNIX time stamp of the last successfully saving of the dataset on disk.

Package

redis.

Source

commands.lisp.

Function: lindex (key index)

Return the element at index position from the List at key.

Package

redis.

Source

commands.lisp.

Function: linsert (key before/after pivot value)

Inserts VALUE in the list stored at KEY either BEFORE or AFTER
the reference value PIVOT. When KEY does not exist, it is considered an empty list and no operation is performed. An error is returned when KEY exists, but does not hold a list value PIVOT.

Note: before/after can only have 2 values: :before or :after.

Package

redis.

Source

commands.lisp.

Function: llen (key)

Return the length of the List value at key.

Package

redis.

Source

commands.lisp.

Function: lpop (key)

Return and remove (atomically) the first element of the List at key.

Package

redis.

Source

commands.lisp.

Function: lpush (key &rest values)

Append an element to the head of the list value at KEY.

Package

redis.

Source

commands.lisp.

Function: lpushx (key value)

Inserts value at the head of the list stored at KEY, only if KEY already exists and holds a list. In contrary to LPUSH, no operation will be performed when KEY does not yet exist.

Package

redis.

Source

commands.lisp.

Function: lrange (key start end)

Return a range of elements from the List at key.

Package

redis.

Source

commands.lisp.

Function: lrem (key count value)

Remove the first-N, last-N, or all the elements matching value from the List at key.

Package

redis.

Source

commands.lisp.

Function: lset (key index value)

Set a new value as the element at index position of the List at key.

Package

redis.

Source

commands.lisp.

Function: ltrim (key start end)

Trim the list at key to the specified range of elements.

Package

redis.

Source

commands.lisp.

Function: mget (&rest keys)

Multi-get, return the strings values of the keys.

Package

redis.

Source

commands.lisp.

Function: migrate (host port key destination-db timeout)

Atomically transfer a key from a Redis instance to another one.

Package

redis.

Source

commands.lisp.

Function: move (key dbindex)

Move the key from the currently selected DB to the DB having as index dbindex.

Package

redis.

Source

commands.lisp.

Function: mset (&rest key-value-plist)

Set multiple keys to multiple values in a single atomic operation.

Package

redis.

Source

commands.lisp.

Function: msetnx (&rest key-value-plist)

Set multiple keys to multiple values in a single atomic operation if none of the keys already exist.

Package

redis.

Source

commands.lisp.

Function: multi ()

Redis atomic transactions’ start.

Package

redis.

Source

commands.lisp.

Function: object-encoding (key)

The OBJECT command allows to inspect the internals of Redis Objects
associated with keys. It is useful for debugging or to understand if your keys are using the specially encoded data types to save space. Your application may also use the information reported by the OBJECT command to implement application level key eviction policies when using Redis as a Cache.
OBJECT ENCODING <key> returns the kind of internal representation used in order to store the value associated with a key.

Package

redis.

Source

commands.lisp.

Function: object-idletime (key)

The OBJECT command allows to inspect the internals of Redis Objects
associated with keys. It is useful for debugging or to understand if your keys are using the specially encoded data types to save space. Your application may also use the information reported by the OBJECT command to implement application level key eviction policies when using Redis as a Cache.
OBJECT IDLETIME <key> returns the number of seconds since the object stored at the specified key is idle (not requested by read or write operations). While the value is returned in seconds the actual resolution of this timer is 10 seconds, but may vary in future implementations.

Package

redis.

Source

commands.lisp.

Function: object-refcount (key)

The OBJECT command allows to inspect the internals of Redis Objects
associated with keys. It is useful for debugging or to understand if your keys are using the specially encoded data types to save space. Your application may also use the information reported by the OBJECT command to implement application level key eviction policies when using Redis as a Cache.
OBJECT REFCOUNT <key> returns the number of references of the value associated with the specified key.

Package

redis.

Source

commands.lisp.

Function: parse-float (float-string &key start end radix junk-allowed type decimal-character)
Package

redis.

Source

float.lisp.

Function: persist (key)

Remove the existing timeout on KEY.

Package

redis.

Source

commands.lisp.

Function: pexpire (key milliseconds)

Set a KEY’s time to live in MILLISECONDS.

Package

redis.

Source

commands.lisp.

Function: pexpireat (key milliseconds-timestamp)

Set the expiration for a KEY as a Unix timestamp specified in milliseconds.

Package

redis.

Source

commands.lisp.

Function: pfadd (key element &rest elements)

Adds all the element arguments to the HyperLogLog data structure stored
at the variable name specified as first argument.
As a side effect of this command the HyperLogLog internals may be updated to reflect a different estimation of the number of unique items added so far (the cardinality of the set).
If the approximated cardinality estimated by the HyperLogLog changed after executing the command, PFADD returns 1, otherwise 0 is returned.
The command automatically creates an empty HyperLogLog structure (that is, a Redis String of a specified length and with a given encoding) if
the specified key does not exist.
To call the command without elements but just the variable name is valid, this will result into no operation performed if the variable already exists, or just the creation of the data structure if the key does not exist
(in the latter case 1 is returned).

Package

redis.

Source

commands.lisp.

Function: pfcount (key &rest keys)

When called with a single key, returns the approximated cardinality computed by the HyperLogLog data structure stored at the specified variable,
which is 0 if the variable does not exist.
When called with multiple keys, returns the approximated cardinality of the union of the HyperLogLogs passed, by internally merging the HyperLogLogs stored at the provided keys into a temporary hyperLogLog.
The HyperLogLog data structure can be used in order to count unique elements in a set using just a small constant amount of memory, specifically 12k bytes for every HyperLogLog (plus a few bytes for the key itself).
The returned cardinality of the observed set is not exact, but approximated with a standard error of 0.81%.
For example, in order to take the count of all the unique search queries performed in a day, a program needs to call PFADD every time a query is processed. The estimated number of unique queries can be retrieved with PFCOUNT at any time.
Note: as a side effect of calling this function, it is possible that
the HyperLogLog is modified, since the last 8 bytes encode the latest computed cardinality for caching purposes. So PFCOUNT is technically
a write command.

Package

redis.

Source

commands.lisp.

Function: pfmerge (destkey sourcekey &rest sourcekeys)

Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of the observed Sets of the source HyperLogLog structures.
The computed merged HyperLogLog is set to the destination variable, which is created if does not exist (defaulting to an empty HyperLogLog).

Package

redis.

Source

commands.lisp.

Function: ping ()

Ping server.

Package

redis.

Source

commands.lisp.

Function: psubscribe (&rest patterns)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Source

commands.lisp.

Function: pttl (key)

Get the time to live in milliseconds of KEY.

Package

redis.

Source

commands.lisp.

Function: publish (channel message)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Source

commands.lisp.

Function: punsubscribe (&rest patterns)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Source

commands.lisp.

Function: quit ()

Close the connection.

Package

redis.

Source

commands.lisp.

Function: radix-values (radix)
Package

redis.

Source

float.lisp.

Function: randomkey ()

Return a random key from the key space.

Package

redis.

Source

commands.lisp.

Function: rename (oldname newname)

Rename the old key in the new one, destroing the newname key if it already exists.

Package

redis.

Source

commands.lisp.

Function: renamenx (oldname newname)

Rename the old key in the new one, if the newname key does not already exist.

Package

redis.

Source

commands.lisp.

Function: reopen-connection (conn)

Close and reopen CONN.

Package

redis.

Source

connection.lisp.

Function: restore (key ttl serialized-value)

Create a KEY using the provided SERIALIZED-VALUE, previously obtained using DUMP.

Package

redis.

Source

commands.lisp.

Function: role ()

Provide information on the role of a Redis instance in the context
of replication, by returning if the instance is currently a master, slave, or sentinel. The command also returns additional information about the state of the replication (if the role is master or slave) or the list of monitored master names (if the role is sentinel).

Package

redis.

Source

commands.lisp.

Function: rpop (key)

Return and remove (atomically) the last element of the List at key.

Package

redis.

Source

commands.lisp.

Function: rpoplpush (source destination)

Atomically returns and removes the last element (tail) of the list
stored at SOURCE, and pushes the element at the first element (head) of the list stored at DESTINATION.
For example: consider SOURCE holding the list a,b,c, and DESTINATION holding the list x,y,z. Executing RPOPLPUSH results in SOURCE holding a,b and DESTINATION holding c,x,y,z.
If SOURCE does not exist, the value nil is returned and no operation is performed. If SOURCE and DESTINATION are the same, the operation is equivalent to removing the last element from the list and pushing it as first element of the list, so it can be considered as a list rotation command.

Package

redis.

Source

commands.lisp.

Function: rpush (key &rest values)

Append an element to the tail of the list value at KEY.

Package

redis.

Source

commands.lisp.

Function: rpushx (key value)

Inserts value at the tail of the list stored at KEY, only if KEY already exists and holds a list. In contrary to RPUSH, no operation will be performed when KEY does not yet exist.

Package

redis.

Source

commands.lisp.

Function: sadd (key &rest members)

Add the specified member to the Set value at key.

Package

redis.

Source

commands.lisp.

Function: save ()

Synchronously save the DB on disk.

Package

redis.

Source

commands.lisp.

Function: scan (cursor &rest args &key match count)

The SCAN command and the closely related commands SSCAN, HSCAN and ZSCAN are used in order to incrementally iterate over a collection of elements. SCAN iterates the set of keys in the currently selected Redis database.

Package

redis.

Source

commands.lisp.

Function: scard (key)

Return the number of elements (the cardinality) of the Set at key.

Package

redis.

Source

commands.lisp.

Function: script-exists (script &rest scripts)

Check existence of scripts in the script cache.

Package

redis.

Source

commands.lisp.

Function: script-flush ()

Remove all the scripts from the script cache.

Package

redis.

Source

commands.lisp.

Function: script-kill ()

Kill the script currently in execution.

Package

redis.

Source

commands.lisp.

Function: script-load (script)

Load the specified Lua script into the script cache.

Package

redis.

Source

commands.lisp.

Function: sdiff (&rest keys)

Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN.

Package

redis.

Source

commands.lisp.

Function: sdiffstore (dstkey &rest keys)

Compute the difference between the Set key1 and all the Sets key2, ..., keyN, and store the resulting Set at dstkey.

Package

redis.

Source

commands.lisp.

Function: select (index)

Select the DB having the specified index.

Package

redis.

Source

commands.lisp.

Function: set (key value)

Set a key to a string value.

Package

redis.

Source

commands.lisp.

Function: setbit (key offset value)

Sets or clears the bit at OFFSET in the string value stored at KEY.

Package

redis.

Source

commands.lisp.

Function: setex (key time value)

Set KEY to hold the string VALUE and set KEY to timeout after a given number of seconds. This command is equivalent to executing the following commands: SET mykey value
EXPIRE mykey seconds
SETEX is atomic, and can be reproduced by using the previous two commands inside an MULTI/EXEC block. It is provided as a faster alternative to the given sequence of operations, because this operation is very common when Redis is used as a cache.
An error is returned when seconds is invalid.

Package

redis.

Source

commands.lisp.

Function: setnx (key value)

Set a key to a string value if the key does not exist.

Package

redis.

Source

commands.lisp.

Function: setrange (key offset value)

Overwrites part of the string stored at KEY, starting at the specified OFFSET, for the entire length of VALUE. If the OFFSET is larger than the current length of the string at KEY, the string is padded with zero-bytes to make OFFSET fit. Non-existing keys are considered as empty strings, so this command will make sure it holds a string large enough to be able to set value at OFFSET. Note that the maximum OFFSET that you can set is 229^-1 (536870911), as Redis Strings are limited to 512 megabytes.

Package

redis.

Source

commands.lisp.

Function: shutdown ()

Synchronously save the DB on disk, then shutdown the server.

Package

redis.

Source

commands.lisp.

Function: sinter (&rest keys)

Return the intersection between the Sets stored at key1, key2, ..., keyN.

Package

redis.

Source

commands.lisp.

Function: sinterstore (dstkey &rest keys)

Compute the intersection between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.

Package

redis.

Source

commands.lisp.

Function: sismember (key member)

Test if the specified value is a member of the Set at key.

Package

redis.

Source

commands.lisp.

Function: slaveof (hostname port)

Change the replication settings.

Package

redis.

Source

commands.lisp.

Function: slowlog (subcommand &optional argument)

Manages the Redis slow queries log.

Package

redis.

Source

commands.lisp.

Function: smembers (key)

Return all the members of the Set value at key.

Package

redis.

Source

commands.lisp.

Function: smove (srckey dstkey member)

Move the specified member from one Set to another atomically.

Package

redis.

Source

commands.lisp.

Function: sort (key &rest args &key by start end get desc alpha store)

Sort a Set or a List accordingly to the specified parameters.

Package

redis.

Source

commands.lisp.

Function: spop (key)

Remove and return (pop) a random element from the Set value at key.

Package

redis.

Source

commands.lisp.

Function: srandmember (key &optional count)

Get one or COUNT random members from a set at KEY.
When called with the additional count argument,
return an array of count distinct elements if count is positive. If called with a negative count the behavior changes and the command is allowed to return the same element multiple times.
In this case the numer of returned elements is the absolute value of the specified count.

Package

redis.

Source

commands.lisp.

Function: srem (key &rest members)

Remove the specified member from the Set value at key.

Package

redis.

Source

commands.lisp.

Function: sscan (key cursor &rest args &key match count)

The SCAN command and the closely related commands SCAN, HSCAN and ZSCAN are used in order to incrementally iterate over a collection of elements. SSCAN iterates elements of Sets types.

Package

redis.

Source

commands.lisp.

Function: strlen (key)

Returns the length of the string value stored at KEY.

Package

redis.

Source

commands.lisp.

Function: subscribe (&rest channels)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Source

commands.lisp.

Function: substr (key start end)

Return a substring out of a larger string.
Warning: left for backwards compatibility. It is now called: GETRANGE.

Package

redis.

Source

commands.lisp.

Function: sunion (&rest keys)

Return the union between the Sets stored at key1, key2, ..., keyN.

Package

redis.

Source

commands.lisp.

Function: sunionstore (dstkey &rest keys)

Compute the union between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.

Package

redis.

Source

commands.lisp.

Function: sync ()

Synchronize with slave.

Package

redis.

Source

commands.lisp.

Function: time ()

The TIME command returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
Basically the interface is very similar to the one of the gettimeofday system call.

Package

redis.

Source

commands.lisp.

Function: ttl (key)

Get the time to live in seconds of KEY.

Package

redis.

Source

commands.lisp.

Function: type (key)

Return the type of the value stored at key.

Package

redis.

Source

commands.lisp.

Function: unsubscribe (&rest channels)

Redis Public/Subscribe messaging paradigm implementation.

Package

redis.

Source

commands.lisp.

Function: unwatch ()

Flushes all the previously watched keys for a transaction.
If you call EXEC or DISCARD, there’s no need to manually call UNWATCH.

Package

redis.

Source

commands.lisp.

Function: watch (key &rest keys)

Marks the given keys to be watched for conditional execution of a transaction.

Package

redis.

Source

commands.lisp.

Function: zadd (key &rest score-member-pairs)

Add the specified MEMBER to the Set value at KEY or update the SCORE if it already exist. If nil is returned, the element already existed in the set. Just the score was updated.

Package

redis.

Source

commands.lisp.

Function: zcard (key)

Return the cardinality (number of elements) of the sorted set at KEY.

Package

redis.

Source

commands.lisp.

Function: zcount (key min max)

Returns the number of elements in the sorted set at KEY with a score between MIN and MAX.

Package

redis.

Source

commands.lisp.

Function: zincrby (key increment member)

If the MEMBER already exists increment its score by INCREMENT, otherwise add the member setting INCREMENT as score.

Package

redis.

Source

commands.lisp.

Function: zinterstore (dstkey n keys &rest args &key weights aggregate)

Perform an intersection in DSTKEY over a number (N) of sorted sets at KEYS with optional WEIGHTS and AGGREGATE.

Package

redis.

Source

commands.lisp.

Function: zlexcount (key min max)

When all the elements in a sorted set are inserted with the same score,
in order to force lexicographical ordering,
this command returns the number of elements in the sorted set at key
with a value between min and max.
The min and max arguments have the same meaning as described for ZRANGEBYLEX.

Package

redis.

Source

commands.lisp.

Function: zrange (key start end &optional withscores)

Return a range of elements from the sorted set at KEY.

Package

redis.

Source

commands.lisp.

Function: zrangebyscore (key min max &rest args &key withscores limit)

Returns all the elements in the sorted set at KEY with a score between
MIN and MAX (including elements with score equal to MIN or MAX).
The elements are considered to be ordered from low to high scores.
The elements having the same score are returned in lexicographical order (this follows from a property of the sorted set implementation in Redis and does not involve further computation).
The optional LIMIT argument can be used to only get a range of the matching elements (similar to SELECT LIMIT offset, count in SQL).
The optional WITHSCORES argument makes the command return both the element and its score, instead of the element alone.

Package

redis.

Source

commands.lisp.

Function: zrank (key member)

Return the rank (or index) or MEMBER in the sorted set at KEY, with scores being ordered from low to high.

Package

redis.

Source

commands.lisp.

Function: zrem (key &rest members)

Remove the specified MEMBER from the Set value at KEY.

Package

redis.

Source

commands.lisp.

Function: zremrangebylex (key min max)

When all the elements in a sorted set are inserted with the same score,
in order to force lexicographical ordering, this command removes all elements in the sorted set stored at KEY between the lexicographical range specified by MIN and MAX.
The meaning of MIN and MAX are the same of the ZRANGEBYLEX command. Similarly, this command actually returns the same elements that ZRANGEBYLEX would return if called with the same min and max arguments.

Package

redis.

Source

commands.lisp.

Function: zremrangebyrank (key min max)

Remove all the elements with rank >= MIN and rank <= MAX from the sorted set.

Package

redis.

Source

commands.lisp.

Function: zremrangebyscore (key min max)

Remove all the elements with score >= MIN and score <= MAX from the sorted set.

Package

redis.

Source

commands.lisp.

Function: zrevrange (key start end &optional withscores)

Return a range of elements from the sorted set at KEY, exactly like ZRANGE, but the sorted set is ordered in traversed in reverse order, from the greatest to the smallest score.

Package

redis.

Source

commands.lisp.

Function: zrevrangebylex (key max min &rest args &key withscores limit)

When all the elements in a sorted set are inserted with the same score,
in order to force lexicographical ordering, this command returns
all the elements in the sorted set at key with a value between max and min. Apart from the reversed ordering, ZREVRANGEBYLEX is similar to ZRANGEBYLEX.

Package

redis.

Source

commands.lisp.

Function: zrevrangebyscore (key max min &rest args &key withscores limit)

Returns all the elements in the sorted set at KEY with a score between MAX and MIN (including elements with score equal to MAX or MIN).
In contrary to the default ordering of sorted sets, for this command the elements are considered to be ordered from high to low scores.
The elements having the same score are returned in reverse lexicographical order. Apart from the reversed ordering,
ZREVRANGEBYSCORE is similar to ZRANGEBYSCORE.

Package

redis.

Source

commands.lisp.

Function: zrevrank (key member)

Return the rank (or index) or MEMBER in the sorted set at KEY, with scores being ordered from high to low.

Package

redis.

Source

commands.lisp.

Function: zscan (key cursor &rest args &key match count)

The ZSCAN command and the closely related commands SCAN, SSCAN and HSCAN are used in order to incrementally iterate over a collection of elements. ZSCAN iterates elements of Sorted Set types and their associated scores.

Package

redis.

Source

commands.lisp.

Function: zscore (key element)

Return the score associated with the specified ELEMENT of the sorted set at KEY.

Package

redis.

Source

commands.lisp.

Function: zunionstore (dstkey n keys &rest args &key weights aggregate)

Perform a union in DSTKEY over a number (N) of sorted sets at KEYS with optional WEIGHTS and AGGREGATE.

Package

redis.

Source

commands.lisp.


5.2.4 Generic functions

Generic Reader: conn-auth (object)
Package

redis.

Methods
Reader Method: conn-auth ((redis-connection redis-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

auth.

Generic Reader: conn-host (object)
Package

redis.

Methods
Reader Method: conn-host ((redis-connection redis-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

host.

Generic Reader: conn-port (object)
Package

redis.

Methods
Reader Method: conn-port ((redis-connection redis-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

port.

Generic Reader: conn-socket (object)
Package

redis.

Methods
Reader Method: conn-socket ((redis-connection redis-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

socket.

Generic Writer: (setf conn-socket) (object)
Package

redis.

Methods
Writer Method: (setf conn-socket) ((redis-connection redis-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

socket.

Generic Function: conn-stream (object)
Package

redis.

Methods
Method: conn-stream ((object null))
Source

connection.lisp.

Reader Method: conn-stream ((redis-connection redis-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

stream.

Generic Writer: (setf conn-stream) (object)
Package

redis.

Methods
Writer Method: (setf conn-stream) ((redis-connection redis-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

stream.

Generic Reader: redis-error-error (condition)
Package

redis.

Methods
Reader Method: redis-error-error ((condition redis-error))
Source

redis.lisp.

Target Slot

error.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   O   P   Q   R   S   T   U   W   Z  
Index Entry  Section

(
(setf conn-socket): Private generic functions
(setf conn-socket): Private generic functions
(setf conn-stream): Private generic functions
(setf conn-stream): Private generic functions

A
append: Private ordinary functions
auth: Private ordinary functions

B
bgrewriteaof: Private ordinary functions
bgsave: Private ordinary functions
bitcount: Private ordinary functions
bitop: Private ordinary functions
bitpos: Private ordinary functions
blpop: Private ordinary functions
brpop: Private ordinary functions
brpoplpush: Private ordinary functions

C
client-getname: Private ordinary functions
client-pause: Private ordinary functions
client-setname: Private ordinary functions
close-connection: Public ordinary functions
cluster-slots: Private ordinary functions
command: Private ordinary functions
command-count: Private ordinary functions
command-getkeys: Private ordinary functions
command-info: Private ordinary functions
config-get: Private ordinary functions
config-resetstat: Private ordinary functions
config-rewrite: Private ordinary functions
config-set: Private ordinary functions
conn-auth: Private generic functions
conn-auth: Private generic functions
conn-host: Private generic functions
conn-host: Private generic functions
conn-port: Private generic functions
conn-port: Private generic functions
conn-socket: Private generic functions
conn-socket: Private generic functions
conn-stream: Private generic functions
conn-stream: Private generic functions
conn-stream: Private generic functions
connect: Public ordinary functions
connected-p: Public ordinary functions
connection-open-p: Private ordinary functions

D
dbsize: Private ordinary functions
decr: Private ordinary functions
decrby: Private ordinary functions
def-cmd: Public macros
def-expect-method: Public macros
del: Private ordinary functions
discard: Private ordinary functions
disconnect: Public ordinary functions
dump: Private ordinary functions

E
echo: Private ordinary functions
ensure-string: Private ordinary functions
eval: Private ordinary functions
evalsha: Private ordinary functions
exec: Private ordinary functions
exists: Private ordinary functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expect: Public generic functions
expire: Private ordinary functions
expireat: Private ordinary functions

F
flushall: Private ordinary functions
flushdb: Private ordinary functions
format-redis-number: Private ordinary functions
format-redis-string: Private ordinary functions
Function, append: Private ordinary functions
Function, auth: Private ordinary functions
Function, bgrewriteaof: Private ordinary functions
Function, bgsave: Private ordinary functions
Function, bitcount: Private ordinary functions
Function, bitop: Private ordinary functions
Function, bitpos: Private ordinary functions
Function, blpop: Private ordinary functions
Function, brpop: Private ordinary functions
Function, brpoplpush: Private ordinary functions
Function, client-getname: Private ordinary functions
Function, client-pause: Private ordinary functions
Function, client-setname: Private ordinary functions
Function, close-connection: Public ordinary functions
Function, cluster-slots: Private ordinary functions
Function, command: Private ordinary functions
Function, command-count: Private ordinary functions
Function, command-getkeys: Private ordinary functions
Function, command-info: Private ordinary functions
Function, config-get: Private ordinary functions
Function, config-resetstat: Private ordinary functions
Function, config-rewrite: Private ordinary functions
Function, config-set: Private ordinary functions
Function, connect: Public ordinary functions
Function, connected-p: Public ordinary functions
Function, connection-open-p: Private ordinary functions
Function, dbsize: Private ordinary functions
Function, decr: Private ordinary functions
Function, decrby: Private ordinary functions
Function, del: Private ordinary functions
Function, discard: Private ordinary functions
Function, disconnect: Public ordinary functions
Function, dump: Private ordinary functions
Function, echo: Private ordinary functions
Function, ensure-string: Private ordinary functions
Function, eval: Private ordinary functions
Function, evalsha: Private ordinary functions
Function, exec: Private ordinary functions
Function, exists: Private ordinary functions
Function, expire: Private ordinary functions
Function, expireat: Private ordinary functions
Function, flushall: Private ordinary functions
Function, flushdb: Private ordinary functions
Function, format-redis-number: Private ordinary functions
Function, format-redis-string: Private ordinary functions
Function, get: Private ordinary functions
Function, getbit: Private ordinary functions
Function, getrange: Private ordinary functions
Function, getset: Private ordinary functions
Function, hdel: Private ordinary functions
Function, hexists: Private ordinary functions
Function, hget: Private ordinary functions
Function, hgetall: Private ordinary functions
Function, hincrby: Private ordinary functions
Function, hincrbyfloat: Private ordinary functions
Function, hkeys: Private ordinary functions
Function, hlen: Private ordinary functions
Function, hmget: Private ordinary functions
Function, hmset: Private ordinary functions
Function, hscan: Private ordinary functions
Function, hset: Private ordinary functions
Function, hsetnx: Private ordinary functions
Function, hvals: Private ordinary functions
Function, incr: Private ordinary functions
Function, incrby: Private ordinary functions
Function, incrbyfloat: Private ordinary functions
Function, info: Private ordinary functions
Function, keys: Private ordinary functions
Function, lastsave: Private ordinary functions
Function, lindex: Private ordinary functions
Function, linsert: Private ordinary functions
Function, llen: Private ordinary functions
Function, lpop: Private ordinary functions
Function, lpush: Private ordinary functions
Function, lpushx: Private ordinary functions
Function, lrange: Private ordinary functions
Function, lrem: Private ordinary functions
Function, lset: Private ordinary functions
Function, ltrim: Private ordinary functions
Function, mget: Private ordinary functions
Function, migrate: Private ordinary functions
Function, move: Private ordinary functions
Function, mset: Private ordinary functions
Function, msetnx: Private ordinary functions
Function, multi: Private ordinary functions
Function, object-encoding: Private ordinary functions
Function, object-idletime: Private ordinary functions
Function, object-refcount: Private ordinary functions
Function, open-connection: Public ordinary functions
Function, parse-float: Private ordinary functions
Function, persist: Private ordinary functions
Function, pexpire: Private ordinary functions
Function, pexpireat: Private ordinary functions
Function, pfadd: Private ordinary functions
Function, pfcount: Private ordinary functions
Function, pfmerge: Private ordinary functions
Function, ping: Private ordinary functions
Function, psubscribe: Private ordinary functions
Function, pttl: Private ordinary functions
Function, publish: Private ordinary functions
Function, punsubscribe: Private ordinary functions
Function, quit: Private ordinary functions
Function, radix-values: Private ordinary functions
Function, randomkey: Private ordinary functions
Function, reconnect: Public ordinary functions
Function, red-append: Public ordinary functions
Function, red-auth: Public ordinary functions
Function, red-bgrewriteaof: Public ordinary functions
Function, red-bgsave: Public ordinary functions
Function, red-bitcount: Public ordinary functions
Function, red-bitop: Public ordinary functions
Function, red-bitpos: Public ordinary functions
Function, red-blpop: Public ordinary functions
Function, red-brpop: Public ordinary functions
Function, red-brpoplpush: Public ordinary functions
Function, red-client-getname: Public ordinary functions
Function, red-client-pause: Public ordinary functions
Function, red-client-setname: Public ordinary functions
Function, red-cluster-slots: Public ordinary functions
Function, red-command: Public ordinary functions
Function, red-command-count: Public ordinary functions
Function, red-command-getkeys: Public ordinary functions
Function, red-command-info: Public ordinary functions
Function, red-config-get: Public ordinary functions
Function, red-config-resetstat: Public ordinary functions
Function, red-config-rewrite: Public ordinary functions
Function, red-config-set: Public ordinary functions
Function, red-dbsize: Public ordinary functions
Function, red-decr: Public ordinary functions
Function, red-decrby: Public ordinary functions
Function, red-del: Public ordinary functions
Function, red-discard: Public ordinary functions
Function, red-dump: Public ordinary functions
Function, red-echo: Public ordinary functions
Function, red-eval: Public ordinary functions
Function, red-evalsha: Public ordinary functions
Function, red-exec: Public ordinary functions
Function, red-exists: Public ordinary functions
Function, red-expire: Public ordinary functions
Function, red-expireat: Public ordinary functions
Function, red-flushall: Public ordinary functions
Function, red-flushdb: Public ordinary functions
Function, red-get: Public ordinary functions
Function, red-getbit: Public ordinary functions
Function, red-getrange: Public ordinary functions
Function, red-getset: Public ordinary functions
Function, red-hdel: Public ordinary functions
Function, red-hexists: Public ordinary functions
Function, red-hget: Public ordinary functions
Function, red-hgetall: Public ordinary functions
Function, red-hincrby: Public ordinary functions
Function, red-hincrbyfloat: Public ordinary functions
Function, red-hkeys: Public ordinary functions
Function, red-hlen: Public ordinary functions
Function, red-hmget: Public ordinary functions
Function, red-hmset: Public ordinary functions
Function, red-hscan: Public ordinary functions
Function, red-hset: Public ordinary functions
Function, red-hsetnx: Public ordinary functions
Function, red-hvals: Public ordinary functions
Function, red-incr: Public ordinary functions
Function, red-incrby: Public ordinary functions
Function, red-incrbyfloat: Public ordinary functions
Function, red-info: Public ordinary functions
Function, red-keys: Public ordinary functions
Function, red-lastsave: Public ordinary functions
Function, red-lindex: Public ordinary functions
Function, red-linsert: Public ordinary functions
Function, red-llen: Public ordinary functions
Function, red-lpop: Public ordinary functions
Function, red-lpush: Public ordinary functions
Function, red-lpushx: Public ordinary functions
Function, red-lrange: Public ordinary functions
Function, red-lrem: Public ordinary functions
Function, red-lset: Public ordinary functions
Function, red-ltrim: Public ordinary functions
Function, red-mget: Public ordinary functions
Function, red-migrate: Public ordinary functions
Function, red-move: Public ordinary functions
Function, red-mset: Public ordinary functions
Function, red-msetnx: Public ordinary functions
Function, red-multi: Public ordinary functions
Function, red-object-encoding: Public ordinary functions
Function, red-object-idletime: Public ordinary functions
Function, red-object-refcount: Public ordinary functions
Function, red-persist: Public ordinary functions
Function, red-pexpire: Public ordinary functions
Function, red-pexpireat: Public ordinary functions
Function, red-pfadd: Public ordinary functions
Function, red-pfcount: Public ordinary functions
Function, red-pfmerge: Public ordinary functions
Function, red-ping: Public ordinary functions
Function, red-psubscribe: Public ordinary functions
Function, red-pttl: Public ordinary functions
Function, red-publish: Public ordinary functions
Function, red-punsubscribe: Public ordinary functions
Function, red-quit: Public ordinary functions
Function, red-randomkey: Public ordinary functions
Function, red-rename: Public ordinary functions
Function, red-renamenx: Public ordinary functions
Function, red-restore: Public ordinary functions
Function, red-role: Public ordinary functions
Function, red-rpop: Public ordinary functions
Function, red-rpoplpush: Public ordinary functions
Function, red-rpush: Public ordinary functions
Function, red-rpushx: Public ordinary functions
Function, red-sadd: Public ordinary functions
Function, red-save: Public ordinary functions
Function, red-scan: Public ordinary functions
Function, red-scard: Public ordinary functions
Function, red-script-exists: Public ordinary functions
Function, red-script-flush: Public ordinary functions
Function, red-script-kill: Public ordinary functions
Function, red-script-load: Public ordinary functions
Function, red-sdiff: Public ordinary functions
Function, red-sdiffstore: Public ordinary functions
Function, red-select: Public ordinary functions
Function, red-set: Public ordinary functions
Function, red-setbit: Public ordinary functions
Function, red-setex: Public ordinary functions
Function, red-setnx: Public ordinary functions
Function, red-setrange: Public ordinary functions
Function, red-shutdown: Public ordinary functions
Function, red-sinter: Public ordinary functions
Function, red-sinterstore: Public ordinary functions
Function, red-sismember: Public ordinary functions
Function, red-slaveof: Public ordinary functions
Function, red-slowlog: Public ordinary functions
Function, red-smembers: Public ordinary functions
Function, red-smove: Public ordinary functions
Function, red-sort: Public ordinary functions
Function, red-spop: Public ordinary functions
Function, red-srandmember: Public ordinary functions
Function, red-srem: Public ordinary functions
Function, red-sscan: Public ordinary functions
Function, red-strlen: Public ordinary functions
Function, red-subscribe: Public ordinary functions
Function, red-substr: Public ordinary functions
Function, red-sunion: Public ordinary functions
Function, red-sunionstore: Public ordinary functions
Function, red-sync: Public ordinary functions
Function, red-time: Public ordinary functions
Function, red-ttl: Public ordinary functions
Function, red-type: Public ordinary functions
Function, red-unsubscribe: Public ordinary functions
Function, red-unwatch: Public ordinary functions
Function, red-watch: Public ordinary functions
Function, red-zadd: Public ordinary functions
Function, red-zcard: Public ordinary functions
Function, red-zcount: Public ordinary functions
Function, red-zincrby: Public ordinary functions
Function, red-zinterstore: Public ordinary functions
Function, red-zlexcount: Public ordinary functions
Function, red-zrange: Public ordinary functions
Function, red-zrangebyscore: Public ordinary functions
Function, red-zrank: Public ordinary functions
Function, red-zrem: Public ordinary functions
Function, red-zremrangebylex: Public ordinary functions
Function, red-zremrangebyrank: Public ordinary functions
Function, red-zremrangebyscore: Public ordinary functions
Function, red-zrevrange: Public ordinary functions
Function, red-zrevrangebylex: Public ordinary functions
Function, red-zrevrangebyscore: Public ordinary functions
Function, red-zrevrank: Public ordinary functions
Function, red-zscan: Public ordinary functions
Function, red-zscore: Public ordinary functions
Function, red-zunionstore: Public ordinary functions
Function, rename: Private ordinary functions
Function, renamenx: Private ordinary functions
Function, reopen-connection: Private ordinary functions
Function, restore: Private ordinary functions
Function, role: Private ordinary functions
Function, rpop: Private ordinary functions
Function, rpoplpush: Private ordinary functions
Function, rpush: Private ordinary functions
Function, rpushx: Private ordinary functions
Function, sadd: Private ordinary functions
Function, save: Private ordinary functions
Function, scan: Private ordinary functions
Function, scard: Private ordinary functions
Function, script-exists: Private ordinary functions
Function, script-flush: Private ordinary functions
Function, script-kill: Private ordinary functions
Function, script-load: Private ordinary functions
Function, sdiff: Private ordinary functions
Function, sdiffstore: Private ordinary functions
Function, select: Private ordinary functions
Function, set: Private ordinary functions
Function, setbit: Private ordinary functions
Function, setex: Private ordinary functions
Function, setnx: Private ordinary functions
Function, setrange: Private ordinary functions
Function, shutdown: Private ordinary functions
Function, sinter: Private ordinary functions
Function, sinterstore: Private ordinary functions
Function, sismember: Private ordinary functions
Function, slaveof: Private ordinary functions
Function, slowlog: Private ordinary functions
Function, smembers: Private ordinary functions
Function, smove: Private ordinary functions
Function, sort: Private ordinary functions
Function, spop: Private ordinary functions
Function, srandmember: Private ordinary functions
Function, srem: Private ordinary functions
Function, sscan: Private ordinary functions
Function, strlen: Private ordinary functions
Function, subscribe: Private ordinary functions
Function, substr: Private ordinary functions
Function, sunion: Private ordinary functions
Function, sunionstore: Private ordinary functions
Function, sync: Private ordinary functions
Function, time: Private ordinary functions
Function, ttl: Private ordinary functions
Function, type: Private ordinary functions
Function, unsubscribe: Private ordinary functions
Function, unwatch: Private ordinary functions
Function, watch: Private ordinary functions
Function, zadd: Private ordinary functions
Function, zcard: Private ordinary functions
Function, zcount: Private ordinary functions
Function, zincrby: Private ordinary functions
Function, zinterstore: Private ordinary functions
Function, zlexcount: Private ordinary functions
Function, zrange: Private ordinary functions
Function, zrangebyscore: Private ordinary functions
Function, zrank: Private ordinary functions
Function, zrem: Private ordinary functions
Function, zremrangebylex: Private ordinary functions
Function, zremrangebyrank: Private ordinary functions
Function, zremrangebyscore: Private ordinary functions
Function, zrevrange: Private ordinary functions
Function, zrevrangebylex: Private ordinary functions
Function, zrevrangebyscore: Private ordinary functions
Function, zrevrank: Private ordinary functions
Function, zscan: Private ordinary functions
Function, zscore: Private ordinary functions
Function, zunionstore: Private ordinary functions

G
Generic Function, (setf conn-socket): Private generic functions
Generic Function, (setf conn-stream): Private generic functions
Generic Function, conn-auth: Private generic functions
Generic Function, conn-host: Private generic functions
Generic Function, conn-port: Private generic functions
Generic Function, conn-socket: Private generic functions
Generic Function, conn-stream: Private generic functions
Generic Function, expect: Public generic functions
Generic Function, redis-error-error: Private generic functions
Generic Function, redis-error-message: Public generic functions
Generic Function, tell: Public generic functions
get: Private ordinary functions
getbit: Private ordinary functions
getrange: Private ordinary functions
getset: Private ordinary functions

H
hdel: Private ordinary functions
hexists: Private ordinary functions
hget: Private ordinary functions
hgetall: Private ordinary functions
hincrby: Private ordinary functions
hincrbyfloat: Private ordinary functions
hkeys: Private ordinary functions
hlen: Private ordinary functions
hmget: Private ordinary functions
hmset: Private ordinary functions
hscan: Private ordinary functions
hset: Private ordinary functions
hsetnx: Private ordinary functions
hvals: Private ordinary functions

I
incr: Private ordinary functions
incrby: Private ordinary functions
incrbyfloat: Private ordinary functions
info: Private ordinary functions
initialize-instance: Public standalone methods

K
keys: Private ordinary functions

L
lastsave: Private ordinary functions
lindex: Private ordinary functions
linsert: Private ordinary functions
llen: Private ordinary functions
lpop: Private ordinary functions
lpush: Private ordinary functions
lpushx: Private ordinary functions
lrange: Private ordinary functions
lrem: Private ordinary functions
lset: Private ordinary functions
ltrim: Private ordinary functions

M
Macro, def-cmd: Public macros
Macro, def-expect-method: Public macros
Macro, read-bulk-reply: Private macros
Macro, reconnect-restart-case: Private macros
Macro, with-connection: Public macros
Macro, with-persistent-connection: Public macros
Macro, with-pipelining: Public macros
Macro, with-reconnect-restart: Private macros
Macro, with-recursive-connection: Public macros
Macro, with-redis-in: Private macros
Method, (setf conn-socket): Private generic functions
Method, (setf conn-stream): Private generic functions
Method, conn-auth: Private generic functions
Method, conn-host: Private generic functions
Method, conn-port: Private generic functions
Method, conn-socket: Private generic functions
Method, conn-stream: Private generic functions
Method, conn-stream: Private generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, expect: Public generic functions
Method, initialize-instance: Public standalone methods
Method, redis-error-error: Private generic functions
Method, redis-error-message: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
Method, tell: Public generic functions
mget: Private ordinary functions
migrate: Private ordinary functions
move: Private ordinary functions
mset: Private ordinary functions
msetnx: Private ordinary functions
multi: Private ordinary functions

O
object-encoding: Private ordinary functions
object-idletime: Private ordinary functions
object-refcount: Private ordinary functions
open-connection: Public ordinary functions

P
parse-float: Private ordinary functions
persist: Private ordinary functions
pexpire: Private ordinary functions
pexpireat: Private ordinary functions
pfadd: Private ordinary functions
pfcount: Private ordinary functions
pfmerge: Private ordinary functions
ping: Private ordinary functions
psubscribe: Private ordinary functions
pttl: Private ordinary functions
publish: Private ordinary functions
punsubscribe: Private ordinary functions

Q
quit: Private ordinary functions

R
radix-values: Private ordinary functions
randomkey: Private ordinary functions
read-bulk-reply: Private macros
reconnect: Public ordinary functions
reconnect-restart-case: Private macros
red-append: Public ordinary functions
red-auth: Public ordinary functions
red-bgrewriteaof: Public ordinary functions
red-bgsave: Public ordinary functions
red-bitcount: Public ordinary functions
red-bitop: Public ordinary functions
red-bitpos: Public ordinary functions
red-blpop: Public ordinary functions
red-brpop: Public ordinary functions
red-brpoplpush: Public ordinary functions
red-client-getname: Public ordinary functions
red-client-pause: Public ordinary functions
red-client-setname: Public ordinary functions
red-cluster-slots: Public ordinary functions
red-command: Public ordinary functions
red-command-count: Public ordinary functions
red-command-getkeys: Public ordinary functions
red-command-info: Public ordinary functions
red-config-get: Public ordinary functions
red-config-resetstat: Public ordinary functions
red-config-rewrite: Public ordinary functions
red-config-set: Public ordinary functions
red-dbsize: Public ordinary functions
red-decr: Public ordinary functions
red-decrby: Public ordinary functions
red-del: Public ordinary functions
red-discard: Public ordinary functions
red-dump: Public ordinary functions
red-echo: Public ordinary functions
red-eval: Public ordinary functions
red-evalsha: Public ordinary functions
red-exec: Public ordinary functions
red-exists: Public ordinary functions
red-expire: Public ordinary functions
red-expireat: Public ordinary functions
red-flushall: Public ordinary functions
red-flushdb: Public ordinary functions
red-get: Public ordinary functions
red-getbit: Public ordinary functions
red-getrange: Public ordinary functions
red-getset: Public ordinary functions
red-hdel: Public ordinary functions
red-hexists: Public ordinary functions
red-hget: Public ordinary functions
red-hgetall: Public ordinary functions
red-hincrby: Public ordinary functions
red-hincrbyfloat: Public ordinary functions
red-hkeys: Public ordinary functions
red-hlen: Public ordinary functions
red-hmget: Public ordinary functions
red-hmset: Public ordinary functions
red-hscan: Public ordinary functions
red-hset: Public ordinary functions
red-hsetnx: Public ordinary functions
red-hvals: Public ordinary functions
red-incr: Public ordinary functions
red-incrby: Public ordinary functions
red-incrbyfloat: Public ordinary functions
red-info: Public ordinary functions
red-keys: Public ordinary functions
red-lastsave: Public ordinary functions
red-lindex: Public ordinary functions
red-linsert: Public ordinary functions
red-llen: Public ordinary functions
red-lpop: Public ordinary functions
red-lpush: Public ordinary functions
red-lpushx: Public ordinary functions
red-lrange: Public ordinary functions
red-lrem: Public ordinary functions
red-lset: Public ordinary functions
red-ltrim: Public ordinary functions
red-mget: Public ordinary functions
red-migrate: Public ordinary functions
red-move: Public ordinary functions
red-mset: Public ordinary functions
red-msetnx: Public ordinary functions
red-multi: Public ordinary functions
red-object-encoding: Public ordinary functions
red-object-idletime: Public ordinary functions
red-object-refcount: Public ordinary functions
red-persist: Public ordinary functions
red-pexpire: Public ordinary functions
red-pexpireat: Public ordinary functions
red-pfadd: Public ordinary functions
red-pfcount: Public ordinary functions
red-pfmerge: Public ordinary functions
red-ping: Public ordinary functions
red-psubscribe: Public ordinary functions
red-pttl: Public ordinary functions
red-publish: Public ordinary functions
red-punsubscribe: Public ordinary functions
red-quit: Public ordinary functions
red-randomkey: Public ordinary functions
red-rename: Public ordinary functions
red-renamenx: Public ordinary functions
red-restore: Public ordinary functions
red-role: Public ordinary functions
red-rpop: Public ordinary functions
red-rpoplpush: Public ordinary functions
red-rpush: Public ordinary functions
red-rpushx: Public ordinary functions
red-sadd: Public ordinary functions
red-save: Public ordinary functions
red-scan: Public ordinary functions
red-scard: Public ordinary functions
red-script-exists: Public ordinary functions
red-script-flush: Public ordinary functions
red-script-kill: Public ordinary functions
red-script-load: Public ordinary functions
red-sdiff: Public ordinary functions
red-sdiffstore: Public ordinary functions
red-select: Public ordinary functions
red-set: Public ordinary functions
red-setbit: Public ordinary functions
red-setex: Public ordinary functions
red-setnx: Public ordinary functions
red-setrange: Public ordinary functions
red-shutdown: Public ordinary functions
red-sinter: Public ordinary functions
red-sinterstore: Public ordinary functions
red-sismember: Public ordinary functions
red-slaveof: Public ordinary functions
red-slowlog: Public ordinary functions
red-smembers: Public ordinary functions
red-smove: Public ordinary functions
red-sort: Public ordinary functions
red-spop: Public ordinary functions
red-srandmember: Public ordinary functions
red-srem: Public ordinary functions
red-sscan: Public ordinary functions
red-strlen: Public ordinary functions
red-subscribe: Public ordinary functions
red-substr: Public ordinary functions
red-sunion: Public ordinary functions
red-sunionstore: Public ordinary functions
red-sync: Public ordinary functions
red-time: Public ordinary functions
red-ttl: Public ordinary functions
red-type: Public ordinary functions
red-unsubscribe: Public ordinary functions
red-unwatch: Public ordinary functions
red-watch: Public ordinary functions
red-zadd: Public ordinary functions
red-zcard: Public ordinary functions
red-zcount: Public ordinary functions
red-zincrby: Public ordinary functions
red-zinterstore: Public ordinary functions
red-zlexcount: Public ordinary functions
red-zrange: Public ordinary functions
red-zrangebyscore: Public ordinary functions
red-zrank: Public ordinary functions
red-zrem: Public ordinary functions
red-zremrangebylex: Public ordinary functions
red-zremrangebyrank: Public ordinary functions
red-zremrangebyscore: Public ordinary functions
red-zrevrange: Public ordinary functions
red-zrevrangebylex: Public ordinary functions
red-zrevrangebyscore: Public ordinary functions
red-zrevrank: Public ordinary functions
red-zscan: Public ordinary functions
red-zscore: Public ordinary functions
red-zunionstore: Public ordinary functions
redis-error-error: Private generic functions
redis-error-error: Private generic functions
redis-error-message: Public generic functions
redis-error-message: Public generic functions
rename: Private ordinary functions
renamenx: Private ordinary functions
reopen-connection: Private ordinary functions
restore: Private ordinary functions
role: Private ordinary functions
rpop: Private ordinary functions
rpoplpush: Private ordinary functions
rpush: Private ordinary functions
rpushx: Private ordinary functions

S
sadd: Private ordinary functions
save: Private ordinary functions
scan: Private ordinary functions
scard: Private ordinary functions
script-exists: Private ordinary functions
script-flush: Private ordinary functions
script-kill: Private ordinary functions
script-load: Private ordinary functions
sdiff: Private ordinary functions
sdiffstore: Private ordinary functions
select: Private ordinary functions
set: Private ordinary functions
setbit: Private ordinary functions
setex: Private ordinary functions
setnx: Private ordinary functions
setrange: Private ordinary functions
shutdown: Private ordinary functions
sinter: Private ordinary functions
sinterstore: Private ordinary functions
sismember: Private ordinary functions
slaveof: Private ordinary functions
slowlog: Private ordinary functions
smembers: Private ordinary functions
smove: Private ordinary functions
sort: Private ordinary functions
spop: Private ordinary functions
srandmember: Private ordinary functions
srem: Private ordinary functions
sscan: Private ordinary functions
strlen: Private ordinary functions
subscribe: Private ordinary functions
substr: Private ordinary functions
sunion: Private ordinary functions
sunionstore: Private ordinary functions
sync: Private ordinary functions

T
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
tell: Public generic functions
time: Private ordinary functions
ttl: Private ordinary functions
type: Private ordinary functions

U
unsubscribe: Private ordinary functions
unwatch: Private ordinary functions

W
watch: Private ordinary functions
with-connection: Public macros
with-persistent-connection: Public macros
with-pipelining: Public macros
with-reconnect-restart: Private macros
with-recursive-connection: Public macros
with-redis-in: Private macros

Z
zadd: Private ordinary functions
zcard: Private ordinary functions
zcount: Private ordinary functions
zincrby: Private ordinary functions
zinterstore: Private ordinary functions
zlexcount: Private ordinary functions
zrange: Private ordinary functions
zrangebyscore: Private ordinary functions
zrank: Private ordinary functions
zrem: Private ordinary functions
zremrangebylex: Private ordinary functions
zremrangebyrank: Private ordinary functions
zremrangebyscore: Private ordinary functions
zrevrange: Private ordinary functions
zrevrangebylex: Private ordinary functions
zrevrangebyscore: Private ordinary functions
zrevrank: Private ordinary functions
zscan: Private ordinary functions
zscore: Private ordinary functions
zunionstore: Private ordinary functions