public enum Command extends Enum<Command>
specification Redis 1.00
Modifier and Type | Class and Description |
---|---|
static class |
Command.Flag
Defines (32 bit) flags for
Command |
static class |
Command.Option
Redis Command Options and modifiers
|
static class |
Command.RequestType
Broad Request Type categorization of the Redis Command per the request's
argument signature.
|
static class |
Command.ResponseType
Broad Response Type categorization of the Redis Command responses.
|
Enum Constant and Description |
---|
APPEND |
AUTH |
BGREWRITEAOF |
BGSAVE |
CONN_FLUSH |
DBSIZE |
DEBUG |
DECR |
DECRBY |
DEL |
DISCARD |
ECHO |
EXEC |
EXISTS |
EXPIRE |
EXPIREAT |
FLUSHALL |
FLUSHDB |
GET |
GETBIT |
GETSET |
HDEL |
HEXISTS |
HGET |
HGETALL |
HINCRBY |
HKEYS |
HLEN |
HSET |
HVALS |
INCR |
INCRBY |
INFO |
KEYS |
KEYSTOLIST |
LASTSAVE |
LINDEX |
LINSERT |
LLEN |
LPOP |
LPUSH |
LPUSHX |
LRANGE |
LREM |
LSET |
LTRIM |
MGET |
MONITOR |
MOVE |
MSET |
MSETNX |
MULTI |
PING |
QUIT |
RANDOMKEY |
RENAME |
RENAMENX |
RPOP |
RPOPLPUSH |
RPUSH |
RPUSHX |
SADD |
SAVE |
SCARD |
SDIFF |
SDIFFSTORE |
SELECT |
SET |
SETBIT |
SETNX |
SHUTDOWN |
SINTER |
SINTERSTORE |
SISMEMBER |
SLAVEOF |
SMEMBERS |
SMOVE |
SORT |
SORT$STORE
SORT...STORE
|
SPOP |
SRANDMEMBER |
SREM |
SUBSTR |
SUNION |
SUNIONSTORE |
TTL |
TYPE |
ZADD |
ZCARD |
ZCOUNT |
ZINCRBY |
ZRANGE |
ZRANGE$OPTS
ZRANGE with OPTIONS
|
ZRANGEBYSCORE |
ZRANGEBYSCORE$OPTS |
ZRANK |
ZREM |
ZREMRANGEBYRANK |
ZREMRANGEBYSCORE |
ZREVRANGE |
ZREVRANGE$OPTS
ZREVRANGE with OPTIONS
|
ZREVRANK |
ZSCORE |
Modifier and Type | Field and Description |
---|---|
byte[] |
bytes |
String |
code
semantic sugar
|
static String |
OPTCODE
internal
|
Command.RequestType |
requestType |
Command.ResponseType |
responseType |
Modifier and Type | Method and Description |
---|---|
boolean |
isSet(Command.Flag flag)
Tests if the specified flag is set for the command.
|
static Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command AUTH
public static final Command PING
public static final Command QUIT
public static final Command CONN_FLUSH
public static final Command SET
public static final Command GET
public static final Command GETSET
public static final Command MGET
public static final Command SETNX
public static final Command MSET
public static final Command MSETNX
public static final Command INCR
public static final Command INCRBY
public static final Command DECR
public static final Command DECRBY
public static final Command EXISTS
public static final Command DEL
public static final Command TYPE
public static final Command SUBSTR
public static final Command APPEND
public static final Command KEYS
public static final Command KEYSTOLIST
public static final Command RANDOMKEY
public static final Command RENAME
public static final Command RENAMENX
public static final Command DBSIZE
public static final Command EXPIRE
public static final Command EXPIREAT
public static final Command TTL
public static final Command RPUSH
public static final Command RPUSHX
public static final Command LPUSH
public static final Command LPUSHX
public static final Command LINSERT
public static final Command LLEN
public static final Command LRANGE
public static final Command LTRIM
public static final Command LINDEX
public static final Command LSET
public static final Command LREM
public static final Command LPOP
public static final Command RPOP
public static final Command RPOPLPUSH
public static final Command SADD
public static final Command SREM
public static final Command SCARD
public static final Command SISMEMBER
public static final Command SINTER
public static final Command SINTERSTORE
public static final Command SUNION
public static final Command SUNIONSTORE
public static final Command SDIFF
public static final Command SDIFFSTORE
public static final Command SMEMBERS
public static final Command SMOVE
public static final Command SRANDMEMBER
public static final Command SPOP
public static final Command ZADD
public static final Command ZREM
public static final Command ZCARD
public static final Command ZSCORE
public static final Command ZRANK
public static final Command ZREVRANK
public static final Command ZRANGE
public static final Command ZRANGE$OPTS
public static final Command ZREVRANGE
public static final Command ZREVRANGE$OPTS
public static final Command ZINCRBY
public static final Command ZRANGEBYSCORE
public static final Command ZRANGEBYSCORE$OPTS
public static final Command ZREMRANGEBYSCORE
public static final Command ZREMRANGEBYRANK
public static final Command ZCOUNT
public static final Command SETBIT
public static final Command GETBIT
public static final Command HSET
public static final Command HGET
public static final Command HEXISTS
public static final Command HDEL
public static final Command HLEN
public static final Command HKEYS
public static final Command HVALS
public static final Command HGETALL
public static final Command HINCRBY
public static final Command MULTI
public static final Command EXEC
public static final Command DISCARD
public static final Command SELECT
public static final Command FLUSHDB
public static final Command FLUSHALL
public static final Command MOVE
public static final Command SORT
public static final Command SORT$STORE
public static final Command SAVE
public static final Command BGSAVE
public static final Command BGREWRITEAOF
public static final Command LASTSAVE
public static final Command SHUTDOWN
public static final Command ECHO
public static final Command DEBUG
public static final Command INFO
public static final Command MONITOR
public static final Command SLAVEOF
public final String code
public final byte[] bytes
public final Command.RequestType requestType
public final Command.ResponseType responseType
public static final String OPTCODE
public static Command[] values()
for (Command c : Command.values()) System.out.println(c);
public static Command valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final boolean isSet(Command.Flag flag)
flag
- the flagCommand.Flag
Copyright © 2009–2018. All rights reserved.