This is the lredis Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 18:50:12 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
lredis
Lisp Redis bindings
death
BSD
babel
(system).
babel-streams
(system).
usocket
(system).
lredis.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
lredis/lredis.lisp
lredis
(system).
*connection*
(special variable).
*host*
(special variable).
*port*
(special variable).
append
(function).
auth
(function).
bgrewriteaof
(function).
bgsave
(function).
bitcount
(function).
blpop
(function).
brpop
(function).
brpoplpush
(function).
close-connection
(function).
config-get
(function).
config-resetstat
(function).
config-rewrite
(function).
config-set
(function).
dbsize
(function).
decr
(function).
decrby
(function).
del
(function).
discard
(function).
dump
(function).
echo
(function).
exec
(function).
exists
(function).
expire
(function).
expireat
(function).
flushall
(function).
flushdb
(function).
get
(function).
getbit
(function).
getrange
(function).
getset
(function).
hdel
(function).
hexists
(function).
hget
(function).
hgetall
(function).
hincrby
(function).
hkeys
(function).
hlen
(function).
hmget
(function).
hmset
(function).
hset
(function).
hsetnx
(function).
hvals
(function).
incr
(function).
incrby
(function).
info
(function).
keys
(function).
lastsave
(function).
lindex
(function).
llen
(function).
lpop
(function).
lpush
(function).
lpushx
(function).
lrange
(function).
lrem
(function).
lset
(function).
ltrim
(function).
mget
(function).
move
(function).
mset
(function).
msetnx
(function).
multi
(function).
open-connection
(function).
persist
(function).
pexpire
(function).
pexpireat
(function).
ping
(function).
psetex
(function).
pttl
(function).
publish
(function).
pubsub-bad-event
(condition).
pubsub-bad-event-event
(reader method).
pubsub-dispatch
(function).
pubsub-spam
(condition).
quit
(function).
randomkey
(function).
redis-error
(condition).
rename
(function).
renamenx
(function).
restore
(function).
rpop
(function).
rpoplpush
(function).
rpush
(function).
rpushx
(function).
sadd
(function).
save
(function).
scard
(function).
sdiff
(function).
sdiffstore
(function).
select
(function).
set
(function).
setbit
(function).
setex
(function).
setnx
(function).
setrange
(function).
shutdown
(function).
sinter
(function).
sinterstore
(function).
sismember
(function).
slaveof
(function).
smembers
(function).
smove
(function).
sort
(function).
spop
(function).
srandmember
(function).
srem
(function).
strlen
(function).
subscribe
(function).
substr
(function).
sunion
(function).
sunionstore
(function).
text
(reader method).
(setf text)
(writer method).
time
(function).
ttl
(function).
type
(function).
unsubscribe
(function).
unwatch
(function).
watch
(function).
with-connection
(macro).
zadd
(function).
zcard
(function).
zcount
(function).
zincrby
(function).
zinterstore
(function).
zrange
(function).
zrangebyscore
(function).
zrank
(function).
zrem
(function).
zremrangebyrank
(function).
zremrangebyscore
(function).
zrevrange
(function).
zrevrank
(function).
zscore
(function).
zunionstore
(function).
%psubscribe
(function).
%punsubscribe
(function).
%subscribe
(function).
%unsubscribe
(function).
connection
(class).
connection-channel-subscriptions
(reader method).
(setf connection-channel-subscriptions)
(writer method).
connection-pattern-subscriptions
(reader method).
(setf connection-pattern-subscriptions)
(writer method).
connection-socket
(reader method).
(setf connection-socket)
(writer method).
connection-stream
(function).
define-command
(macro).
key-sequence
(function).
read-delimited-bytes
(function).
read-reply
(function).
subscription
(class).
subscription-function
(reader method).
subscription-want-octets
(reader method).
translate-event
(function).
translate-result
(function).
write-multi-bulk
(function).
Packages are listed by definition order.
lredis
redis
common-lisp
.
*connection*
(special variable).
*host*
(special variable).
*port*
(special variable).
append
(function).
auth
(function).
bgrewriteaof
(function).
bgsave
(function).
bitcount
(function).
blpop
(function).
brpop
(function).
brpoplpush
(function).
close-connection
(function).
config-get
(function).
config-resetstat
(function).
config-rewrite
(function).
config-set
(function).
dbsize
(function).
decr
(function).
decrby
(function).
del
(function).
discard
(function).
dump
(function).
echo
(function).
exec
(function).
exists
(function).
expire
(function).
expireat
(function).
flushall
(function).
flushdb
(function).
get
(function).
getbit
(function).
getrange
(function).
getset
(function).
hdel
(function).
hexists
(function).
hget
(function).
hgetall
(function).
hincrby
(function).
hkeys
(function).
hlen
(function).
hmget
(function).
hmset
(function).
hset
(function).
hsetnx
(function).
hvals
(function).
incr
(function).
incrby
(function).
info
(function).
keys
(function).
lastsave
(function).
lindex
(function).
llen
(function).
lpop
(function).
lpush
(function).
lpushx
(function).
lrange
(function).
lrem
(function).
lset
(function).
ltrim
(function).
mget
(function).
move
(function).
mset
(function).
msetnx
(function).
multi
(function).
open-connection
(function).
persist
(function).
pexpire
(function).
pexpireat
(function).
ping
(function).
psetex
(function).
pttl
(function).
publish
(function).
pubsub-bad-event
(condition).
pubsub-bad-event-event
(generic reader).
pubsub-dispatch
(function).
pubsub-spam
(condition).
quit
(function).
randomkey
(function).
redis-error
(condition).
rename
(function).
renamenx
(function).
restore
(function).
rpop
(function).
rpoplpush
(function).
rpush
(function).
rpushx
(function).
sadd
(function).
save
(function).
scard
(function).
sdiff
(function).
sdiffstore
(function).
select
(function).
set
(function).
setbit
(function).
setex
(function).
setnx
(function).
setrange
(function).
shutdown
(function).
sinter
(function).
sinterstore
(function).
sismember
(function).
slaveof
(function).
smembers
(function).
smove
(function).
sort
(function).
spop
(function).
srandmember
(function).
srem
(function).
strlen
(function).
subscribe
(function).
substr
(function).
sunion
(function).
sunionstore
(function).
text
(generic reader).
(setf text)
(generic writer).
time
(function).
ttl
(function).
type
(function).
unsubscribe
(function).
unwatch
(function).
watch
(function).
with-connection
(macro).
zadd
(function).
zcard
(function).
zcount
(function).
zincrby
(function).
zinterstore
(function).
zrange
(function).
zrangebyscore
(function).
zrank
(function).
zrem
(function).
zremrangebyrank
(function).
zremrangebyscore
(function).
zrevrange
(function).
zrevrank
(function).
zscore
(function).
zunionstore
(function).
%psubscribe
(function).
%punsubscribe
(function).
%subscribe
(function).
%unsubscribe
(function).
connection
(class).
connection-channel-subscriptions
(generic reader).
(setf connection-channel-subscriptions)
(generic writer).
connection-pattern-subscriptions
(generic reader).
(setf connection-pattern-subscriptions)
(generic writer).
connection-socket
(generic reader).
(setf connection-socket)
(generic writer).
connection-stream
(function).
define-command
(macro).
key-sequence
(function).
read-delimited-bytes
(function).
read-reply
(function).
subscription
(class).
subscription-function
(generic reader).
subscription-want-octets
(generic reader).
translate-event
(function).
translate-result
(function).
write-multi-bulk
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Append the specified string to the string stored at key.
Simple password authentication if enabled.
Rewrite the append only file in the background when it gets too big.
Asynchronously save the database on disk.
Count the number of set bits in a string.
Blocking LPOP
Blocking RPOP
Pop a value from a list, push it to another list and return it; or block until one is available.
Read configuration parameters matching pattern.
Reset statistics reported by INFO.
Rewrite redis configuration file.
Set a configuration variable.
Return the number of keys in the current database.
Decrement the integer value of key.
Decrement the integer value of key by integer.
Delete a key.
Rollback transaction
Serialize the value stored at key.
Echo the given string.
Commit transaction
Test if a key exists.
Expire key in a number of seconds from now.
Set the expiration for a key as a UNIX timestamp.
Remove all the keys from all the databases.
Remove all the keys of the currently selected database.
Return the string value of the key.
Returns the bit value at offset in the string value stored at key.
Get a substring of the string stored at a key (like SUBSTR).
Set a key to a string returning the old value of the key.
Remove the specified field from a hash.
Test for existence of a specified field in a hash.
Retrieve the value of the specified hash field.
Return all the fields and associated values in a hash.
Increment the integer value of the hash at key on field with integer.
Return all the fields in a hash.
Return the number of items in a hash.
Returns the values associated with the specified fields in the hash stored at key.
Set the hash fields to their respective values.
Set the hash field to the specified value. Creates the hash if needed.
Set the hash field to the specified value, if the field does not exist. Creates the hash if needed.
Return all the values in a hash.
Increment the integer value of key.
Increment the integer value of key by integer.
Provide information and statistics about the server
Return all the keys matching a given pattern.
Return the UNIX timestamp of the last successful save.
Return the element at index position from the list at key.
Return the length of the list value at key.
Return and remove (atomically) the first element of the list at key.
Append an element to the head of the list value at key.
Prepend a value to a list, only if the list exists.
Return a range of elements from the list at key.
Remove the first-N, last-N, or all the elements matching value from the list at key.
Set a new value as the element at index position of the list at key.
Trim the list at key to the specified range of elements.
Multi-get, return the string values of the keys.
Move the key from the currently selected database to a database specified by index.
Set multiple keys to multiple values in a single atomic operation.
Set multiple keys to multiple values in a single atomic operation if none of the keys already exist.
Begin a transaction
Remove the expiration from a key.
Set a key’s time to live in milliseconds.
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
Ping the redis server.
Set the value and expiration in milliseconds of a key.
Get the time to live for a key in milliseconds.
Post a message to a given channel.
Wait for a publisher/subscriber event from Redis and dispatch appropriately. There’s no notification about subscriptions or unsubscriptions, but we return true if any subscriptions are still active and false otherwise.
Close the connection.
Return a random key from the key space.
Rename the old key to the new one, superseding any existing key.
Rename the old key to the new one unless a key with the new name already exists.
Create a key associated with the deserialized value.
Return and remove (atomically) the last element of the list at key.
Return and remove (atomically) the last element of the source list stored at srckey and push the same element to the destination list stored at dstkey
Append an element to the tail of the list value at key.
Append a value to a list, only if the list exists.
Add the specified member to the set value at key.
Synchronously save the database on disk.
Return the number of elements (the cardinality) of the set at key.
Return the difference between the set stored at the first key and the sets stored at the rest of the keys.
Compute the difference between the set stored at the first key and the sets stored at the rest of the keys, and store it at dstkey.
Select the database having the specified index.
Set a key to a string value.
Sets or clears the bit at offset in the string value stored at key.
Set+Expire combo command
Set a key to a string value if the key does not exist.
Overwrite part of a string at key starting at the specified offset.
Synchronously save the database on disk, then shutdown the server.
Return the intersection of the sets stored at keys.
Compute the intersection of the sets stored at keys and store the resulting set at dstkey.
Test if the specified value is a member of the set at key.
Change the replication settings.
Return all the members of the set value at key.
Move the specified member from one set to another atomically.
Sort a set or a list according to the specified parameters.
Remove and return (pop) a random element from the set value at key.
Return a random member of the set value at key.
Remove the specified member from the set value at key.
Get the length of the value stored in key.
Subscribe the client to the specified channels or patterns, calling the function when a relevant event is available. The function should take two arguments: the originating channel and the actual message.
Return a substring out of a larger string.
Return the union of the sets stored at keys.
Compute the union of the sets stored at keys and store the resulting set at dstkey.
Return the current server time.
Get the number of seconds from now until expiry.
Return the type of the value stored at key.
Unsubscribe the client from the specified channels or patterns. In order to unsubscribe from all channels or patterns, pass :ALL as an argument.
Forget about all watched keys.
Watch the given keys to determine execution of the MULTI/EXEC block.
Add the specified member to the sorted set value at key or update the score if it already exists.
Return the number of elements (cardinality) of the sorted set at key.
Count the members in a sorted set with scores within the given values.
If the member already exists, increment its score by increment, otherwise add the member setting increment as score.
Intersect over a number of sorted sets with optional weight and aggregate.
Return a range of elements from the sorted set at key, ordered by smallest to greatest score.
Return all the elements with min <= score <= max (a range query) from the sorted set.
Return the rank (or index) of member in the sorted set at key, with scores being oredered from low to high.
Remove the specified member from the sorted set value at key.
Remove all the elements with min <= rank <= max rank from the sorted set.
Remove all the elements with min <= score <= max score from the sorted set.
Return a range of elements from the sorted set at key, ordered by greatest to the smallest score.
Return the rank (or index) of member in the sorted set at key, with scores being ordered from high to low.
Return the score associated with the specified element of the sorted set at key.
Union over a number of sorted sets with optional weight and aggregate.
pubsub-bad-event
)) ¶redis-error
)) ¶redis-error
)) ¶text
.
Initarg | Value |
---|---|
:text | bad publish/subscribe event. |
:event
This slot is read-only.
Initarg | Value |
---|---|
:text | publish/subscribe spam event. |
Subscribe the client to the given patterns.
Unsubscribe the client from the given patterns.
Subscribe the client to the specified channels.
Unsubscribe the client from the given channels, or from all of them if none is given.
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
subscription
)) ¶automatically generated reader method
subscription
)) ¶automatically generated reader method
Jump to: | %
(
A B C D E F G H I K L M O P Q R S T U W Z |
---|
Jump to: | %
(
A B C D E F G H I K L M O P Q R S T U W Z |
---|
Jump to: | *
C E F P S T W |
---|
Jump to: | *
C E F P S T W |
---|
Jump to: | C F L P R S |
---|
Jump to: | C F L P R S |
---|