|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Criteria.Restriction> org.rhq.core.domain.criteria.Criteria.Restriction
public static enum Criteria.Restriction
Apply a restriction to reduce the cost of the Criteria
-based query generation and execution routines.
Enum Constant Summary | |
---|---|
COLLECTION_ONLY
This will return the PageList result whose PageList.isUnbounded() returned true, meaning
that the value contained within PageList.getTotalSize() is invalid / undefined. |
|
COUNT_ONLY
This returns an empty PageList result whose PageList.getTotalSize() method otherwise
contains the correct value. |
Method Summary | |
---|---|
static Criteria.Restriction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Criteria.Restriction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Criteria.Restriction COUNT_ONLY
PageList
result whose PageList.getTotalSize()
method otherwise
contains the correct value.
public static final Criteria.Restriction COLLECTION_ONLY
PageList
result whose PageList.isUnbounded()
returned true, meaning
that the value contained within PageList.getTotalSize()
is invalid / undefined.
Method Detail |
---|
public static Criteria.Restriction[] values()
for (Criteria.Restriction c : Criteria.Restriction.values()) System.out.println(c);
public static Criteria.Restriction 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 |