- All Implemented Interfaces:
Serializable,Comparable<SpiQuery.Type>
The type of query result.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFind single attribute.Find single attribute set.Find by Id or unique returning a single bean.Find rowCount.Delete query.Find exists.Find the Id's.Find iterate type query - findEach(), findIterate() etc.Find returning a List.Find returning a Map.Find returning a Set.A sub-query expression used as part of where clause.A sub-query used as part of an exists where clause.Update query. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this allows default select clause.booleanisUpdate()Return true if this is an Update or Delete query (not read only).label()static SpiQuery.TypeReturns the enum constant of this type with the specified name.static SpiQuery.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BEAN
Find by Id or unique returning a single bean. -
LIST
Find returning a List. -
SET
Find returning a Set. -
MAP
Find returning a Map. -
ITERATE
Find iterate type query - findEach(), findIterate() etc. -
ID_LIST
Find the Id's. -
EXISTS
Find exists. -
ATTRIBUTE
Find single attribute. -
ATTRIBUTE_SET
Find single attribute set. -
COUNT
Find rowCount. -
SQ_EXISTS
A sub-query used as part of an exists where clause. -
SQ_EX
A sub-query expression used as part of where clause. -
DELETE
Delete query. -
UPDATE
Update query.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isUpdate
public boolean isUpdate()Return true if this is an Update or Delete query (not read only). -
defaultSelect
public boolean defaultSelect()Return true if this allows default select clause. -
profileEventId
-
label
-