public enum QueryMode extends Enum<QueryMode>
Enum Constant and Description |
---|
FIRST
Mode for a query where only the first result should be returned. |
NORMAL
Mode for a normal query. |
UNIQUE
Mode for a query where only a single unique result should match and be returned. |
Modifier and Type | Method and Description |
---|---|
static QueryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryMode FIRST
Mode
for a query where only the first result should be returned.public static QueryMode[] values()
for (QueryMode c : QueryMode.values()) System.out.println(c);
public static QueryMode 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 nullCopyright © 2001–2016 mmm-Team. All rights reserved.