public enum Key extends Enum<Key> implements Callable<Integer>
Enum Constant and Description |
---|
CODE |
DATA |
ERROR |
EXPRESSION |
FUNCTION |
INDEX |
ITERATOR |
KEY |
LIMIT |
OFFSET |
SCHEMA_ID |
SPACE |
SYNC |
TUPLE |
UPSERT_OPS |
USER_NAME |
Modifier and Type | Method and Description |
---|---|
Integer |
call() |
static Key |
getById(int id) |
int |
getId() |
static Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Key CODE
public static final Key SYNC
public static final Key SCHEMA_ID
public static final Key SPACE
public static final Key INDEX
public static final Key LIMIT
public static final Key OFFSET
public static final Key ITERATOR
public static final Key KEY
public static final Key TUPLE
public static final Key FUNCTION
public static final Key USER_NAME
public static final Key EXPRESSION
public static final Key UPSERT_OPS
public static final Key DATA
public static final Key ERROR
public static Key[] values()
for (Key c : Key.values()) System.out.println(c);
public static Key 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()
public static Key getById(int id)
Copyright © 2017. All rights reserved.