A

Relay::addIgnorePatterns() — Method in class Relay

Adds ignore pattern(s). Matching keys will not be cached in memory.

Relay::addAllowPatterns() — Method in class Relay

Adds allow pattern(s). Only matching keys will be cached in memory.

Relay::auth() — Method in class Relay

Authenticate the connection using a password or an ACL username and password.

Relay::acl() — Method in class Relay

Interact with Redis' ACLs

Relay::append() — Method in class Relay

If key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string, so APPEND will be similar to SET in this special case.

B

Relay::bytes() — Method in class Relay
Relay::bgrewriteaof() — Method in class Relay

Asynchronously rewrite the append-only file.

Relay::bgsave() — Method in class Relay

Asynchronously save the dataset to disk.

Relay::bitcount() — Method in class Relay

Count the number of set bits (population counting) in a string.

Relay::bitfield() — Method in class Relay

Perform various bitfield operations on a string key, such as getting/setting bit ranges, incrementing, etc.

Relay::bitop() — Method in class Relay

Perform a bitwise operation on one or more keys, storing the result in a new key.

Relay::bitpos() — Method in class Relay

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

Relay::blmove() — Method in class Relay

BLMOVE is the blocking variant of LMOVE. When source contains elements, this command behaves exactly like LMOVE. When used inside a MULTI/EXEC block, this command behaves exactly like LMOVE.

Relay::brpoplpush() — Method in class Relay

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.

Relay::blpop() — Method in class Relay

BLPOP is a blocking list pop primitive. It is the blocking version of LPOP because it blocks the connection when there are no elements to pop from any of the given lists.

Relay::blmpop() — Method in class Relay

Pop elements from a list, or block until one is available

Relay::bzmpop() — Method in class Relay

Remove and return members with scores in a sorted set or block until one is available

Relay::brpop() — Method in class Relay

BRPOP is a blocking list pop primitive. It is the blocking version of RPOP because it blocks the connection when there are no elements to pop from any of the given lists.

Relay::bzpopmax() — Method in class Relay

BZPOPMAX is the blocking variant of the sorted set ZPOPMAX primitive.

Relay::bzpopmin() — Method in class Relay

BZPOPMIN is the blocking variant of the sorted set ZPOPMIN primitive.

C

$ Event#clientProperty in class Event

Whether the invalidation was created in the client or originated from a Redis PUSH message.

Relay::connect() — Method in class Relay

Establishes a new connection to Redis.

Relay::close() — Method in class Relay

Closes the current connection, unless it's persistent.

Relay::clearLastError() — Method in class Relay

Clears the last error that is set, if any.

Relay::copy() — Method in class Relay

This command copies the value stored at the source key to the destination key.

Relay::client() — Method in class Relay

Executes CLIENT command operations.

Relay::config() — Method in class Relay

This is a container command for runtime configuration commands.

Relay::command() — Method in class Relay

Return an array with details about every Redis command.

Relay::clearBytes() — Method in class Relay

Clear the accumulated sent and received bytes.

Sentinel::ckquorum() — Method in class Sentinel

Check if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover.

Table::clear() — Method in class Table

Removes all keys from the table.

Table::count() — Method in class Table

Get the number of keys stored in the table.

D

Relay::dispatchEvents() — Method in class Relay

Dispatches all pending events.

Relay::dbsize() — Method in class Relay

Returns the number of keys in the currently-selected database.

Relay::dump() — Method in class Relay

Serialize and return the value stored at key in a Redis-specific format.

Relay::del() — Method in class Relay

Removes the specified keys.

Relay::decr() — Method in class Relay

Decrements the number stored at key by one.

Relay::decrby() — Method in class Relay

Decrements the number stored at key by decrement.

Relay::discard() — Method in class Relay

Flushes all previously queued commands in a transaction and restores the connection state to normal.

Table::delete() — Method in class Table

Remove a key from the table.

E

EventClass in namespace Relay

Relay event class.

