public interface Command
Modifier and Type | Field and Description |
---|---|
static Command |
ACL
A container for Access List Control commands.
|
static Command |
APPEND
Append a value to a key.
|
static Command |
ASKING
Sent by cluster clients after an -ASK redirect.
|
static Command |
AUTH
Authenticate to the server.
|
static Command |
BF_ADD |
static Command |
BF_CARD |
static Command |
BF_DEBUG |
static Command |
BF_EXISTS |
static Command |
BF_INFO |
static Command |
BF_INSERT |
static Command |
BF_LOADCHUNK |
static Command |
BF_MADD |
static Command |
BF_MEXISTS |
static Command |
BF_RESERVE |
static Command |
BF_SCANDUMP |
static Command |
BGREWRITEAOF
Asynchronously rewrite the append-only file.
|
static Command |
BGSAVE
Asynchronously save the dataset to disk.
|
static Command |
BITCOUNT
Count set bits in a string.
|
static Command |
BITFIELD
Perform arbitrary bitfield integer operations on strings.
|
static Command |
BITFIELD_RO
Perform arbitrary bitfield integer operations on strings.
|
static Command |
BITOP
Perform bitwise operations between strings.
|
static Command |
BITPOS
Find first bit set or clear in a string.
|
static Command |
BLMOVE
Pop an element from a list, push it to another list and return it; or block until one is available.
|
static Command |
BLMPOP
Pop elements from a list, or block until one is available.
|
static Command |
BLPOP
Remove and get the first element in a list, or block until one is available.
|
static Command |
BRPOP
Remove and get the last element in a list, or block until one is available.
|
static Command |
BRPOPLPUSH
Deprecated.
since: 6.2.0, replaced by:
BLMOVE with the RIGHT and LEFT arguments |
static Command |
BZMPOP
Remove and return members with scores in a sorted set or block until one is available.
|
static Command |
BZPOPMAX
Remove and return the member with the highest score from one or more sorted sets, or block until one is available.
|
static Command |
BZPOPMIN
Remove and return the member with the lowest score from one or more sorted sets, or block until one is available.
|
static Command |
CF_ADD |
static Command |
CF_ADDNX |
static Command |
CF_COMPACT |
static Command |
CF_COUNT |
static Command |
CF_DEBUG |
static Command |
CF_DEL |
static Command |
CF_EXISTS |
static Command |
CF_INFO |
static Command |
CF_INSERT |
static Command |
CF_INSERTNX |
static Command |
CF_LOADCHUNK |
static Command |
CF_MEXISTS |
static Command |
CF_RESERVE |
static Command |
CF_SCANDUMP |
static Command |
CLIENT
A container for client connection commands.
|
static Command |
CLUSTER
A container for cluster commands.
|
static Command |
CMS_INCRBY |
static Command |
CMS_INFO |
static Command |
CMS_INITBYDIM |
static Command |
CMS_INITBYPROB |
static Command |
CMS_MERGE |
static Command |
CMS_QUERY |
static Command |
COMMAND
Get array of Redis command details.
|
static Command |
CONFIG
A container for server configuration commands.
|
static Command |
COPY
Copy a key.
|
static Command |
DBSIZE
Return the number of keys in the selected database.
|
static Command |
DEBUG
A container for debugging commands.
|
static Command |
DECR
Decrement the integer value of a key by one.
|
static Command |
DECRBY
Decrement the integer value of a key by the given number.
|
static Command |
DEL
Delete a key.
|
static Command |
DISCARD
Discard all commands issued after MULTI.
|
static Command |
DUMP
Return a serialized version of the value stored at the specified key.
|
static Command |
ECHO
Echo the given string.
|
static Command |
EVAL
Execute a Lua script server side.
|
static Command |
EVAL_RO
Execute a read-only Lua script server side.
|
static Command |
EVALSHA
Execute a Lua script server side.
|
static Command |
EVALSHA_RO
Execute a read-only Lua script server side.
|
static Command |
EXEC
Execute all commands issued after MULTI.
|
static Command |
EXISTS
Determine if a key exists.
|
static Command |
EXPIRE
Set a key's time to live in seconds.
|
static Command |
EXPIREAT
Set the expiration for a key as a UNIX timestamp.
|
static Command |
EXPIRETIME
Get the expiration Unix timestamp for a key.
|
static Command |
FAILOVER
Start a coordinated failover between this server and one of its replicas.
|
static Command |
FCALL
Invoke a function.
|
static Command |
FCALL_RO
Invoke a read-only function.
|
static Command |
FLUSHALL
Remove all keys from all databases.
|
static Command |
FLUSHDB
Remove all keys from the current database.
|
static Command |
FT__ALIASADDIFNX |
static Command |
FT__ALIASDELIFX |
static Command |
FT__ALTERIFNX |
static Command |
FT__CREATEIFNX |
static Command |
FT__DROPIFX |
static Command |
FT__DROPINDEXIFX |
static Command |
FT__LIST |
static Command |
FT_ADD |
static Command |
FT_AGGREGATE |
static Command |
FT_ALIASADD |
static Command |
FT_ALIASDEL |
static Command |
FT_ALIASUPDATE |
static Command |
FT_ALTER |
static Command |
FT_CONFIG |
static Command |
FT_CREATE |
static Command |
FT_CURSOR |
static Command |
FT_DEBUG |
static Command |
FT_DEL |
static Command |
FT_DICTADD |
static Command |
FT_DICTDEL |
static Command |
FT_DICTDUMP |
static Command |
FT_DROP |
static Command |
FT_DROPINDEX |
static Command |
FT_EXPLAIN |
static Command |
FT_EXPLAINCLI |
static Command |
FT_GET |
static Command |
FT_INFO |
static Command |
FT_MGET |
static Command |
FT_PROFILE |
static Command |
FT_SAFEADD |
static Command |
FT_SEARCH |
static Command |
FT_SPELLCHECK |
static Command |
FT_SUGADD |
static Command |
FT_SUGDEL |
static Command |
FT_SUGGET |
static Command |
FT_SUGLEN |
static Command |
FT_SYNADD |
static Command |
FT_SYNDUMP |
static Command |
FT_SYNUPDATE |
static Command |
FT_TAGVALS |
static Command |
FUNCTION
A container for function commands.
|
static Command |
GEOADD
Add one or more geospatial items in the geospatial index represented using a sorted set.
|
static Command |
GEODIST
Returns the distance between two members of a geospatial index.
|
static Command |
GEOHASH
Returns members of a geospatial index as standard geohash strings.
|
static Command |
GEOPOS
Returns longitude and latitude of members of a geospatial index.
|
static Command |
GEORADIUS
Deprecated.
since: 6.2.0, replaced by:
GEOSEARCH and GEOSEARCHSTORE with the BYRADIUS argument |
static Command |
GEORADIUS_RO
Deprecated.
since: 6.2.0, replaced by:
GEOSEARCH with the BYRADIUS argument |
static Command |
GEORADIUSBYMEMBER
Deprecated.
since: 6.2.0, replaced by:
GEOSEARCH and GEOSEARCHSTORE with the BYRADIUS and FROMMEMBER arguments |
static Command |
GEORADIUSBYMEMBER_RO
Deprecated.
since: 6.2.0, replaced by:
GEOSEARCH with the BYRADIUS and FROMMEMBER arguments |
static Command |
GEOSEARCH
Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle.
|
static Command |
GEOSEARCHSTORE
Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key.
|
static Command |
GET
Get the value of a key.
|
static Command |
GETBIT
Returns the bit value at offset in the string value stored at key.
|
static Command |
GETDEL
Get the value of a key and delete the key.
|
static Command |
GETEX
Get the value of a key and optionally set its expiration.
|
static Command |
GETRANGE
Get a substring of the string stored at a key.
|
static Command |
GETSET
Deprecated.
since: 6.2.0, replaced by:
SET with the !GET argument |
static Command |
GRAPH_BULK |
static Command |
GRAPH_CONFIG |
static Command |
GRAPH_DEBUG |
static Command |
GRAPH_DELETE |
static Command |
GRAPH_EXPLAIN |
static Command |
GRAPH_LIST |
static Command |
GRAPH_PROFILE |
static Command |
GRAPH_QUERY |
static Command |
GRAPH_RO_QUERY |
static Command |
GRAPH_SLOWLOG |
static Command |
HDEL
Delete one or more hash fields.
|
static Command |
HELLO
Handshake with Redis.
|
static Command |
HEXISTS
Determine if a hash field exists.
|
static Command |
HGET
Get the value of a hash field.
|
static Command |
HGETALL
Get all the fields and values in a hash.
|
static Command |
HINCRBY
Increment the integer value of a hash field by the given number.
|
static Command |
HINCRBYFLOAT
Increment the float value of a hash field by the given amount.
|
static Command |
HKEYS
Get all the fields in a hash.
|
static Command |
HLEN
Get the number of fields in a hash.
|
static Command |
HMGET
Get the values of all the given hash fields.
|
static Command |
HMSET
Deprecated.
since: 4.0.0, replaced by:
HSET with multiple field-value pairs |
static Command |
HRANDFIELD
Get one or multiple random fields from a hash.
|
static Command |
HSCAN
Incrementally iterate hash fields and associated values.
|
static Command |
HSET
Set the string value of a hash field.
|
static Command |
HSETNX
Set the value of a hash field, only if the field does not exist.
|
static Command |
HSTRLEN
Get the length of the value of a hash field.
|
static Command |
HVALS
Get all the values in a hash.
|
static Command |
INCR
Increment the integer value of a key by one.
|
static Command |
INCRBY
Increment the integer value of a key by the given amount.
|
static Command |
INCRBYFLOAT
Increment the float value of a key by the given amount.
|
static Command |
INFO
Get information and statistics about the server.
|
static Command |
JSON_ARRAPPEND |
static Command |
JSON_ARRINDEX |
static Command |
JSON_ARRINSERT |
static Command |
JSON_ARRLEN |
static Command |
JSON_ARRPOP |
static Command |
JSON_ARRTRIM |
static Command |
JSON_CLEAR |
static Command |
JSON_DEBUG |
static Command |
JSON_DEL |
static Command |
JSON_FORGET |
static Command |
JSON_GET |
static Command |
JSON_MGET |
static Command |
JSON_NUMINCRBY |
static Command |
JSON_NUMMULTBY |
static Command |
JSON_NUMPOWBY |
static Command |
JSON_OBJKEYS |
static Command |
JSON_OBJLEN |
static Command |
JSON_RESP |
static Command |
JSON_SET |
static Command |
JSON_STRAPPEND |
static Command |
JSON_STRLEN |
static Command |
JSON_TOGGLE |
static Command |
JSON_TYPE |
static Command |
KEYS
Find all keys matching the given pattern.
|
static Command |
LASTSAVE
Get the UNIX time stamp of the last successful save to disk.
|
static Command |
LATENCY
A container for latency diagnostics commands.
|
static Command |
LCS
Find longest common substring.
|
static Command |
LINDEX
Get an element from a list by its index.
|
static Command |
LINSERT
Insert an element before or after another element in a list.
|
static Command |
LLEN
Get the length of a list.
|
static Command |
LMOVE
Pop an element from a list, push it to another list and return it.
|
static Command |
LMPOP
Pop elements from a list.
|
static Command |
LOLWUT
Display some computer art and the Redis version.
|
static Command |
LPOP
Remove and get the first elements in a list.
|
static Command |
LPOS
Return the index of matching elements on a list.
|
static Command |
LPUSH
Prepend one or multiple elements to a list.
|
static Command |
LPUSHX
Prepend an element to a list, only if the list exists.
|
static Command |
LRANGE
Get a range of elements from a list.
|
static Command |
LREM
Remove elements from a list.
|
static Command |
LSET
Set the value of an element in a list by its index.
|
static Command |
LTRIM
Trim a list to the specified range.
|
static Command |
MEMORY
A container for memory diagnostics commands.
|
static Command |
MGET
Get the values of all the given keys.
|
static Command |
MIGRATE
Atomically transfer a key from a Redis instance to another one.
|
static Command |
MODULE
A container for module commands.
|
static Command |
MONITOR
Listen for all requests received by the server in real time.
|
static Command |
MOVE
Move a key to another database.
|
static Command |
MSET
Set multiple keys to multiple values.
|
static Command |
MSETNX
Set multiple keys to multiple values, only if none of the keys exist.
|
static Command |
MULTI
Mark the start of a transaction block.
|
static Command |
OBJECT
A container for object introspection commands.
|
static Command |
PERSIST
Remove the expiration from a key.
|
static Command |
PEXPIRE
Set a key's time to live in milliseconds.
|
static Command |
PEXPIREAT
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
static Command |
PEXPIRETIME
Get the expiration Unix timestamp for a key in milliseconds.
|
static Command |
PFADD
Adds the specified elements to the specified HyperLogLog.
|
static Command |
PFCOUNT
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
static Command |
PFDEBUG
Internal commands for debugging HyperLogLog values.
|
static Command |
PFMERGE
Merge N different HyperLogLogs into a single one.
|
static Command |
PFSELFTEST
An internal command for testing HyperLogLog values.
|
static Command |
PING
Ping the server.
|
static Command |
PSETEX
Set the value and expiration in milliseconds of a key.
|
static Command |
PSUBSCRIBE
Listen for messages published to channels matching the given patterns.
|
static Command |
PSYNC
Internal command used for replication.
|
static Command |
PTTL
Get the time to live for a key in milliseconds.
|
static Command |
PUBLISH
Post a message to a channel.
|
static Command |
PUBSUB
A container for Pub/Sub commands.
|
static Command |
PUNSUBSCRIBE
Stop listening for messages posted to channels matching the given patterns.
|
static Command |
QUIT
Close the connection.
|
static Command |
RANDOMKEY
Return a random key from the keyspace.
|
static Command |
READONLY
Enables read queries for a connection to a cluster replica node.
|
static Command |
READWRITE
Disables read queries for a connection to a cluster replica node.
|
static Command |
RENAME
Rename a key.
|
static Command |
RENAMENX
Rename a key, only if the new key does not exist.
|
static Command |
REPLCONF
An internal command for configuring the replication stream.
|
static Command |
REPLICAOF
Make the server a replica of another instance, or promote it as master.
|
static Command |
RESET
Reset the connection.
|
static Command |
RESTORE
Create a key using the provided serialized value, previously obtained using DUMP.
|
static Command |
RESTORE_ASKING
An internal command for migrating keys in a cluster.
|
static Command |
ROLE
Return the role of the instance in the context of replication.
|
static Command |
RPOP
Remove and get the last elements in a list.
|
static Command |
RPOPLPUSH
Deprecated.
since: 6.2.0, replaced by:
LMOVE with the RIGHT and LEFT arguments |
static Command |
RPUSH
Append one or multiple elements to a list.
|
static Command |
RPUSHX
Append an element to a list, only if the list exists.
|
static Command |
SADD
Add one or more members to a set.
|
static Command |
SAVE
Synchronously save the dataset to disk.
|
static Command |
SCAN
Incrementally iterate the keys space.
|
static Command |
SCARD
Get the number of members in a set.
|
static Command |
SCRIPT
A container for Lua scripts management commands.
|
static Command |
SDIFF
Subtract multiple sets.
|
static Command |
SDIFFSTORE
Subtract multiple sets and store the resulting set in a key.
|
static Command |
SELECT
Change the selected database for the current connection.
|
static Command |
SENTINEL |
static Command |
SET
Set the string value of a key.
|
static Command |
SETBIT
Sets or clears the bit at offset in the string value stored at key.
|
static Command |
SETEX
Set the value and expiration of a key.
|
static Command |
SETNX
Set the value of a key, only if the key does not exist.
|
static Command |
SETRANGE
Overwrite part of a string at key starting at the specified offset.
|
static Command |
SHUTDOWN
Synchronously save the dataset to disk and then shut down the server.
|
static Command |
SINTER
Intersect multiple sets.
|
static Command |
SINTERCARD
Intersect multiple sets and return the cardinality of the result.
|
static Command |
SINTERSTORE
Intersect multiple sets and store the resulting set in a key.
|
static Command |
SISMEMBER
Determine if a given value is a member of a set.
|
static Command |
SLAVEOF
Deprecated.
since: 5.0.0, replaced by:
REPLICAOF |
static Command |
SLOWLOG
A container for slow log commands.
|
static Command |
SMEMBERS
Get all the members in a set.
|
static Command |
SMISMEMBER
Returns the membership associated with the given elements for a set.
|
static Command |
SMOVE
Move a member from one set to another.
|
static Command |
SORT
Sort the elements in a list, set or sorted set.
|
static Command |
SORT_RO
Sort the elements in a list, set or sorted set.
|
static Command |
SPOP
Remove and return one or multiple random members from a set.
|
static Command |
SPUBLISH
Post a message to a shard channel.
|
static Command |
SRANDMEMBER
Get one or multiple random members from a set.
|
static Command |
SREM
Remove one or more members from a set.
|
static Command |
SSCAN
Incrementally iterate Set elements.
|
static Command |
SSUBSCRIBE
Listen for messages published to the given shard channels.
|
static Command |
STRLEN
Get the length of the value stored in a key.
|
static Command |
SUBSCRIBE
Listen for messages published to the given channels.
|
static Command |
SUBSTR
Deprecated.
since: 2.0.0, replaced by:
GETRANGE |
static Command |
SUNION
Add multiple sets.
|
static Command |
SUNIONSTORE
Add multiple sets and store the resulting set in a key.
|
static Command |
SUNSUBSCRIBE
Stop listening for messages posted to the given shard channels.
|
static Command |
SWAPDB
Swaps two Redis databases.
|
static Command |
SYNC
Internal command used for replication.
|
static Command |
TDIGEST_ADD |
static Command |
TDIGEST_BYRANK |
static Command |
TDIGEST_BYREVRANK |
static Command |
TDIGEST_CDF |
static Command |
TDIGEST_CREATE |
static Command |
TDIGEST_INFO |
static Command |
TDIGEST_MAX |
static Command |
TDIGEST_MERGE |
static Command |
TDIGEST_MIN |
static Command |
TDIGEST_QUANTILE |
static Command |
TDIGEST_RANK |
static Command |
TDIGEST_RESET |
static Command |
TDIGEST_REVRANK |
static Command |
TDIGEST_TRIMMED_MEAN |
static Command |
TIME
Return the current server time.
|
static Command |
TIMESERIES_CLUSTERSET |
static Command |
TIMESERIES_CLUSTERSETFROMSHARD |
static Command |
TIMESERIES_HELLO |
static Command |
TIMESERIES_INFOCLUSTER |
static Command |
TIMESERIES_INNERCOMMUNICATION |
static Command |
TIMESERIES_NETWORKTEST |
static Command |
TIMESERIES_REFRESHCLUSTER |
static Command |
TOPK_ADD |
static Command |
TOPK_COUNT |
static Command |
TOPK_INCRBY |
static Command |
TOPK_INFO |
static Command |
TOPK_LIST |
static Command |
TOPK_QUERY |
static Command |
TOPK_RESERVE |
static Command |
TOUCH
Alters the last access time of a key(s).
|
static Command |
TS_ADD |
static Command |
TS_ALTER |
static Command |
TS_CREATE |
static Command |
TS_CREATERULE |
static Command |
TS_DECRBY |
static Command |
TS_DEL |
static Command |
TS_DELETERULE |
static Command |
TS_GET |
static Command |
TS_INCRBY |
static Command |
TS_INFO |
static Command |
TS_MADD |
static Command |
TS_MGET |
static Command |
TS_MRANGE |
static Command |
TS_MREVRANGE |
static Command |
TS_QUERYINDEX |
static Command |
TS_RANGE |
static Command |
TS_REVRANGE |
static Command |
TTL
Get the time to live for a key in seconds.
|
static Command |
TYPE
Determine the type stored at key.
|
static Command |
UNLINK
Delete a key asynchronously in another thread.
|
static Command |
UNSUBSCRIBE
Stop listening for messages posted to the given channels.
|
static Command |
UNWATCH
Forget about all watched keys.
|
static Command |
WAIT
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
|
static Command |
WATCH
Watch the given keys to determine execution of the MULTI/EXEC block.
|
static Command |
XACK
Marks a pending message as correctly processed, effectively removing it from the pending entries list of the consumer group.
|
static Command |
XADD
Appends a new entry to a stream.
|
static Command |
XAUTOCLAIM
Changes (or acquires) ownership of messages in a consumer group, as if the messages were delivered to the specified consumer.
|
static Command |
XCLAIM
Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.
|
static Command |
XDEL
Removes the specified entries from the stream.
|
static Command |
XGROUP
A container for consumer groups commands.
|
static Command |
XINFO
A container for stream introspection commands.
|
static Command |
XLEN
Return the number of entries in a stream.
|
static Command |
XPENDING
Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.
|
static Command |
XRANGE
Return a range of elements in a stream, with IDs matching the specified IDs interval.
|
static Command |
XREAD
Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream.
|
static Command |
XREADGROUP
Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer.
|
static Command |
XREVRANGE
Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE.
|
static Command |
XSETID
An internal command for replicating stream values.
|
static Command |
XTRIM
Trims the stream to (approximately if '~' is passed) a certain size.
|
static Command |
ZADD
Add one or more members to a sorted set, or update its score if it already exists.
|
static Command |
ZCARD
Get the number of members in a sorted set.
|
static Command |
ZCOUNT
Count the members in a sorted set with scores within the given values.
|
static Command |
ZDIFF
Subtract multiple sorted sets.
|
static Command |
ZDIFFSTORE
Subtract multiple sorted sets and store the resulting sorted set in a new key.
|
static Command |
ZINCRBY
Increment the score of a member in a sorted set.
|
static Command |
ZINTER
Intersect multiple sorted sets.
|
static Command |
ZINTERCARD
Intersect multiple sorted sets and return the cardinality of the result.
|
static Command |
ZINTERSTORE
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
static Command |
ZLEXCOUNT
Count the number of members in a sorted set between a given lexicographical range.
|
static Command |
ZMPOP
Remove and return members with scores in a sorted set.
|
static Command |
ZMSCORE
Get the score associated with the given members in a sorted set.
|
static Command |
ZPOPMAX
Remove and return members with the highest scores in a sorted set.
|
static Command |
ZPOPMIN
Remove and return members with the lowest scores in a sorted set.
|
static Command |
ZRANDMEMBER
Get one or multiple random elements from a sorted set.
|
static Command |
ZRANGE
Return a range of members in a sorted set.
|
static Command |
ZRANGEBYLEX
Deprecated.
since: 6.2.0, replaced by:
ZRANGE with the BYLEX argument |
static Command |
ZRANGEBYSCORE
Deprecated.
since: 6.2.0, replaced by:
ZRANGE with the BYSCORE argument |
static Command |
ZRANGESTORE
Store a range of members from sorted set into another key.
|
static Command |
ZRANK
Determine the index of a member in a sorted set.
|
static Command |
ZREM
Remove one or more members from a sorted set.
|
static Command |
ZREMRANGEBYLEX
Remove all members in a sorted set between the given lexicographical range.
|
static Command |
ZREMRANGEBYRANK
Remove all members in a sorted set within the given indexes.
|
static Command |
ZREMRANGEBYSCORE
Remove all members in a sorted set within the given scores.
|
static Command |
ZREVRANGE
Deprecated.
since: 6.2.0, replaced by:
ZRANGE with the REV argument |
static Command |
ZREVRANGEBYLEX
Deprecated.
since: 6.2.0, replaced by:
ZRANGE with the REV and BYLEX arguments |
static Command |
ZREVRANGEBYSCORE
Deprecated.
since: 6.2.0, replaced by:
ZRANGE with the REV and BYSCORE arguments |
static Command |
ZREVRANK
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
static Command |
ZSCAN
Incrementally iterate sorted sets elements and associated scores.
|
static Command |
ZSCORE
Get the score associated with the given member in a sorted set.
|
static Command |
ZUNION
Add multiple sorted sets.
|
static Command |
ZUNIONSTORE
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Modifier and Type | Method and Description |
---|---|
static Command |
create(String command)
Generic command generator for extensions.
|
static final Command ACL
static final Command APPEND
static final Command ASKING
static final Command AUTH
static final Command BF_ADD
static final Command BF_CARD
static final Command BF_DEBUG
static final Command BF_EXISTS
static final Command BF_INFO
static final Command BF_INSERT
static final Command BF_LOADCHUNK
static final Command BF_MADD
static final Command BF_MEXISTS
static final Command BF_RESERVE
static final Command BF_SCANDUMP
static final Command BGREWRITEAOF
static final Command BGSAVE
static final Command BITCOUNT
static final Command BITFIELD
static final Command BITFIELD_RO
static final Command BITOP
static final Command BITPOS
static final Command BLMOVE
static final Command BLMPOP
static final Command BLPOP
static final Command BRPOP
@Deprecated static final Command BRPOPLPUSH
BLMOVE
with the RIGHT
and LEFT
argumentsstatic final Command BZMPOP
static final Command BZPOPMAX
static final Command BZPOPMIN
static final Command CF_ADD
static final Command CF_ADDNX
static final Command CF_COMPACT
static final Command CF_COUNT
static final Command CF_DEBUG
static final Command CF_DEL
static final Command CF_EXISTS
static final Command CF_INFO
static final Command CF_INSERT
static final Command CF_INSERTNX
static final Command CF_LOADCHUNK
static final Command CF_MEXISTS
static final Command CF_RESERVE
static final Command CF_SCANDUMP
static final Command CLIENT
static final Command CLUSTER
static final Command CMS_INCRBY
static final Command CMS_INFO
static final Command CMS_INITBYDIM
static final Command CMS_INITBYPROB
static final Command CMS_MERGE
static final Command CMS_QUERY
static final Command COMMAND
static final Command CONFIG
static final Command COPY
static final Command DBSIZE
static final Command DEBUG
static final Command DECR
static final Command DECRBY
static final Command DEL
static final Command DISCARD
static final Command DUMP
static final Command ECHO
static final Command EVAL
static final Command EVALSHA
static final Command EVALSHA_RO
static final Command EVAL_RO
static final Command EXEC
static final Command EXISTS
static final Command EXPIRE
static final Command EXPIREAT
static final Command EXPIRETIME
static final Command FAILOVER
static final Command FCALL
static final Command FCALL_RO
static final Command FLUSHALL
static final Command FLUSHDB
static final Command FT_ADD
static final Command FT_AGGREGATE
static final Command FT_ALIASADD
static final Command FT_ALIASDEL
static final Command FT_ALIASUPDATE
static final Command FT_ALTER
static final Command FT_CONFIG
static final Command FT_CREATE
static final Command FT_CURSOR
static final Command FT_DEBUG
static final Command FT_DEL
static final Command FT_DICTADD
static final Command FT_DICTDEL
static final Command FT_DICTDUMP
static final Command FT_DROP
static final Command FT_DROPINDEX
static final Command FT_EXPLAIN
static final Command FT_EXPLAINCLI
static final Command FT_GET
static final Command FT_INFO
static final Command FT_MGET
static final Command FT_PROFILE
static final Command FT_SAFEADD
static final Command FT_SEARCH
static final Command FT_SPELLCHECK
static final Command FT_SUGADD
static final Command FT_SUGDEL
static final Command FT_SUGGET
static final Command FT_SUGLEN
static final Command FT_SYNADD
static final Command FT_SYNDUMP
static final Command FT_SYNUPDATE
static final Command FT_TAGVALS
static final Command FT__ALIASADDIFNX
static final Command FT__ALIASDELIFX
static final Command FT__ALTERIFNX
static final Command FT__CREATEIFNX
static final Command FT__DROPIFX
static final Command FT__DROPINDEXIFX
static final Command FT__LIST
static final Command FUNCTION
static final Command GEOADD
static final Command GEODIST
static final Command GEOHASH
static final Command GEOPOS
@Deprecated static final Command GEORADIUS
GEOSEARCH
and GEOSEARCHSTORE
with the BYRADIUS
argument@Deprecated static final Command GEORADIUSBYMEMBER
GEOSEARCH
and GEOSEARCHSTORE
with the BYRADIUS
and FROMMEMBER
arguments@Deprecated static final Command GEORADIUSBYMEMBER_RO
GEOSEARCH
with the BYRADIUS
and FROMMEMBER
arguments@Deprecated static final Command GEORADIUS_RO
GEOSEARCH
with the BYRADIUS
argumentstatic final Command GEOSEARCH
static final Command GEOSEARCHSTORE
static final Command GET
static final Command GETBIT
static final Command GETDEL
static final Command GETEX
static final Command GETRANGE
@Deprecated static final Command GETSET
SET
with the !GET
argumentstatic final Command GRAPH_BULK
static final Command GRAPH_CONFIG
static final Command GRAPH_DEBUG
static final Command GRAPH_DELETE
static final Command GRAPH_EXPLAIN
static final Command GRAPH_LIST
static final Command GRAPH_PROFILE
static final Command GRAPH_QUERY
static final Command GRAPH_RO_QUERY
static final Command GRAPH_SLOWLOG
static final Command HDEL
static final Command HELLO
static final Command HEXISTS
static final Command HGET
static final Command HGETALL
static final Command HINCRBY
static final Command HINCRBYFLOAT
static final Command HKEYS
static final Command HLEN
static final Command HMGET
@Deprecated static final Command HMSET
HSET
with multiple field-value pairsstatic final Command HRANDFIELD
static final Command HSCAN
static final Command HSET
static final Command HSETNX
static final Command HSTRLEN
static final Command HVALS
static final Command INCR
static final Command INCRBY
static final Command INCRBYFLOAT
static final Command INFO
static final Command JSON_ARRAPPEND
static final Command JSON_ARRINDEX
static final Command JSON_ARRINSERT
static final Command JSON_ARRLEN
static final Command JSON_ARRPOP
static final Command JSON_ARRTRIM
static final Command JSON_CLEAR
static final Command JSON_DEBUG
static final Command JSON_DEL
static final Command JSON_FORGET
static final Command JSON_GET
static final Command JSON_MGET
static final Command JSON_NUMINCRBY
static final Command JSON_NUMMULTBY
static final Command JSON_NUMPOWBY
static final Command JSON_OBJKEYS
static final Command JSON_OBJLEN
static final Command JSON_RESP
static final Command JSON_SET
static final Command JSON_STRAPPEND
static final Command JSON_STRLEN
static final Command JSON_TOGGLE
static final Command JSON_TYPE
static final Command KEYS
static final Command LASTSAVE
static final Command LATENCY
static final Command LCS
static final Command LINDEX
static final Command LINSERT
static final Command LLEN
static final Command LMOVE
static final Command LMPOP
static final Command LOLWUT
static final Command LPOP
static final Command LPOS
static final Command LPUSH
static final Command LPUSHX
static final Command LRANGE
static final Command LREM
static final Command LSET
static final Command LTRIM
static final Command MEMORY
static final Command MGET
static final Command MIGRATE
static final Command MODULE
static final Command MONITOR
static final Command MOVE
static final Command MSET
static final Command MSETNX
static final Command MULTI
static final Command OBJECT
static final Command PERSIST
static final Command PEXPIRE
static final Command PEXPIREAT
static final Command PEXPIRETIME
static final Command PFADD
static final Command PFCOUNT
static final Command PFDEBUG
static final Command PFMERGE
static final Command PFSELFTEST
static final Command PING
static final Command PSETEX
static final Command PSUBSCRIBE
static final Command PSYNC
static final Command PTTL
static final Command PUBLISH
static final Command PUBSUB
static final Command PUNSUBSCRIBE
static final Command QUIT
static final Command RANDOMKEY
static final Command READONLY
static final Command READWRITE
static final Command RENAME
static final Command RENAMENX
static final Command REPLCONF
static final Command REPLICAOF
static final Command RESET
static final Command RESTORE
static final Command RESTORE_ASKING
static final Command ROLE
static final Command RPOP
@Deprecated static final Command RPOPLPUSH
LMOVE
with the RIGHT
and LEFT
argumentsstatic final Command RPUSH
static final Command RPUSHX
static final Command SADD
static final Command SAVE
static final Command SCAN
static final Command SCARD
static final Command SCRIPT
static final Command SDIFF
static final Command SDIFFSTORE
static final Command SELECT
static final Command SET
static final Command SETBIT
static final Command SETEX
static final Command SETNX
static final Command SETRANGE
static final Command SHUTDOWN
static final Command SINTER
static final Command SINTERCARD
static final Command SINTERSTORE
static final Command SISMEMBER
@Deprecated static final Command SLAVEOF
REPLICAOF
static final Command SLOWLOG
static final Command SMEMBERS
static final Command SMISMEMBER
static final Command SMOVE
static final Command SORT
static final Command SORT_RO
static final Command SPOP
static final Command SPUBLISH
static final Command SRANDMEMBER
static final Command SREM
static final Command SSCAN
static final Command SSUBSCRIBE
static final Command STRLEN
static final Command SUBSCRIBE
@Deprecated static final Command SUBSTR
GETRANGE
static final Command SUNION
static final Command SUNIONSTORE
static final Command SUNSUBSCRIBE
static final Command SWAPDB
static final Command SYNC
static final Command TDIGEST_ADD
static final Command TDIGEST_BYRANK
static final Command TDIGEST_BYREVRANK
static final Command TDIGEST_CDF
static final Command TDIGEST_CREATE
static final Command TDIGEST_INFO
static final Command TDIGEST_MAX
static final Command TDIGEST_MERGE
static final Command TDIGEST_MIN
static final Command TDIGEST_QUANTILE
static final Command TDIGEST_RANK
static final Command TDIGEST_RESET
static final Command TDIGEST_REVRANK
static final Command TDIGEST_TRIMMED_MEAN
static final Command TIME
static final Command TIMESERIES_CLUSTERSET
static final Command TIMESERIES_CLUSTERSETFROMSHARD
static final Command TIMESERIES_HELLO
static final Command TIMESERIES_INFOCLUSTER
static final Command TIMESERIES_INNERCOMMUNICATION
static final Command TIMESERIES_NETWORKTEST
static final Command TIMESERIES_REFRESHCLUSTER
static final Command TOPK_ADD
static final Command TOPK_COUNT
static final Command TOPK_INCRBY
static final Command TOPK_INFO
static final Command TOPK_LIST
static final Command TOPK_QUERY
static final Command TOPK_RESERVE
static final Command TOUCH
static final Command TS_ADD
static final Command TS_ALTER
static final Command TS_CREATE
static final Command TS_CREATERULE
static final Command TS_DECRBY
static final Command TS_DEL
static final Command TS_DELETERULE
static final Command TS_GET
static final Command TS_INCRBY
static final Command TS_INFO
static final Command TS_MADD
static final Command TS_MGET
static final Command TS_MRANGE
static final Command TS_MREVRANGE
static final Command TS_QUERYINDEX
static final Command TS_RANGE
static final Command TS_REVRANGE
static final Command TTL
static final Command TYPE
static final Command UNLINK
static final Command UNSUBSCRIBE
static final Command UNWATCH
static final Command WAIT
static final Command WATCH
static final Command XACK
static final Command XADD
static final Command XAUTOCLAIM
static final Command XCLAIM
static final Command XDEL
static final Command XGROUP
static final Command XINFO
static final Command XLEN
static final Command XPENDING
static final Command XRANGE
static final Command XREAD
static final Command XREADGROUP
static final Command XREVRANGE
static final Command XSETID
static final Command XTRIM
static final Command ZADD
static final Command ZCARD
static final Command ZCOUNT
static final Command ZDIFF
static final Command ZDIFFSTORE
static final Command ZINCRBY
static final Command ZINTER
static final Command ZINTERCARD
static final Command ZINTERSTORE
static final Command ZLEXCOUNT
static final Command ZMPOP
static final Command ZMSCORE
static final Command ZPOPMAX
static final Command ZPOPMIN
static final Command ZRANDMEMBER
static final Command ZRANGE
@Deprecated static final Command ZRANGEBYLEX
ZRANGE
with the BYLEX
argument@Deprecated static final Command ZRANGEBYSCORE
ZRANGE
with the BYSCORE
argumentstatic final Command ZRANGESTORE
static final Command ZRANK
static final Command ZREM
static final Command ZREMRANGEBYLEX
static final Command ZREMRANGEBYRANK
static final Command ZREMRANGEBYSCORE
@Deprecated static final Command ZREVRANGE
ZRANGE
with the REV
argument@Deprecated static final Command ZREVRANGEBYLEX
ZRANGE
with the REV
and BYLEX
arguments@Deprecated static final Command ZREVRANGEBYSCORE
ZRANGE
with the REV
and BYSCORE
argumentsstatic final Command ZREVRANK
static final Command ZSCAN
static final Command ZSCORE
static final Command ZUNION
static final Command ZUNIONSTORE
static final Command SENTINEL
static Command create(String command)
To avoid inconsistent behavior, when command
is one of the known commands
for which a static instance exists, the static instance is returned.
command
- command nameCopyright © 2024 Eclipse. All rights reserved.