|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Query.Type> com.avaje.ebean.Query.Type
public static enum Query.Type
The type of query result.
Enum Constant Summary | |
---|---|
BEAN
Find by Id or unique returning a single bean. |
|
ID_LIST
Find the Id's. |
|
LIST
Find returning a List. |
|
MAP
Find returning a Map. |
|
ROWCOUNT
Find rowCount. |
|
SET
Find returning a Set. |
|
SUBQUERY
A subquery used as part of a where clause. |
Method Summary | |
---|---|
static Query.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Query.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Query.Type BEAN
public static final Query.Type LIST
public static final Query.Type SET
public static final Query.Type MAP
public static final Query.Type ID_LIST
public static final Query.Type ROWCOUNT
public static final Query.Type SUBQUERY
Method Detail |
---|
public static Query.Type[] values()
for (Query.Type c : Query.Type.values()) System.out.println(c);
public static Query.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |