分类
发现
标签
搜索
注册
登录
分类
发现
榜单
注册
登录
The full commands of Redis
文档评分:
4.0 (
0 个有效评分
)
文档语言:
英文
章节数量:
0
阅读人次:
1137
收藏数量:
14
内容来源:
1
整理分享:
马上阅读
加入收藏
下载电子书
马上阅读
收藏书籍
下载书籍
文档概述
The full list of commands implemented by Redis, along with thorough documentation for each of them.
书籍目录
书籍评论 (
0
)
APPEND key value
AUTH password
BGREWRITEAOF
BGSAVE
BITCOUNT key [start end]
BITFIELD key [GET type offset] [SET type offset value] [INCRBY type offset increment] [OVERFLOW WRAP|SAT|FAIL]
BITOP operation destkey key [key …]
BITPOS key bit [start] [end]
BLPOP key [key …] timeout
BRPOP key [key …] timeout
BRPOPLPUSH source destination timeout
BZPOPMIN key [key …] timeout
BZPOPMAX key [key …] timeout
CLIENT ID
CLIENT KILL [ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [ADDR ip:port] [SKIPME yes/no]
CLIENT LIST [TYPE normal|master|replica|pubsub]
CLIENT GETNAME
CLIENT PAUSE timeout
CLIENT REPLY ON|OFF|SKIP
CLIENT SETNAME connection-name
CLIENT UNBLOCK client-id [TIMEOUT|ERROR]
CLUSTER ADDSLOTS slot [slot …]
CLUSTER BUMPEPOCH
CLUSTER COUNT-FAILURE-REPORTS node-id
CLUSTER COUNTKEYSINSLOT slot
CLUSTER DELSLOTS slot [slot …]
CLUSTER FAILOVER [FORCE|TAKEOVER]
CLUSTER FLUSHSLOTS
CLUSTER FORGET node-id
CLUSTER GETKEYSINSLOT slot count
CLUSTER INFO
CLUSTER KEYSLOT key
CLUSTER MEET ip port
CLUSTER MYID
CLUSTER NODES
CLUSTER REPLICATE node-id
CLUSTER RESET [HARD|SOFT]
CLUSTER SAVECONFIG
CLUSTER SET-CONFIG-EPOCH config-epoch
CLUSTER SETSLOT slot IMPORTING|MIGRATING|STABLE|NODE [node-id]
CLUSTER SLAVES node-id
CLUSTER REPLICAS node-id
CLUSTER SLOTS
COMMAND
COMMAND COUNT
COMMAND GETKEYS
COMMAND INFO command-name [command-name …]
CONFIG GET parameter
CONFIG REWRITE
CONFIG SET parameter value
CONFIG RESETSTAT
DBSIZE
DEBUG OBJECT key
DEBUG SEGFAULT
DECR key
DECRBY key decrement
DEL key [key …]
DISCARD
DUMP key
ECHO message
EVAL script numkeys key [key …] arg [arg …]
EVALSHA sha1 numkeys key [key …] arg [arg …]
EXEC
EXISTS key [key …]
EXPIRE key seconds
EXPIREAT key timestamp
FLUSHALL [ASYNC]
FLUSHDB [ASYNC]
GEOADD key longitude latitude member [longitude latitude member …]
GEOHASH key member [member …]
GEOPOS key member [member …]
GEODIST key member1 member2 [m|km|ft|mi]
GEORADIUS key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count] [ASC|DESC] [STORE key] [STOREDIST key]
GEORADIUSBYMEMBER key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count] [ASC|DESC] [STORE key] [STOREDIST key]
GET key
GETBIT key offset
GETRANGE key start end
GETSET key value
HDEL key field [field …]
HEXISTS key field
HGET key field
HGETALL key
HINCRBY key field increment
HINCRBYFLOAT key field increment
HKEYS key
HLEN key
HMGET key field [field …]
HMSET key field value [field value …]
HSET key field value [field value …]
HSETNX key field value
HSTRLEN key field
HVALS key
INCR key
INCRBY key increment
INCRBYFLOAT key increment
INFO [section]
LOLWUT [VERSION version]
KEYS pattern
LASTSAVE
LINDEX key index
LINSERT key BEFORE|AFTER pivot element
LLEN key
LPOP key
LPUSH key element [element …]
LPUSHX key element [element …]
LRANGE key start stop
LREM key count element
LSET key index element
LTRIM key start stop
MEMORY DOCTOR
MEMORY HELP
MEMORY MALLOC-STATS
MEMORY PURGE
MEMORY STATS
MEMORY USAGE key [SAMPLES count]
MGET key [key …]
MIGRATE host port key|"" destination-db timeout [COPY] [REPLACE] [AUTH password] [KEYS key [key …]]
MODULE LIST
MODULE LOAD path [arg [arg …]]
MODULE UNLOAD name
MONITOR
MOVE key db
MSET key value [key value …]
MSETNX key value [key value …]
MULTI
OBJECT subcommand [arguments [arguments …]]
PERSIST key
PEXPIRE key milliseconds
PEXPIREAT key milliseconds-timestamp
PFADD key element [element …]
PFCOUNT key [key …]
PFMERGE destkey sourcekey [sourcekey …]
PING [message]
PSETEX key milliseconds value
PSUBSCRIBE pattern [pattern …]
PUBSUB subcommand [argument [argument …]]
PTTL key
PUBLISH channel message
PUNSUBSCRIBE [pattern [pattern …]]
QUIT
RANDOMKEY
READONLY
READWRITE
RENAME key newkey
RENAMENX key newkey
RESTORE key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME seconds] [FREQ frequency]
ROLE
RPOP key
RPOPLPUSH source destination
RPUSH key element [element …]
RPUSHX key element [element …]
SADD key member [member …]
SAVE
SCARD key
SCRIPT DEBUG YES|SYNC|NO
SCRIPT EXISTS sha1 [sha1 …]
SCRIPT FLUSH
SCRIPT KILL
SCRIPT LOAD script
SDIFF key [key …]
SDIFFSTORE destination key [key …]
SELECT index
SET key value [EX seconds|PX milliseconds] [NX|XX]
SETBIT key offset value
SETEX key seconds value
SETNX key value
SETRANGE key offset value
SHUTDOWN [NOSAVE|SAVE]
SINTER key [key …]
SINTERSTORE destination key [key …]
SISMEMBER key member
SLAVEOF host port
REPLICAOF host port
SLOWLOG subcommand [argument]
SMEMBERS key
SMOVE source destination member
SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern …]] [ASC|DESC] [ALPHA] [STORE destination]
SPOP key [count]
SRANDMEMBER key [count]
SREM key member [member …]
STRLEN key
SUBSCRIBE channel [channel …]
SUNION key [key …]
SUNIONSTORE destination key [key …]
SWAPDB index1 index2
SYNC
PSYNC replicationid offset
TIME
TOUCH key [key …]
TTL key
TYPE key
UNSUBSCRIBE [channel [channel …]]
UNLINK key [key …]
UNWATCH
WAIT numreplicas timeout
WATCH key [key …]
ZADD key [NX|XX] [CH] [INCR] score member [score member …]
ZCARD key
ZCOUNT key min max
ZINCRBY key increment member
ZINTERSTORE destination numkeys key [key …] [WEIGHTS weight [weight …]] [AGGREGATE SUM|MIN|MAX]
ZLEXCOUNT key min max
ZPOPMAX key [count]
ZPOPMIN key [count]
ZRANGE key start stop [WITHSCORES]
ZRANGEBYLEX key min max [LIMIT offset count]
ZREVRANGEBYLEX key max min [LIMIT offset count]
ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
ZRANK key member
ZREM key member [member …]
ZREMRANGEBYLEX key min max
ZREMRANGEBYRANK key start stop
ZREMRANGEBYSCORE key min max
ZREVRANGE key start stop [WITHSCORES]
ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
ZREVRANK key member
ZSCORE key member
SCAN cursor [MATCH pattern] [COUNT count] [TYPE type]
SSCAN key cursor [MATCH pattern] [COUNT count]
HSCAN key cursor [MATCH pattern] [COUNT count]
ZSCAN key cursor [MATCH pattern] [COUNT count]
XINFO [CONSUMERS key groupname] [GROUPS key] [STREAM key] [HELP]
XADD key ID field value [field value …]
XTRIM key MAXLEN [~] count
XDEL key ID [ID …]
XRANGE key start end [COUNT count]
XREVRANGE key end start [COUNT count]
XLEN key
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key …] id [id …]
XGROUP [CREATE key groupname id-or-$] [SETID key groupname id-or-$] [DESTROY key groupname] [DELCONSUMER key groupname consumername]
XREADGROUP GROUP group consumer [COUNT count] [BLOCK milliseconds] [NOACK] STREAMS key [key …] ID [ID …]
XACK key group ID [ID …]
XCLAIM key group consumer min-idle-time ID [ID …] [IDLE ms] [TIME ms-unix-time] [RETRYCOUNT count] [FORCE] [JUSTID]
XPENDING key group [start end count] [consumer]
LATENCY DOCTOR
LATENCY GRAPH event
LATENCY HISTORY event
LATENCY LATEST
LATENCY RESET [event]
LATENCY HELP
ZUNIONSTORE destination numkeys key [key …] [WEIGHTS weight [weight …]] [AGGREGATE SUM|MIN|MAX]
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档