public static enum JsonProtocol.JsonCommand extends java.lang.Enum<JsonProtocol.JsonCommand> implements ProtocolCommand
Enum Constant and Description |
---|
ARRAPPEND |
ARRINDEX |
ARRINSERT |
ARRLEN |
ARRPOP |
ARRTRIM |
CLEAR |
DEBUG |
DEL |
GET |
MGET |
NUMINCRBY |
OBJKEYS |
OBJLEN |
RESP |
SET |
STRAPPEND |
STRLEN |
TOGGLE |
TYPE |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw()
Get byte array.
|
static JsonProtocol.JsonCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonProtocol.JsonCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonProtocol.JsonCommand DEL
public static final JsonProtocol.JsonCommand GET
public static final JsonProtocol.JsonCommand MGET
public static final JsonProtocol.JsonCommand SET
public static final JsonProtocol.JsonCommand TYPE
public static final JsonProtocol.JsonCommand STRAPPEND
public static final JsonProtocol.JsonCommand STRLEN
public static final JsonProtocol.JsonCommand NUMINCRBY
public static final JsonProtocol.JsonCommand ARRAPPEND
public static final JsonProtocol.JsonCommand ARRINDEX
public static final JsonProtocol.JsonCommand ARRINSERT
public static final JsonProtocol.JsonCommand ARRLEN
public static final JsonProtocol.JsonCommand ARRPOP
public static final JsonProtocol.JsonCommand ARRTRIM
public static final JsonProtocol.JsonCommand CLEAR
public static final JsonProtocol.JsonCommand TOGGLE
public static final JsonProtocol.JsonCommand OBJKEYS
public static final JsonProtocol.JsonCommand OBJLEN
public static final JsonProtocol.JsonCommand DEBUG
public static final JsonProtocol.JsonCommand RESP
public static JsonProtocol.JsonCommand[] values()
for (JsonProtocol.JsonCommand c : JsonProtocol.JsonCommand.values()) System.out.println(c);
public static JsonProtocol.JsonCommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.