ExceptionClass in namespace Relay

Generic Relay exception.

Relay::endpointId() — Method in class Relay

Returns the connection's endpoint identifier.

Relay::echo() — Method in class Relay

Asks Redis to echo back the provided string.

Relay::exists() — Method in class Relay

Returns if key(s) exists.

Relay::eval() — Method in class Relay

Evaluate script using the Lua interpreter.

Relay::eval_ro() — Method in class Relay

Evaluate script using the Lua interpreter. This is just the "read-only" variant of EVAL meaning it can be run on read-only replicas.

Relay::evalsha() — Method in class Relay

Evaluates a script cached on the server-side by its SHA1 digest.

Relay::evalsha_ro() — Method in class Relay

Evaluates a script cached on the server-side by its SHA1 digest. This is just the "read-only" variant of EVALSHA meaning it can be run on read-only replicas.

Relay::expire() — Method in class Relay

Set a timeout on key.

Relay::expireat() — Method in class Relay

Set a timeout on key using a unix timestamp.

Relay::expiretime() — Method in class Relay

Returns the absolute Unix timestamp in seconds at which the given key will expire.

Relay::exec() — Method in class Relay

Executes all previously queued commands in a transaction and restores the connection state to normal.

Table::exists() — Method in class Table

Check if a key exists in the table.

F

Relay::flushdb() — Method in class Relay

Deletes all the keys of the currently selected database.

Relay::flushall() — Method in class Relay

Deletes all the keys of all the existing databases, not just the currently selected one.

Relay::fcall() — Method in class Relay

Invokes a Redis function.

Relay::fcall_ro() — Method in class Relay

Invokes a read-only Redis function.

Relay::function() — Method in class Relay

Calls FUNCTION sub-command.

Relay::flushMemory() — Method in class Relay

Flushes Relay's in-memory cache of all databases.

Sentinel::failover() — Method in class Sentinel

Force a failover as if the master was not reachable, and without asking for agreement to other Sentinels.

Sentinel::flushconfig() — Method in class Sentinel

Force Sentinel to rewrite its configuration on disk, including the current Sentinel state.

G

Relay::getOption() — Method in class Relay

Returns a client option.

Relay::getTimeout() — Method in class Relay

Returns the connection timeout.

Relay::getReadTimeout() — Method in class Relay

Returns the read timeout.

Relay::getBytes() — Method in class Relay

Returns the number of bytes sent and received over the network during the Relay object's lifetime, or since the last time Relay::clearBytes() was called.

Relay::getHost() — Method in class Relay

Returns the host or unix socket.

Relay::getPort() — Method in class Relay

Returns the port.

Relay::getAuth() — Method in class Relay

Returns the authentication information.

Relay::getDbNum() — Method in class Relay

Returns the currently selected DB

Relay::getLastError() — Method in class Relay

Returns the last error message, if any.

Relay::getPersistentID() — Method in class Relay
Relay::geoadd() — Method in class Relay

Add one or more members to a geospacial sorted set

Relay::geodist() — Method in class Relay

Get the distance between two members of a geospacially encoded sorted set.

Relay::geohash() — Method in class Relay

Retrieve one or more GeoHash encoded strings for members of the set.

Relay::georadius() — Method in class Relay

Retrieve members of a geospacially sorted set that are within a certain radius of a location.

Relay::georadiusbymember() — Method in class Relay

Similar to GEORADIUS except it uses a member as the center of the query.

Relay::georadiusbymember_ro() — Method in class Relay

Similar to GEORADIUS except it uses a member as the center of the query.

Relay::georadius_ro() — Method in class Relay

Retrieve members of a geospacially sorted set that are within a certain radius of a location.

Relay::geosearch() — Method in class Relay

Search a geospacial sorted set for members in various ways.

Relay::geosearchstore() — Method in class Relay

Search a geospacial sorted set for members within a given area or range, storing the results into a new set.

Relay::get() — Method in class Relay

Get the value of key.

