Interface yii\redis\ConnectionInterface
| Implemented by | yii\ |
|---|---|
| Source Code | https://github.com/yiisoft/yii2-redis/blob/master/ConnectionInterface.php |
The execution of redis commands is possible with via executeCommand().
Public Methods
Method Details
Append a value to a key. https://redis.io/commands/append
| public abstract append( mixed $key, mixed $value ): mixed | ||
| $key | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Authenticate to the server. https://redis.io/commands/auth
| public abstract auth( mixed $password ): mixed | ||
| $password | mixed | |
| return | mixed | |
|---|---|---|
Asynchronously rewrite the append-only file. https://redis.io/commands/bgrewriteaof
| public abstract bgrewriteaof( ): mixed | ||
| return | mixed | |
|---|---|---|
Asynchronously save the dataset to disk. https://redis.io/commands/bgsave
| public abstract bgsave( ): mixed | ||
| return | mixed | |
|---|---|---|
Count set bits in a string. https://redis.io/commands/bitcount
| public abstract bitcount( mixed $key, mixed $start, mixed $end ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $end | mixed | |
| return | mixed | |
|---|---|---|
Perform arbitrary bitfield integer operations on strings. https://redis.io/commands/bitfield
| public abstract bitfield( mixed $key, mixed $operations ): mixed | ||
| $key | mixed | |
| $operations | mixed | |
| return | mixed | |
|---|---|---|
Perform bitwise operations between strings. https://redis.io/commands/bitop
| public abstract bitop( mixed $operation, mixed $destkey, mixed $keys ): mixed | ||
| $operation | mixed | |
| $destkey | mixed | |
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Find first bit set or clear in a string. https://redis.io/commands/bitpos
| public abstract bitpos( mixed $key, mixed $bit, mixed $start, mixed $end ): mixed | ||
| $key | mixed | |
| $bit | mixed | |
| $start | mixed | |
| $end | mixed | |
| return | mixed | |
|---|---|---|
Remove and get the first element in a list, or block until one is available. https://redis.io/commands/blpop
| public abstract blpop( mixed $keys, mixed $timeout ): mixed | ||
| $keys | mixed | |
| $timeout | mixed | |
| return | mixed | |
|---|---|---|
Remove and get the last element in a list, or block until one is available. https://redis.io/commands/brpop
| public abstract brpop( mixed $keys, mixed $timeout ): mixed | ||
| $keys | mixed | |
| $timeout | mixed | |
| return | mixed | |
|---|---|---|
Pop a value from a list, push it to another list and return it; or block until one is available. https://redis.io/commands/brpoplpush
| public abstract brpoplpush( mixed $source, mixed $destination, mixed $timeout ): mixed | ||
| $source | mixed | |
| $destination | mixed | |
| $timeout | mixed | |
| return | mixed | |
|---|---|---|
Get the current connection name. https://redis.io/commands/client-getname
| public abstract clientGetname( ): mixed | ||
| return | mixed | |
|---|---|---|
Kill the connection of a client. https://redis.io/commands/client-kill
| public abstract clientKill( mixed $filters ): mixed | ||
| $filters | mixed | |
| return | mixed | |
|---|---|---|
Get the list of client connections. https://redis.io/commands/client-list
| public abstract clientList( ): mixed | ||
| return | mixed | |
|---|---|---|
Stop processing commands from clients for some time. https://redis.io/commands/client-pause
| public abstract clientPause( mixed $timeout ): mixed | ||
| $timeout | mixed | |
| return | mixed | |
|---|---|---|
Instruct the server whether to reply to commands. https://redis.io/commands/client-reply
| public abstract clientReply( mixed $option ): mixed | ||
| $option | mixed | |
| return | mixed | |
|---|---|---|
Set the current connection name. https://redis.io/commands/client-setname
| public abstract clientSetname( mixed $connectionName ): mixed | ||
| $connectionName | mixed | |
| return | mixed | |
|---|---|---|
Assign new hash slots to receiving node. https://redis.io/commands/cluster-addslots
| public abstract clusterAddslots( mixed $slots ): mixed | ||
| $slots | mixed | |
| return | mixed | |
|---|---|---|
Return the number of local keys in the specified hash slot. https://redis.io/commands/cluster-countkeysinslot
| public abstract clusterCountkeysinslot( mixed $slot ): mixed | ||
| $slot | mixed | |
| return | mixed | |
|---|---|---|
Set hash slots as unbound in receiving node. https://redis.io/commands/cluster-delslots
| public abstract clusterDelslots( mixed $slots ): mixed | ||
| $slots | mixed | |
| return | mixed | |
|---|---|---|
Forces a slave to perform a manual failover of its master.. https://redis.io/commands/cluster-failover
| public abstract clusterFailover( mixed $option ): mixed | ||
| $option | mixed | |
| return | mixed | |
|---|---|---|
Remove a node from the nodes table. https://redis.io/commands/cluster-forget
| public abstract clusterForget( mixed $nodeId ): mixed | ||
| $nodeId | mixed | |
| return | mixed | |
|---|---|---|
Return local key names in the specified hash slot. https://redis.io/commands/cluster-getkeysinslot
| public abstract clusterGetkeysinslot( mixed $slot, mixed $count ): mixed | ||
| $slot | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Provides info about Redis Cluster node state. https://redis.io/commands/cluster-info
| public abstract clusterInfo( ): mixed | ||
| return | mixed | |
|---|---|---|
Returns the hash slot of the specified key. https://redis.io/commands/cluster-keyslot
| public abstract clusterKeyslot( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Force a node cluster to handshake with another node. https://redis.io/commands/cluster-meet
| public abstract clusterMeet( mixed $ip, mixed $port ): mixed | ||
| $ip | mixed | |
| $port | mixed | |
| return | mixed | |
|---|---|---|
Get Cluster config for the node. https://redis.io/commands/cluster-nodes
| public abstract clusterNodes( ): mixed | ||
| return | mixed | |
|---|---|---|
Reconfigure a node as a slave of the specified master node. https://redis.io/commands/cluster-replicate
| public abstract clusterReplicate( mixed $nodeId ): mixed | ||
| $nodeId | mixed | |
| return | mixed | |
|---|---|---|
Reset a Redis Cluster node. https://redis.io/commands/cluster-reset
| public abstract clusterReset( mixed $resetType ): mixed | ||
| $resetType | mixed | |
| return | mixed | |
|---|---|---|
Forces the node to save cluster state on disk. https://redis.io/commands/cluster-saveconfig
| public abstract clusterSaveconfig( ): mixed | ||
| return | mixed | |
|---|---|---|
Bind a hash slot to a specific node. https://redis.io/commands/cluster-setslot
| public abstract clusterSetslot( mixed $slot, mixed $type, mixed $nodeid ): mixed | ||
| $slot | mixed | |
| $type | mixed | |
| $nodeid | mixed | |
| return | mixed | |
|---|---|---|
List slave nodes of the specified master node. https://redis.io/commands/cluster-slaves
| public abstract clusterSlaves( mixed $nodeId ): mixed | ||
| $nodeId | mixed | |
| return | mixed | |
|---|---|---|
Get array of Cluster slot to node mappings. https://redis.io/commands/cluster-slots
| public abstract clusterSlots( ): mixed | ||
| return | mixed | |
|---|---|---|
Get array of Redis command details. https://redis.io/commands/command
| public abstract command( ): mixed | ||
| return | mixed | |
|---|---|---|
Get total number of Redis commands. https://redis.io/commands/command-count
| public abstract commandCount( ): mixed | ||
| return | mixed | |
|---|---|---|
Extract keys given a full Redis command. https://redis.io/commands/command-getkeys
| public abstract commandGetkeys( ): mixed | ||
| return | mixed | |
|---|---|---|
Get array of specific Redis command details. https://redis.io/commands/command-info
| public abstract commandInfo( mixed $commandNames ): mixed | ||
| $commandNames | mixed | |
| return | mixed | |
|---|---|---|
Get the value of a configuration parameter. https://redis.io/commands/config-get
| public abstract configGet( mixed $parameter ): mixed | ||
| $parameter | mixed | |
| return | mixed | |
|---|---|---|
Reset the stats returned by INFO. https://redis.io/commands/config-resetstat
| public abstract configResetstat( ): mixed | ||
| return | mixed | |
|---|---|---|
Rewrite the configuration file with the in memory configuration. https://redis.io/commands/config-rewrite
| public abstract configRewrite( ): mixed | ||
| return | mixed | |
|---|---|---|
Set a configuration parameter to the given value. https://redis.io/commands/config-set
| public abstract configSet( mixed $parameter, mixed $value ): mixed | ||
| $parameter | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Return the number of keys in the selected database. https://redis.io/commands/dbsize
| public abstract dbsize( ): mixed | ||
| return | mixed | |
|---|---|---|
Get debugging information about a key. https://redis.io/commands/debug-object
| public abstract debugObject( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Make the server crash. https://redis.io/commands/debug-segfault
| public abstract debugSegfault( ): mixed | ||
| return | mixed | |
|---|---|---|
Decrement the integer value of a key by one. https://redis.io/commands/decr
| public abstract decr( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Decrement the integer value of a key by the given number. https://redis.io/commands/decrby
| public abstract decrby( mixed $key, mixed $decrement ): mixed | ||
| $key | mixed | |
| $decrement | mixed | |
| return | mixed | |
|---|---|---|
Delete a key. https://redis.io/commands/del
| public abstract del( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Discard all commands issued after MULTI. https://redis.io/commands/discard
| public abstract discard( ): mixed | ||
| return | mixed | |
|---|---|---|
Return a serialized version of the value stored at the specified key.. https://redis.io/commands/dump
| public abstract dump( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Echo the given string. https://redis.io/commands/echo
| public abstract echo( mixed $message ): mixed | ||
| $message | mixed | |
| return | mixed | |
|---|---|---|
Execute a Lua script server side. https://redis.io/commands/eval
| public abstract eval( mixed $script, mixed $numkeys, mixed $keys, mixed $args ): mixed | ||
| $script | mixed | |
| $numkeys | mixed | |
| $keys | mixed | |
| $args | mixed | |
| return | mixed | |
|---|---|---|
Execute a Lua script server side. https://redis.io/commands/evalsha
| public abstract evalsha( mixed $sha1, mixed $numkeys, mixed $keys, mixed $args ): mixed | ||
| $sha1 | mixed | |
| $numkeys | mixed | |
| $keys | mixed | |
| $args | mixed | |
| return | mixed | |
|---|---|---|
Execute all commands issued after MULTI. https://redis.io/commands/exec
| public abstract exec( ): mixed | ||
| return | mixed | |
|---|---|---|
| public abstract executeCommand( string $name, mixed[] $params = [] ): mixed | ||
| $name | string | |
| $params | mixed[] | |
public function executeCommand(string $name, array $params = []);
Determine if a key exists. https://redis.io/commands/exists
| public abstract exists( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Set a key's time to live in seconds. https://redis.io/commands/expire
| public abstract expire( mixed $key, mixed $seconds ): mixed | ||
| $key | mixed | |
| $seconds | mixed | |
| return | mixed | |
|---|---|---|
Set the expiration for a key as a UNIX timestamp. https://redis.io/commands/expireat
| public abstract expireat( mixed $key, mixed $timestamp ): mixed | ||
| $key | mixed | |
| $timestamp | mixed | |
| return | mixed | |
|---|---|---|
Remove all keys from all databases. https://redis.io/commands/flushall
| public abstract flushall( mixed $ASYNC ): mixed | ||
| $ASYNC | mixed | |
| return | mixed | |
|---|---|---|
Remove all keys from the current database. https://redis.io/commands/flushdb
| public abstract flushdb( mixed $ASYNC ): mixed | ||
| $ASYNC | mixed | |
| return | mixed | |
|---|---|---|
Add one or more geospatial items in the geospatial index represented using a sorted set. https://redis.io/commands/geoadd
| public abstract geoadd( mixed $key, mixed $longitude, mixed $latitude, mixed $member, mixed $more ): mixed | ||
| $key | mixed | |
| $longitude | mixed | |
| $latitude | mixed | |
| $member | mixed | |
| $more | mixed | |
| return | mixed | |
|---|---|---|
Returns the distance between two members of a geospatial index. https://redis.io/commands/geodist
| public abstract geodist( mixed $key, mixed $member1, mixed $member2, mixed $unit ): mixed | ||
| $key | mixed | |
| $member1 | mixed | |
| $member2 | mixed | |
| $unit | mixed | |
| return | mixed | |
|---|---|---|
Returns members of a geospatial index as standard geohash strings. https://redis.io/commands/geohash
| public abstract geohash( mixed $key, mixed $members ): mixed | ||
| $key | mixed | |
| $members | mixed | |
| return | mixed | |
|---|---|---|
Returns longitude and latitude of members of a geospatial index. https://redis.io/commands/geopos
| public abstract geopos( mixed $key, mixed $members ): mixed | ||
| $key | mixed | |
| $members | mixed | |
| return | mixed | |
|---|---|---|
Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point. https://redis.io/commands/georadius
| public abstract georadius( mixed $key, mixed $longitude, mixed $latitude, mixed $radius, mixed $metric, mixed $options ): mixed | ||
| $key | mixed | |
| $longitude | mixed | |
| $latitude | mixed | |
| $radius | mixed | |
| $metric | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member. https://redis.io/commands/georadiusbymember
| public abstract georadiusbymember( mixed $key, mixed $member, mixed $radius, mixed $metric, mixed $options ): mixed | ||
| $key | mixed | |
| $member | mixed | |
| $radius | mixed | |
| $metric | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Get the value of a key. https://redis.io/commands/get
| public abstract get( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Returns the bit value at offset in the string value stored at key. https://redis.io/commands/getbit
| public abstract getbit( mixed $key, mixed $offset ): mixed | ||
| $key | mixed | |
| $offset | mixed | |
| return | mixed | |
|---|---|---|
Get a substring of the string stored at a key. https://redis.io/commands/getrange
| public abstract getrange( mixed $key, mixed $start, mixed $end ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $end | mixed | |
| return | mixed | |
|---|---|---|
Set the string value of a key and return its old value. https://redis.io/commands/getset
| public abstract getset( mixed $key, mixed $value ): mixed | ||
| $key | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Delete one or more hash fields. https://redis.io/commands/hdel
| public abstract hdel( mixed $key, mixed $fields ): mixed | ||
| $key | mixed | |
| $fields | mixed | |
| return | mixed | |
|---|---|---|
Determine if a hash field exists. https://redis.io/commands/hexists
| public abstract hexists( mixed $key, mixed $field ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| return | mixed | |
|---|---|---|
Get the value of a hash field. https://redis.io/commands/hget
| public abstract hget( mixed $key, mixed $field ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| return | mixed | |
|---|---|---|
Get all the fields and values in a hash. https://redis.io/commands/hgetall
| public abstract hgetall( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Increment the integer value of a hash field by the given number. https://redis.io/commands/hincrby
| public abstract hincrby( mixed $key, mixed $field, mixed $increment ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| $increment | mixed | |
| return | mixed | |
|---|---|---|
Increment the float value of a hash field by the given amount. https://redis.io/commands/hincrbyfloat
| public abstract hincrbyfloat( mixed $key, mixed $field, mixed $increment ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| $increment | mixed | |
| return | mixed | |
|---|---|---|
Get all the fields in a hash. https://redis.io/commands/hkeys
| public abstract hkeys( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Get the number of fields in a hash. https://redis.io/commands/hlen
| public abstract hlen( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Get the values of all the given hash fields. https://redis.io/commands/hmget
| public abstract hmget( mixed $key, mixed $fields ): mixed | ||
| $key | mixed | |
| $fields | mixed | |
| return | mixed | |
|---|---|---|
Set multiple hash fields to multiple values. https://redis.io/commands/hmset
| public abstract hmset( mixed $key, mixed $field, mixed $value, mixed $more ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| $value | mixed | |
| $more | mixed | |
| return | mixed | |
|---|---|---|
Incrementally iterate hash fields and associated values. https://redis.io/commands/hscan
| public abstract hscan( mixed $key, mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count ): mixed | ||
| $key | mixed | |
| $cursor | mixed | |
| $MATCH | mixed | |
| $pattern | mixed | |
| $COUNT | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Set the string value of a hash field. https://redis.io/commands/hset
| public abstract hset( mixed $key, mixed $field, mixed $value ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Set the value of a hash field, only if the field does not exist. https://redis.io/commands/hsetnx
| public abstract hsetnx( mixed $key, mixed $field, mixed $value ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Get the length of the value of a hash field. https://redis.io/commands/hstrlen
| public abstract hstrlen( mixed $key, mixed $field ): mixed | ||
| $key | mixed | |
| $field | mixed | |
| return | mixed | |
|---|---|---|
Get all the values in a hash. https://redis.io/commands/hvals
| public abstract hvals( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Increment the integer value of a key by one. https://redis.io/commands/incr
| public abstract incr( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Increment the integer value of a key by the given amount. https://redis.io/commands/incrby
| public abstract incrby( mixed $key, mixed $increment ): mixed | ||
| $key | mixed | |
| $increment | mixed | |
| return | mixed | |
|---|---|---|
Increment the float value of a key by the given amount. https://redis.io/commands/incrbyfloat
| public abstract incrbyfloat( mixed $key, mixed $increment ): mixed | ||
| $key | mixed | |
| $increment | mixed | |
| return | mixed | |
|---|---|---|
Get information and statistics about the server. https://redis.io/commands/info
| public abstract info( mixed $section ): mixed | ||
| $section | mixed | |
| return | mixed | |
|---|---|---|
Find all keys matching the given pattern. https://redis.io/commands/keys
| public abstract keys( mixed $pattern ): mixed | ||
| $pattern | mixed | |
| return | mixed | |
|---|---|---|
Get the UNIX time stamp of the last successful save to disk. https://redis.io/commands/lastsave
| public abstract lastsave( ): mixed | ||
| return | mixed | |
|---|---|---|
Get an element from a list by its index. https://redis.io/commands/lindex
| public abstract lindex( mixed $key, mixed $index ): mixed | ||
| $key | mixed | |
| $index | mixed | |
| return | mixed | |
|---|---|---|
Insert an element before or after another element in a list. https://redis.io/commands/linsert
| public abstract linsert( mixed $key, mixed $where, mixed $pivot, mixed $value ): mixed | ||
| $key | mixed | |
| $where | mixed | |
| $pivot | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Get the length of a list. https://redis.io/commands/llen
| public abstract llen( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Remove and get the first element in a list. https://redis.io/commands/lpop
| public abstract lpop( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Prepend one or multiple values to a list. https://redis.io/commands/lpush
| public abstract lpush( mixed $key, mixed $values ): mixed | ||
| $key | mixed | |
| $values | mixed | |
| return | mixed | |
|---|---|---|
Prepend a value to a list, only if the list exists. https://redis.io/commands/lpushx
| public abstract lpushx( mixed $key, mixed $value ): mixed | ||
| $key | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Get a range of elements from a list. https://redis.io/commands/lrange
| public abstract lrange( mixed $key, mixed $start, mixed $stop ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $stop | mixed | |
| return | mixed | |
|---|---|---|
Remove elements from a list. https://redis.io/commands/lrem
| public abstract lrem( mixed $key, mixed $count, mixed $value ): mixed | ||
| $key | mixed | |
| $count | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Set the value of an element in a list by its index. https://redis.io/commands/lset
| public abstract lset( mixed $key, mixed $index, mixed $value ): mixed | ||
| $key | mixed | |
| $index | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Trim a list to the specified range. https://redis.io/commands/ltrim
| public abstract ltrim( mixed $key, mixed $start, mixed $stop ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $stop | mixed | |
| return | mixed | |
|---|---|---|
Get the values of all the given keys. https://redis.io/commands/mget
| public abstract mget( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Atomically transfer a key from a Redis instance to another one.. https://redis.io/commands/migrate
| public abstract migrate( mixed $host, mixed $port, mixed $key, mixed $destinationDb, mixed $timeout, mixed $options ): mixed | ||
| $host | mixed | |
| $port | mixed | |
| $key | mixed | |
| $destinationDb | mixed | |
| $timeout | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Listen for all requests received by the server in real time. https://redis.io/commands/monitor
| public abstract monitor( ): mixed | ||
| return | mixed | |
|---|---|---|
Move a key to another database. https://redis.io/commands/move
| public abstract move( mixed $key, mixed $db ): mixed | ||
| $key | mixed | |
| $db | mixed | |
| return | mixed | |
|---|---|---|
Set multiple keys to multiple values. https://redis.io/commands/mset
| public abstract mset( mixed $keyValuePairs ): mixed | ||
| $keyValuePairs | mixed | |
| return | mixed | |
|---|---|---|
Set multiple keys to multiple values, only if none of the keys exist. https://redis.io/commands/msetnx
| public abstract msetnx( mixed $keyValuePairs ): mixed | ||
| $keyValuePairs | mixed | |
| return | mixed | |
|---|---|---|
Mark the start of a transaction block. https://redis.io/commands/multi
| public abstract multi( ): mixed | ||
| return | mixed | |
|---|---|---|
Inspect the internals of Redis objects. https://redis.io/commands/object
| public abstract object( mixed $subcommand, mixed $argumentss ): mixed | ||
| $subcommand | mixed | |
| $argumentss | mixed | |
| return | mixed | |
|---|---|---|
Remove the expiration from a key. https://redis.io/commands/persist
| public abstract persist( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Set a key's time to live in milliseconds. https://redis.io/commands/pexpire
| public abstract pexpire( mixed $key, mixed $milliseconds ): mixed | ||
| $key | mixed | |
| $milliseconds | mixed | |
| return | mixed | |
|---|---|---|
Set the expiration for a key as a UNIX timestamp specified in milliseconds. https://redis.io/commands/pexpireat
| public abstract pexpireat( mixed $key, mixed $millisecondsTimestamp ): mixed | ||
| $key | mixed | |
| $millisecondsTimestamp | mixed | |
| return | mixed | |
|---|---|---|
Adds the specified elements to the specified HyperLogLog.. https://redis.io/commands/pfadd
| public abstract pfadd( mixed $key, mixed $elements ): mixed | ||
| $key | mixed | |
| $elements | mixed | |
| return | mixed | |
|---|---|---|
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).. https://redis.io/commands/pfcount
| public abstract pfcount( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Merge N different HyperLogLogs into a single one.. https://redis.io/commands/pfmerge
| public abstract pfmerge( mixed $destkey, mixed $sourcekeys ): mixed | ||
| $destkey | mixed | |
| $sourcekeys | mixed | |
| return | mixed | |
|---|---|---|
Ping the server. https://redis.io/commands/ping
| public abstract ping( mixed $message ): mixed | ||
| $message | mixed | |
| return | mixed | |
|---|---|---|
Set the value and expiration in milliseconds of a key. https://redis.io/commands/psetex
| public abstract psetex( mixed $key, mixed $milliseconds, mixed $value ): mixed | ||
| $key | mixed | |
| $milliseconds | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Listen for messages published to channels matching the given patterns. https://redis.io/commands/psubscribe
| public abstract psubscribe( mixed $patterns ): mixed | ||
| $patterns | mixed | |
| return | mixed | |
|---|---|---|
Get the time to live for a key in milliseconds. https://redis.io/commands/pttl
| public abstract pttl( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Post a message to a channel. https://redis.io/commands/publish
| public abstract publish( mixed $channel, mixed $message ): mixed | ||
| $channel | mixed | |
| $message | mixed | |
| return | mixed | |
|---|---|---|
Inspect the state of the Pub/Sub subsystem. https://redis.io/commands/pubsub
| public abstract pubsub( mixed $subcommand, mixed $arguments ): mixed | ||
| $subcommand | mixed | |
| $arguments | mixed | |
| return | mixed | |
|---|---|---|
Stop listening for messages posted to channels matching the given patterns. https://redis.io/commands/punsubscribe
| public abstract punsubscribe( mixed $patterns ): mixed | ||
| $patterns | mixed | |
| return | mixed | |
|---|---|---|
Close the connection. https://redis.io/commands/quit
| public abstract quit( ): mixed | ||
| return | mixed | |
|---|---|---|
Return a random key from the keyspace. https://redis.io/commands/randomkey
| public abstract randomkey( ): mixed | ||
| return | mixed | |
|---|---|---|
Enables read queries for a connection to a cluster slave node. https://redis.io/commands/readonly
| public abstract readonly( ): mixed | ||
| return | mixed | |
|---|---|---|
Disables read queries for a connection to a cluster slave node. https://redis.io/commands/readwrite
| public abstract readwrite( ): mixed | ||
| return | mixed | |
|---|---|---|
Rename a key. https://redis.io/commands/rename
| public abstract rename( mixed $key, mixed $newkey ): mixed | ||
| $key | mixed | |
| $newkey | mixed | |
| return | mixed | |
|---|---|---|
Rename a key, only if the new key does not exist. https://redis.io/commands/renamenx
| public abstract renamenx( mixed $key, mixed $newkey ): mixed | ||
| $key | mixed | |
| $newkey | mixed | |
| return | mixed | |
|---|---|---|
Create a key using the provided serialized value, previously obtained using DUMP.. https://redis.io/commands/restore
| public abstract restore( mixed $key, mixed $ttl, mixed $serializedValue, mixed $REPLACE ): mixed | ||
| $key | mixed | |
| $ttl | mixed | |
| $serializedValue | mixed | |
| $REPLACE | mixed | |
| return | mixed | |
|---|---|---|
Return the role of the instance in the context of replication. https://redis.io/commands/role
| public abstract role( ): mixed | ||
| return | mixed | |
|---|---|---|
Remove and get the last element in a list. https://redis.io/commands/rpop
| public abstract rpop( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Remove the last element in a list, prepend it to another list and return it. https://redis.io/commands/rpoplpush
| public abstract rpoplpush( mixed $source, mixed $destination ): mixed | ||
| $source | mixed | |
| $destination | mixed | |
| return | mixed | |
|---|---|---|
Append one or multiple values to a list. https://redis.io/commands/rpush
| public abstract rpush( mixed $key, mixed $values ): mixed | ||
| $key | mixed | |
| $values | mixed | |
| return | mixed | |
|---|---|---|
Append a value to a list, only if the list exists. https://redis.io/commands/rpushx
| public abstract rpushx( mixed $key, mixed $value ): mixed | ||
| $key | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Add one or more members to a set. https://redis.io/commands/sadd
| public abstract sadd( mixed $key, mixed $members ): mixed | ||
| $key | mixed | |
| $members | mixed | |
| return | mixed | |
|---|---|---|
Synchronously save the dataset to disk. https://redis.io/commands/save
| public abstract save( ): mixed | ||
| return | mixed | |
|---|---|---|
Incrementally iterate the keys space. https://redis.io/commands/scan
| public abstract scan( mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count ): mixed | ||
| $cursor | mixed | |
| $MATCH | mixed | |
| $pattern | mixed | |
| $COUNT | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Get the number of members in a set. https://redis.io/commands/scard
| public abstract scard( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Set the debug mode for executed scripts.. https://redis.io/commands/script-debug
| public abstract scriptDebug( mixed $option ): mixed | ||
| $option | mixed | |
| return | mixed | |
|---|---|---|
Check existence of scripts in the script cache.. https://redis.io/commands/script-exists
| public abstract scriptExists( mixed $sha1s ): mixed | ||
| $sha1s | mixed | |
| return | mixed | |
|---|---|---|
Remove all the scripts from the script cache.. https://redis.io/commands/script-flush
| public abstract scriptFlush( ): mixed | ||
| return | mixed | |
|---|---|---|
Kill the script currently in execution.. https://redis.io/commands/script-kill
| public abstract scriptKill( ): mixed | ||
| return | mixed | |
|---|---|---|
Load the specified Lua script into the script cache.. https://redis.io/commands/script-load
| public abstract scriptLoad( mixed $script ): mixed | ||
| $script | mixed | |
| return | mixed | |
|---|---|---|
Subtract multiple sets. https://redis.io/commands/sdiff
| public abstract sdiff( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Subtract multiple sets and store the resulting set in a key. https://redis.io/commands/sdiffstore
| public abstract sdiffstore( mixed $destination, mixed $keys ): mixed | ||
| $destination | mixed | |
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Change the selected database for the current connection. https://redis.io/commands/select
| public abstract select( mixed $index ): mixed | ||
| $index | mixed | |
| return | mixed | |
|---|---|---|
Set the string value of a key. https://redis.io/commands/set
| public abstract set( mixed $key, mixed $value, mixed $options ): mixed | ||
| $key | mixed | |
| $value | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Sets or clears the bit at offset in the string value stored at key. https://redis.io/commands/setbit
| public abstract setbit( mixed $key, mixed $offset, mixed $value ): mixed | ||
| $key | mixed | |
| $offset | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Set the value and expiration of a key. https://redis.io/commands/setex
| public abstract setex( mixed $key, mixed $seconds, mixed $value ): mixed | ||
| $key | mixed | |
| $seconds | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Set the value of a key, only if the key does not exist. https://redis.io/commands/setnx
| public abstract setnx( mixed $key, mixed $value ): mixed | ||
| $key | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Overwrite part of a string at key starting at the specified offset. https://redis.io/commands/setrange
| public abstract setrange( mixed $key, mixed $offset, mixed $value ): mixed | ||
| $key | mixed | |
| $offset | mixed | |
| $value | mixed | |
| return | mixed | |
|---|---|---|
Synchronously save the dataset to disk and then shut down the server. https://redis.io/commands/shutdown
| public abstract shutdown( mixed $saveOption ): mixed | ||
| $saveOption | mixed | |
| return | mixed | |
|---|---|---|
Intersect multiple sets. https://redis.io/commands/sinter
| public abstract sinter( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Intersect multiple sets and store the resulting set in a key. https://redis.io/commands/sinterstore
| public abstract sinterstore( mixed $destination, mixed $keys ): mixed | ||
| $destination | mixed | |
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Determine if a given value is a member of a set. https://redis.io/commands/sismember
| public abstract sismember( mixed $key, mixed $member ): mixed | ||
| $key | mixed | |
| $member | mixed | |
| return | mixed | |
|---|---|---|
Make the server a slave of another instance, or promote it as master. https://redis.io/commands/slaveof
| public abstract slaveof( mixed $host, mixed $port ): mixed | ||
| $host | mixed | |
| $port | mixed | |
| return | mixed | |
|---|---|---|
Manages the Redis slow queries log. https://redis.io/commands/slowlog
| public abstract slowlog( mixed $subcommand, mixed $argument ): mixed | ||
| $subcommand | mixed | |
| $argument | mixed | |
| return | mixed | |
|---|---|---|
Get all the members in a set. https://redis.io/commands/smembers
| public abstract smembers( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Move a member from one set to another. https://redis.io/commands/smove
| public abstract smove( mixed $source, mixed $destination, mixed $member ): mixed | ||
| $source | mixed | |
| $destination | mixed | |
| $member | mixed | |
| return | mixed | |
|---|---|---|
Sort the elements in a list, set or sorted set. https://redis.io/commands/sort
| public abstract sort( mixed $key, mixed $options ): mixed | ||
| $key | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Remove and return one or multiple random members from a set. https://redis.io/commands/spop
| public abstract spop( mixed $key, mixed $count ): mixed | ||
| $key | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Get one or multiple random members from a set. https://redis.io/commands/srandmember
| public abstract srandmember( mixed $key, mixed $count ): mixed | ||
| $key | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Remove one or more members from a set. https://redis.io/commands/srem
| public abstract srem( mixed $key, mixed $members ): mixed | ||
| $key | mixed | |
| $members | mixed | |
| return | mixed | |
|---|---|---|
Incrementally iterate Set elements. https://redis.io/commands/sscan
| public abstract sscan( mixed $key, mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count ): mixed | ||
| $key | mixed | |
| $cursor | mixed | |
| $MATCH | mixed | |
| $pattern | mixed | |
| $COUNT | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Get the length of the value stored in a key. https://redis.io/commands/strlen
| public abstract strlen( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Listen for messages published to the given channels. https://redis.io/commands/subscribe
| public abstract subscribe( mixed $channels ): mixed | ||
| $channels | mixed | |
| return | mixed | |
|---|---|---|
Add multiple sets. https://redis.io/commands/sunion
| public abstract sunion( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Add multiple sets and store the resulting set in a key. https://redis.io/commands/sunionstore
| public abstract sunionstore( mixed $destination, mixed $keys ): mixed | ||
| $destination | mixed | |
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Swaps two Redis databases. https://redis.io/commands/swapdb
| public abstract swapdb( mixed $index, mixed $index ): mixed | ||
| $index | mixed | |
| $index | mixed | |
| return | mixed | |
|---|---|---|
Internal command used for replication. https://redis.io/commands/sync
| public abstract sync( ): mixed | ||
| return | mixed | |
|---|---|---|
Return the current server time. https://redis.io/commands/time
| public abstract time( ): mixed | ||
| return | mixed | |
|---|---|---|
Alters the last access time of a key(s).
Returns the number of existing keys specified.. https://redis.io/commands/touch
| public abstract touch( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Get the time to live for a key. https://redis.io/commands/ttl
| public abstract ttl( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Determine the type stored at key. https://redis.io/commands/type
| public abstract type( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Delete a key asynchronously in another thread.
Otherwise it is just as DEL, but non blocking.. https://redis.io/commands/unlink
| public abstract unlink( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Stop listening for messages posted to the given channels. https://redis.io/commands/unsubscribe
| public abstract unsubscribe( mixed $channels ): mixed | ||
| $channels | mixed | |
| return | mixed | |
|---|---|---|
Forget about all watched keys. https://redis.io/commands/unwatch
| public abstract unwatch( ): mixed | ||
| return | mixed | |
|---|---|---|
Wait for the synchronous replication of all the write commands sent in the context of the current connection. https://redis.io/commands/wait
| public abstract wait( mixed $numslaves, mixed $timeout ): mixed | ||
| $numslaves | mixed | |
| $timeout | mixed | |
| return | mixed | |
|---|---|---|
Watch the given keys to determine execution of the MULTI/EXEC block. https://redis.io/commands/watch
| public abstract watch( mixed $keys ): mixed | ||
| $keys | mixed | |
| return | mixed | |
|---|---|---|
Removes one or multiple messages from the pending entries list (PEL) of a stream consumer group https://redis.io/commands/xack
| public abstract xack( mixed $stream, mixed $group, mixed $ids ): mixed | ||
| $stream | mixed | |
| $group | mixed | |
| $ids | mixed | |
| return | mixed | |
|---|---|---|
Appends the specified stream entry to the stream at the specified key https://redis.io/commands/xadd
| public abstract xadd( mixed $stream, mixed $id, mixed $field, mixed $value, mixed $fieldsValues ): mixed | ||
| $stream | mixed | |
| $id | mixed | |
| $field | mixed | |
| $value | mixed | |
| $fieldsValues | mixed | |
| return | mixed | |
|---|---|---|
Changes the ownership of a pending message, so that the new owner is the consumer specified as the command argument https://redis.io/commands/xclaim
| public abstract xclaim( mixed $stream, mixed $group, mixed $consumer, mixed $minIdleTimeMs, mixed $id, mixed $options ): mixed | ||
| $stream | mixed | |
| $group | mixed | |
| $consumer | mixed | |
| $minIdleTimeMs | mixed | |
| $id | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Removes the specified entries from a stream, and returns the number of entries deleted https://redis.io/commands/xdel
| public abstract xdel( mixed $stream, mixed $ids ): mixed | ||
| $stream | mixed | |
| $ids | mixed | |
| return | mixed | |
|---|---|---|
Manages the consumer groups associated with a stream data structure https://redis.io/commands/xgroup
| public abstract xgroup( mixed $subCommand, mixed $stream, mixed $group, mixed $options ): mixed | ||
| $subCommand | mixed | |
| $stream | mixed | |
| $group | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Retrieves different information about the streams and associated consumer groups https://redis.io/commands/xinfo
| public abstract xinfo( mixed $subCommand, mixed $stream, mixed $options ): mixed | ||
| $subCommand | mixed | |
| $stream | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Returns the number of entries inside a stream https://redis.io/commands/xlen
| public abstract xlen( mixed $stream ): mixed | ||
| $stream | mixed | |
| return | mixed | |
|---|---|---|
Fetching data from a stream via a consumer group, and not acknowledging such data, has the effect of creating pending entries https://redis.io/commands/xpending
| public abstract xpending( mixed $stream, mixed $group, mixed $options ): mixed | ||
| $stream | mixed | |
| $group | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Returns the stream entries matching a given range of IDs https://redis.io/commands/xrange
| public abstract xrange( mixed $stream, mixed $start, mixed $end, mixed $options ): mixed | ||
| $stream | mixed | |
| $start | mixed | |
| $end | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Read data from one or multiple streams, only returning entries with an ID greater than the last received ID reported by the caller https://redis.io/commands/xread
| public abstract xread( mixed $options ): mixed | ||
| $options | mixed | |
| return | mixed | |
|---|---|---|
Special version of the XREAD command with support for consumer groups https://redis.io/commands/xreadgroup
| public abstract xreadgroup( mixed $subCommand, mixed $group, mixed $consumer, mixed $options ): mixed | ||
| $subCommand | mixed | |
| $group | mixed | |
| $consumer | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Exactly like XRANGE, but with the notable difference of returning the entries in reverse order, and also taking the start-end range in reverse order https://redis.io/commands/xrevrange
| public abstract xrevrange( mixed $stream, mixed $end, mixed $start, mixed $options ): mixed | ||
| $stream | mixed | |
| $end | mixed | |
| $start | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Trims the stream to a given number of items, evicting older items (items with lower IDs) if needed https://redis.io/commands/xtrim
| public abstract xtrim( mixed $stream, mixed $strategy, mixed $options ): mixed | ||
| $stream | mixed | |
| $strategy | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Add one or more members to a sorted set, or update its score if it already exists. https://redis.io/commands/zadd
| public abstract zadd( mixed $key, mixed $options ): mixed | ||
| $key | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Get the number of members in a sorted set. https://redis.io/commands/zcard
| public abstract zcard( mixed $key ): mixed | ||
| $key | mixed | |
| return | mixed | |
|---|---|---|
Count the members in a sorted set with scores within the given values. https://redis.io/commands/zcount
| public abstract zcount( mixed $key, mixed $min, mixed $max ): mixed | ||
| $key | mixed | |
| $min | mixed | |
| $max | mixed | |
| return | mixed | |
|---|---|---|
Increment the score of a member in a sorted set. https://redis.io/commands/zincrby
| public abstract zincrby( mixed $key, mixed $increment, mixed $member ): mixed | ||
| $key | mixed | |
| $increment | mixed | |
| $member | mixed | |
| return | mixed | |
|---|---|---|
Intersect multiple sorted sets and store the resulting sorted set in a new key. https://redis.io/commands/zinterstore
| public abstract zinterstore( mixed $destination, mixed $numkeys, mixed $key, mixed $options ): mixed | ||
| $destination | mixed | |
| $numkeys | mixed | |
| $key | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Count the number of members in a sorted set between a given lexicographical range. https://redis.io/commands/zlexcount
| public abstract zlexcount( mixed $key, mixed $min, mixed $max ): mixed | ||
| $key | mixed | |
| $min | mixed | |
| $max | mixed | |
| return | mixed | |
|---|---|---|
Return a range of members in a sorted set, by index. https://redis.io/commands/zrange
| public abstract zrange( mixed $key, mixed $start, mixed $stop, mixed $WITHSCORES ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $stop | mixed | |
| $WITHSCORES | mixed | |
| return | mixed | |
|---|---|---|
Return a range of members in a sorted set, by lexicographical range. https://redis.io/commands/zrangebylex
| public abstract zrangebylex( mixed $key, mixed $min, mixed $max, mixed $LIMIT, mixed $offset, mixed $count ): mixed | ||
| $key | mixed | |
| $min | mixed | |
| $max | mixed | |
| $LIMIT | mixed | |
| $offset | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Return a range of members in a sorted set, by score. https://redis.io/commands/zrangebyscore
| public abstract zrangebyscore( mixed $key, mixed $min, mixed $max, mixed $options ): mixed | ||
| $key | mixed | |
| $min | mixed | |
| $max | mixed | |
| $options | mixed | |
| return | mixed | |
|---|---|---|
Determine the index of a member in a sorted set. https://redis.io/commands/zrank
| public abstract zrank( mixed $key, mixed $member ): mixed | ||
| $key | mixed | |
| $member | mixed | |
| return | mixed | |
|---|---|---|
Remove one or more members from a sorted set. https://redis.io/commands/zrem
| public abstract zrem( mixed $key, mixed $members ): mixed | ||
| $key | mixed | |
| $members | mixed | |
| return | mixed | |
|---|---|---|
Remove all members in a sorted set between the given lexicographical range. https://redis.io/commands/zremrangebylex
| public abstract zremrangebylex( mixed $key, mixed $min, mixed $max ): mixed | ||
| $key | mixed | |
| $min | mixed | |
| $max | mixed | |
| return | mixed | |
|---|---|---|
Remove all members in a sorted set within the given indexes. https://redis.io/commands/zremrangebyrank
| public abstract zremrangebyrank( mixed $key, mixed $start, mixed $stop ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $stop | mixed | |
| return | mixed | |
|---|---|---|
Remove all members in a sorted set within the given scores. https://redis.io/commands/zremrangebyscore
| public abstract zremrangebyscore( mixed $key, mixed $min, mixed $max ): mixed | ||
| $key | mixed | |
| $min | mixed | |
| $max | mixed | |
| return | mixed | |
|---|---|---|
Return a range of members in a sorted set, by index, with scores ordered from high to low. https://redis.io/commands/zrevrange
| public abstract zrevrange( mixed $key, mixed $start, mixed $stop, mixed $WITHSCORES ): mixed | ||
| $key | mixed | |
| $start | mixed | |
| $stop | mixed | |
| $WITHSCORES | mixed | |
| return | mixed | |
|---|---|---|
Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.. https://redis.io/commands/zrevrangebylex
| public abstract zrevrangebylex( mixed $key, mixed $max, mixed $min, mixed $LIMIT, mixed $offset, mixed $count ): mixed | ||
| $key | mixed | |
| $max | mixed | |
| $min | mixed | |
| $LIMIT | mixed | |
| $offset | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Return a range of members in a sorted set, by score, with scores ordered from high to low. https://redis.io/commands/zrevrangebyscore
| public abstract zrevrangebyscore( mixed $key, mixed $max, mixed $min, mixed $WITHSCORES, mixed $LIMIT, mixed $offset, mixed $count ): mixed | ||
| $key | mixed | |
| $max | mixed | |
| $min | mixed | |
| $WITHSCORES | mixed | |
| $LIMIT | mixed | |
| $offset | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Determine the index of a member in a sorted set, with scores ordered from high to low. https://redis.io/commands/zrevrank
| public abstract zrevrank( mixed $key, mixed $member ): mixed | ||
| $key | mixed | |
| $member | mixed | |
| return | mixed | |
|---|---|---|
Incrementally iterate sorted sets elements and associated scores. https://redis.io/commands/zscan
| public abstract zscan( mixed $key, mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count ): mixed | ||
| $key | mixed | |
| $cursor | mixed | |
| $MATCH | mixed | |
| $pattern | mixed | |
| $COUNT | mixed | |
| $count | mixed | |
| return | mixed | |
|---|---|---|
Get the score associated with the given member in a sorted set. https://redis.io/commands/zscore
| public abstract zscore( mixed $key, mixed $member ): mixed | ||
| $key | mixed | |
| $member | mixed | |
| return | mixed | |
|---|---|---|