public enum Code extends Enum<Code>
Enum Constant and Description |
---|
AUTH |
CALL |
DELETE |
EVAL |
INSERT |
OLD_CALL |
PING |
REPLACE |
SELECT |
SUBSCRIBE |
UPDATE |
UPSERT |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code SELECT
public static final Code INSERT
public static final Code REPLACE
public static final Code UPDATE
public static final Code DELETE
public static final Code OLD_CALL
public static final Code AUTH
public static final Code EVAL
public static final Code UPSERT
public static final Code CALL
public static final Code PING
public static final Code SUBSCRIBE
public static Code[] values()
for (Code c : Code.values()) System.out.println(c);
public static Code 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 int getId()
Copyright © 2017. All rights reserved.