Relay::getset() — Method in class Relay

Atomically sets key to value and returns the old value stored at key.

Relay::getrange() — Method in class Relay

Returns the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).

Relay::getbit() — Method in class Relay

Returns the bit value at offset in the string value stored at key.

Relay::getex() — Method in class Relay

Get the value of key and optionally set its expiration.

Relay::getdel() — Method in class Relay

Get the value of key and delete the key. This command is similar to GET, except for the fact that it also deletes the key on success (if and only if the key's value type is a string).

Relay::geopos() — Method in class Relay

Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.

Relay::getMode() — Method in class Relay

Get the mode Relay is currently in.

Sentinel::getMasterAddrByName() — Method in class Sentinel

Returns the ip and port number of the master with that name.

Sentinel::getLastError() — Method in class Sentinel

Returns the last error message, if any.

Sentinel::getOption() — Method in class Sentinel

Returns a client option.

Table::get() — Method in class Table

Get a key from the table.

Table::getField() — Method in class Table

Get a field of a cached key. This is an array lookup.

H

Relay::hget() — Method in class Relay

Returns the value associated with field in the hash stored at key.

Relay::hstrlen() — Method in class Relay

Returns the string length of the value associated with field in the hash stored at key.

Relay::hgetall() — Method in class Relay

Returns all fields and values of the hash stored at key.

Relay::hkeys() — Method in class Relay

Returns all field names in the hash stored at key.

Relay::hvals() — Method in class Relay

Returns all values in the hash stored at key.

Relay::hmget() — Method in class Relay

Returns the values associated with the specified fields in the hash stored at key.

Relay::hrandfield() — Method in class Relay

When called with just the key argument, return a random field from the hash value stored at key.

Relay::hmset() — Method in class Relay

Sets the specified fields to their respective values in the hash stored at key.

Relay::hexists() — Method in class Relay

Returns if field is an existing field in the hash stored at key.

Relay::hsetnx() — Method in class Relay

Sets field in the hash stored at key to value, only if field does not yet exist.

Relay::hset() — Method in class Relay

Sets field in the hash stored at key to value.

Relay::hdel() — Method in class Relay

Removes the specified fields from the hash stored at key.

Relay::hincrby() — Method in class Relay

Increments the number stored at field in the hash stored at key by increment.

Relay::hincrbyfloat() — Method in class Relay

Increment the specified field of a hash stored at key, and representing a floating point number, by the specified increment.

Relay::hscan() — Method in class Relay

Iterates fields of Hash types and their associated values.

Relay::hlen() — Method in class Relay

Returns the number of fields contained in the hash stored at $key.

I

Relay::isConnected() — Method in class Relay

Whether Relay is connected to Redis.

Relay::info() — Method in class Relay

The INFO command returns information and statistics about Redis in a format that is simple to parse by computers and easy to read by humans.

Relay::idleTime() — Method in class Relay

Returns the number of milliseoconds since Relay has seen activity from the server.

Relay::incr() — Method in class Relay

Increments the number stored at key by one.

Relay::incrby() — Method in class Relay

Increments the number stored at key by increment.

Relay::incrbyfloat() — Method in class Relay

Increment the string representing a floating point number stored at key by the specified increment.

K

$ Event#keyProperty in class Event

The event key. Only filled for INVALIDATED events.

Relay::keys() — Method in class Relay

Returns all keys matching pattern.

L

Relay::listen() — Method in class Relay

Registers a new event listener.

Relay::lastsave() — Method in class Relay

Returns the UNIX time stamp of the last successful save to disk.

Relay::lmove() — Method in class Relay

Atomically returns and removes the first/last element of the list stored at source, and pushes the element at the first/last element of the list stored at destination.

Relay::lrange() — Method in class Relay

Returns the specified elements of the list stored at key.

Relay::lpush() — Method in class Relay

Insert all the specified values at the head of the list stored at key.

Relay::lpushx() — Method in class Relay

Inserts specified values at the head of the list stored at key, only if key already exists and holds a list.

Relay::lset() — Method in class Relay

Sets the list element at index to element.

Relay::lpop() — Method in class Relay

Removes and returns the first elements of the list stored at key.

Relay::lpos() — Method in class Relay

The command returns the index of matching elements inside a Redis list.

Relay::lmpop() — Method in class Relay

Pops one or more elements from the first non-empty list key from the list of provided key names.

Relay::lrem() — Method in class Relay

Removes the first count occurrences of elements equal to element from the list stored at key.

Relay::lindex() — Method in class Relay

Returns the element at index index in the list stored at key.

Relay::linsert() — Method in class Relay

Inserts element in the list stored at key either before or after the reference value pivot.

Relay::ltrim() — Method in class Relay

Trim an existing list so that it will contain only the specified range of elements specified.

Relay::llen() — Method in class Relay

Returns the length of the list stored at $key.

Relay::license() — Method in class Relay

Returns information about the license.

M

Relay::maxMemory() — Method in class Relay

Returns the number of bytes allocated, or 0 in client-only mode.

Relay::memory() — Method in class Relay

Returns the number of bytes allocated, or 0 in client-only mode.

Relay::migrate() — Method in class Relay

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

Relay::mget() — Method in class Relay

Returns the values of all specified keys.

Relay::move() — Method in class Relay

Move key from the currently selected database to the specified destination database.

Relay::mset() — Method in class Relay

Sets the given keys to their respective values.

Relay::msetnx() — Method in class Relay

Sets the given keys to their respective values.

Relay::multi() — Method in class Relay

Marks the start of a transaction block. Subsequent commands will be queued for atomic execution using EXEC.

Sentinel::master() — Method in class Sentinel

Returns the state and info of the specified master.

Sentinel::masters() — Method in class Sentinel

Returns a list of monitored masters and their state.

Sentinel::myid() — Method in class Sentinel

Returns the ID of the Sentinel instance.

O

Relay::onFlushed() — Method in class Relay

Registers a new flushed event listener.

Relay::onInvalidated() — Method in class Relay

Registers a new invalidated event listener.

Relay::option() — Method in class Relay

Returns or sets a client option.

Relay::object() — Method in class Relay

This is a container command for object introspection commands.

P

Relay::pconnect() — Method in class Relay

Establishes a persistent connection to Redis.

Relay::pclose() — Method in class Relay

Closes the current connection, if it's persistent.

Relay::ping() — Method in class Relay

Returns PONG if no argument is provided, otherwise return a copy of the argument as a bulk.

Relay::pttl() — Method in class Relay

Returns the remaining time to live of a key that has a timeout in milliseconds.

Relay::pfadd() — Method in class Relay

Adds the specified elements to the specified HyperLogLog.

Relay::pfcount() — Method in class Relay

Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).

