public static enum Query.ResultType extends Enum<Query.ResultType>
Enum Constant and Description |
---|
MULTIPLE
Multiple result : table of structured values.
|
SIMPLE
Simple result : single (scalar) value.
|
Modifier and Type | Method and Description |
---|---|
static Query.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.ResultType SIMPLE
public static final Query.ResultType MULTIPLE
public static Query.ResultType[] values()
for (Query.ResultType c : Query.ResultType.values()) System.out.println(c);
public static Query.ResultType 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 null