public interface Command
Modifier and Type | Method and Description |
---|---|
static Command |
create(String command,
int arity,
int firstKey,
int lastKey,
int interval,
boolean readOnly,
boolean movable)
Creates a Redis Command from METADATA.
|
int |
getArity() |
byte[] |
getBytes() |
int |
getFirstKey() |
int |
getInterval() |
int |
getLastKey() |
boolean |
isKeyless() |
boolean |
isMovable() |
boolean |
isMultiKey() |
boolean |
isReadOnly() |
boolean |
isVoid() |
static final Command APPEND
static final Command ASKING
static final Command AUTH
static final Command BGREWRITEAOF
static final Command BGSAVE
static final Command BITCOUNT
static final Command BITFIELD
static final Command BITOP
static final Command BITPOS
static final Command BLPOP
static final Command BRPOP
static final Command BRPOPLPUSH
static final Command BZPOPMAX
static final Command BZPOPMIN
static final Command CLIENT
static final Command CLUSTER
static final Command COMMAND
static final Command CONFIG
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 EXEC
static final Command EXISTS
static final Command EXPIRE
static final Command EXPIREAT
static final Command FLUSHALL
static final Command FLUSHDB
static final Command GEOADD
static final Command GEODIST
static final Command GEOHASH
static final Command GEOPOS
static final Command GEORADIUS
static final Command GEORADIUS_RO
static final Command GEORADIUSBYMEMBER
static final Command GEORADIUSBYMEMBER_RO
static final Command GET
static final Command GETBIT
static final Command GETRANGE
static final Command GETSET
static final Command HDEL
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
static final Command HMSET
static final Command HOST
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 KEYS
static final Command LASTSAVE
static final Command LATENCY
static final Command LINDEX
static final Command LINSERT
static final Command LLEN
static final Command LOLWUT
static final Command LPOP
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 PFADD
static final Command PFCOUNT
static final Command PFDEBUG
static final Command PFMERGE
static final Command PFSELFTEST
static final Command PING
static final Command POST
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 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 RESTORE
static final Command RESTORE_ASKING
static final Command ROLE
static final Command RPOP
static final Command RPOPLPUSH
static 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 SINTERSTORE
static final Command SISMEMBER
static final Command SLAVEOF
static final Command SLOWLOG
static final Command SMEMBERS
static final Command SMOVE
static final Command SORT
static final Command SPOP
static final Command SRANDMEMBER
static final Command SREM
static final Command SSCAN
static final Command STRLEN
static final Command SUBSCRIBE
static final Command SUBSTR
static final Command SUNION
static final Command SUNIONSTORE
static final Command SWAPDB
static final Command SYNC
static final Command TIME
static final Command TOUCH
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 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 ZINCRBY
static final Command ZINTERSTORE
static final Command ZLEXCOUNT
static final Command ZPOPMAX
static final Command ZPOPMIN
static final Command ZRANGE
static final Command ZRANGEBYLEX
static final Command ZRANGEBYSCORE
static final Command ZRANK
static final Command ZREM
static final Command ZREMRANGEBYLEX
static final Command ZREMRANGEBYRANK
static final Command ZREMRANGEBYSCORE
static final Command ZREVRANGE
static final Command ZREVRANGEBYLEX
static final Command ZREVRANGEBYSCORE
static final Command ZREVRANK
static final Command ZSCAN
static final Command ZSCORE
static final Command ZUNIONSTORE
static final Command SENTINEL
static Command create(String command, int arity, int firstKey, int lastKey, int interval, boolean readOnly, boolean movable)
command
- command namearity
- arityfirstKey
- position of the first keylastKey
- position of the last keyinterval
- step count for locating repeating keysreadOnly
- readOnly flag extracted from the nested Array reply of command flagsmovable
- movable flag extracted from the nested Array reply of command flagsbyte[] getBytes()
int getArity()
boolean isMultiKey()
int getFirstKey()
int getLastKey()
int getInterval()
boolean isKeyless()
boolean isReadOnly()
boolean isMovable()
boolean isVoid()
Copyright © 2023 Eclipse. All rights reserved.