Relay::pfmerge() — Method in class Relay

Merge given HyperLogLogs into a single one.

Relay::psetex() — Method in class Relay

Set key to hold the string value and set key to timeout after a given number of milliseconds.

Relay::publish() — Method in class Relay

Posts a message to the given channel.

Relay::pubsub() — Method in class Relay

A container command for Pub/Sub introspection commands.

Relay::pexpire() — Method in class Relay

Set a key's time to live in milliseconds.

Relay::pexpireat() — Method in class Relay

Set the expiration for a key as a UNIX timestamp specified in milliseconds.

Relay::pexpiretime() — Method in class Relay

Semantic the same as EXPIRETIME, but returns the absolute Unix expiration timestamp in milliseconds instead of seconds.

Relay::persist() — Method in class Relay

Remove the existing timeout on key, turning the key from volatile to persistent.

Relay::psubscribe() — Method in class Relay

Subscribes to the given patterns.

Relay::punsubscribe() — Method in class Relay

Unsubscribes from the given patterns, or from all of them if none is given.

Relay::pipeline() — Method in class Relay

A pipeline block is simply transmitted faster to the server (like MULTI), but without any guarantee of atomicity.

Sentinel::ping() — Method in class Sentinel

Returns PONG if no message is provided, otherwise returns the message.

R

RelayClass in namespace Relay

Relay client.

Relay::readTimeout() — Method in class Relay
Relay::rawCommand() — Method in class Relay

Execute any command against Redis, without applying the prefix, compression and serialization.

Relay::replicaof() — Method in class Relay

Attach or detach the instance as a replica of another instance.

Relay::restore() — Method in class Relay

Create a key associated with a value that is obtained by deserializing the provided serialized value.

Relay::randomkey() — Method in class Relay

Returns a random key from Redis.

Relay::role() — Method in class Relay

Returns the role of the instance in the context of replication.

Relay::rename() — Method in class Relay

Renames key.

Relay::renamenx() — Method in class Relay

Renames key if the new key does not yet exist.

Relay::rpush() — Method in class Relay

Insert all the specified values at the tail of the list stored at key.

Relay::rpushx() — Method in class Relay

Inserts specified values at the tail of the list stored at key, only if key already exists and holds a list.

Relay::rpop() — Method in class Relay

Removes and returns the last elements of the list stored at key.

Relay::rpoplpush() — Method in class Relay

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.

Sentinel::reset() — Method in class Sentinel

Will reset all the masters with matching name.

S

Relay::setOption() — Method in class Relay

Sets a client option.

Relay::socketId() — Method in class Relay

Returns a unique representation of the underlying socket connection identifier.

Relay::stats() — Method in class Relay

Returns statistics about Relay.

Relay::select() — Method in class Relay

Select the Redis logical database having the specified zero-based numeric index.

Relay::save() — Method in class Relay

Synchronously save the dataset to disk.

Relay::setrange() — Method in class Relay

Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.

Relay::setbit() — Method in class Relay

Sets or clears the bit at offset in the string value stored at key.

Relay::set() — Method in class Relay

Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type.

Relay::setex() — Method in class Relay

Set key to hold the string value and set key to timeout after a given number of seconds.

Relay::spublish() — Method in class Relay

Posts a message to the given shard channel.

Relay::setnx() — Method in class Relay

Set key to hold string value if key does not exist. In that case, it is equal to SET.

Relay::sdiff() — Method in class Relay

Returns the members of the set resulting from the difference between the first set and all the successive sets.

Relay::sdiffstore() — Method in class Relay

This command is equal to SDIFF, but instead of returning the resulting set, it is stored in destination.

Relay::sinter() — Method in class Relay

Returns the members of the set resulting from the intersection of all the given sets.

Relay::sintercard() — Method in class Relay

Intersect multiple sets and return the cardinality of the result.

Relay::sinterstore() — Method in class Relay

This command is equal to SINTER, but instead of returning the resulting set, it is stored in destination.

Relay::sunion() — Method in class Relay

Returns the members of the set resulting from the union of all the given sets.

Relay::sunionstore() — Method in class Relay

This command is equal to SUNION, but instead of returning the resulting set, it is stored in destination.

Relay::subscribe() — Method in class Relay

Subscribes to the specified channels.

Relay::ssubscribe() — Method in class Relay

Subscribes to the specified shard channels.

Relay::sunsubscribe() — Method in class Relay

Unsubscribes from the given shard channels, or from all of them if none is given.

Relay::scan() — Method in class Relay

Scan the keyspace for matching keys.

Relay::sscan() — Method in class Relay

Iterates elements of Sets types.

Relay::slowlog() — Method in class Relay

Interact with the Redis slowlog.

Relay::smembers() — Method in class Relay

Returns all the members of the set value stored at $key.

Relay::sismember() — Method in class Relay

Returns if $member is a member of the set stored at $key.

Relay::smismember() — Method in class Relay

Returns whether each member is a member of the set stored at $key.

Relay::srem() — Method in class Relay

Remove the specified members from the set stored at $key.

Relay::sadd() — Method in class Relay

Add the specified members to the set stored at $key.

Relay::sort() — Method in class Relay

Sort the elements in a list, set or sorted set.

Relay::sort_ro() — Method in class Relay

Sort the elements in a list, set or sorted set. Read-only variant of SORT.

Relay::smove() — Method in class Relay

Move member from the set at source to the set at destination.

Relay::spop() — Method in class Relay

Removes and returns one or more random members from the set value store at $key.

Relay::srandmember() — Method in class Relay

Returns one or multiple random members from a set.

Relay::scard() — Method in class Relay

Returns the set cardinality (number of elements) of the set stored at $key.

Relay::script() — Method in class Relay

Execute a script management command.

Relay::strlen() — Method in class Relay

Returns the length of the string value stored at $key.

SentinelClass in namespace Relay

Relay Sentinel client.

Sentinel::sentinels() — Method in class Sentinel

Returns a list of sentinel instances for this master, and their state.

Sentinel::slaves() — Method in class Sentinel

Show a list of replicas for this master, and their state.

Sentinel::setOption() — Method in class Sentinel

Sets a client option.

Table::set() — Method in class Table

Set a key in the table.

T

$ Event#typeProperty in class Event

The type of the event represented by an integer.

Relay::timeout() — Method in class Relay
Relay::time() — Method in class Relay

Returns the current time from Redis.

Relay::ttl() — Method in class Relay

Returns the remaining time to live of a key that has a timeout in seconds.

Relay::type() — Method in class Relay

Returns the type of a given key.

Relay::touch() — Method in class Relay

Alters the last access time of a key(s).

TableClass in namespace Relay

Relay Table is a persistent per-worker hash table that can store arbitrary data.

U

Relay::unlink() — Method in class Relay

Removes the specified keys without blocking Redis.

Relay::unsubscribe() — Method in class Relay

Unsubscribes from the given channels, or from all of them if none is given.

Relay::unwatch() — Method in class Relay

Flushes all the previously watched keys for a transaction.

W

Relay::wait() — Method in class Relay

Wait for the synchronous replication of all the write commands sent in the context of the current connection.

Relay::watch() — Method in class Relay

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

X

Relay::xack() — Method in class Relay

Acknowledge one or more IDs as having been processed by the consumer group.

Relay::xadd() — Method in class Relay

Append a message to a stream.

Relay::xclaim() — Method in class Relay

Claim ownership of stream message(s).

Relay::xautoclaim() — Method in class Relay

Automatically take ownership of stream message(s) by metrics

Relay::xlen() — Method in class Relay

Get the length of a stream.

Relay::xgroup() — Method in class Relay

Perform utility operations having to do with consumer groups

Relay::xdel() — Method in class Relay

Remove one or more specific IDs from a stream.

Relay::xinfo() — Method in class Relay

Retrieve information about a stream key.

Relay::xpending() — Method in class Relay

Query pending entries in a stream.

Relay::xrange() — Method in class Relay

Lists elements in a stream.

Relay::xrevrange() — Method in class Relay

Get a range of entries from a STREAM ke in reverse chronological order.

Relay::xread() — Method in class Relay

Read messages from a stream.

Relay::xreadgroup() — Method in class Relay

Read messages from a stream using a consumer group.

Relay::xtrim() — Method in class Relay

Truncate a STREAM key in various ways.

Z

Relay::zmpop() — Method in class Relay

Pops one or more elements, that are member-score pairs, from the first non-empty sorted set in the provided list of key names.

Relay::zscan() — Method in class Relay

Iterates elements of Sorted Set types and their associated scores.

Relay::zadd() — Method in class Relay

Adds all the specified members with the specified scores to the sorted set stored at key.

Relay::zrandmember() — Method in class Relay

When called with just the key argument, return a random element from the sorted set value stored at key.

Relay::zrange() — Method in class Relay

Returns the specified range of elements in the sorted set stored at key.

Relay::zrevrange() — Method in class Relay

Returns the specified range of elements in the sorted set stored at key.

Relay::zrangebyscore() — Method in class Relay

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).

Relay::zrevrangebyscore() — Method in class Relay

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).

Relay::zrangestore() — Method in class Relay

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).

Relay::zrangebylex() — Method in class Relay

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 min and max.

Relay::zrevrangebylex() — Method in class Relay

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.

Relay::zrank() — Method in class Relay

Returns the rank of member in the sorted set stored at key, with the scores ordered from low to high. The rank (or index) is 0-based, which means that the member with the lowest score has rank 0.

Relay::zrevrank() — Method in class Relay

Returns the rank of member in the sorted set stored at key, with the scores ordered from high to low. The rank (or index) is 0-based, which means that the member with the highest score has rank 0.

Relay::zrem() — Method in class Relay

Removes the specified members from the sorted set stored at key.

Relay::zremrangebylex() — Method in class Relay

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.

Relay::zremrangebyrank() — Method in class Relay

Removes all elements in the sorted set stored at key with rank between start and stop. Both start and stop are 0 -based indexes with 0 being the element with the lowest score.

Relay::zremrangebyscore() — Method in class Relay

Removes all elements in the sorted set stored at key with a score between min and max (inclusive).

Relay::zcard() — Method in class Relay

Returns the sorted set cardinality (number of elements) of the sorted set stored at key.

Relay::zcount() — Method in class Relay

Returns the number of elements in the sorted set at key with a score between min and max.

Relay::zdiff() — Method in class Relay

This command is similar to ZDIFFSTORE, but instead of storing the resulting sorted set, it is returned to the client.

Relay::zdiffstore() — Method in class Relay

Computes the difference between the first and all successive input sorted sets and stores the result in destination.

Relay::zincrby() — Method in class Relay

Increments the score of member in the sorted set stored at key by increment.

Relay::zlexcount() — Method in class Relay

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.

Relay::zmscore() — Method in class Relay

Returns the scores associated with the specified members in the sorted set stored at key.

Relay::zscore() — Method in class Relay

Returns the score of member in the sorted set at key.

Relay::zinter() — Method in class Relay

This command is similar to ZINTERSTORE, but instead of storing the resulting sorted set, it is returned to the client.

Relay::zintercard() — Method in class Relay

Intersect multiple sorted sets and return the cardinality of the result.

Relay::zinterstore() — Method in class Relay

Computes the intersection of numkeys sorted sets given by the specified keys, and stores the result in destination.

Relay::zunion() — Method in class Relay

This command is similar to ZUNIONSTORE, but instead of storing the resulting sorted set, it is returned to the client.

Relay::zunionstore() — Method in class Relay

Computes the union of numkeys sorted sets given by the specified keys, and stores the result in destination.

Relay::zpopmin() — Method in class Relay

Removes and returns up to count members with the lowest scores in the sorted set stored at key.

Relay::zpopmax() — Method in class Relay

Removes and returns up to count members with the highest scores in the sorted set stored at key.

_

Relay::__construct() — Method in class Relay

Establishes a new connection to Redis, or re-uses already opened connection.

Relay::_serialize() — Method in class Relay

Returns the serialized value.

Relay::_unserialize() — Method in class Relay

Returns the unserialized value.

Relay::_compress() — Method in class Relay

Compress data with Relay's currently configured compression algorithm.

Relay::_uncompress() — Method in class Relay

Uncompress data with Relay's currently configured compression algorithm.

Relay::_pack() — Method in class Relay

Returns the serialized and compressed value.

Relay::_unpack() — Method in class Relay

Returns the unserialized and decompressed value.

Relay::_prefix() — Method in class Relay

Returns the value with the prefix.

Relay::_getKeys() — Method in class Relay

Returns keys cached in runtime memory.

Sentinel::__construct() — Method in class Sentinel

Establishes a new connection to a Sentinel instance.

Table::__construct() — Method in class Table

Create a table instance.