Enum BaseNativeQuery.ResultType
- java.lang.Object
-
- java.lang.Enum<BaseNativeQuery.ResultType>
-
- org.flowable.common.engine.impl.query.BaseNativeQuery.ResultType
-
- All Implemented Interfaces:
Serializable,Comparable<BaseNativeQuery.ResultType>
- Enclosing class:
- BaseNativeQuery<T extends NativeQuery<?,?>,U>
protected static enum BaseNativeQuery.ResultType extends Enum<BaseNativeQuery.ResultType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTLISTLIST_PAGESINGLE_RESULT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseNativeQuery.ResultTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BaseNativeQuery.ResultType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final BaseNativeQuery.ResultType LIST
-
LIST_PAGE
public static final BaseNativeQuery.ResultType LIST_PAGE
-
SINGLE_RESULT
public static final BaseNativeQuery.ResultType SINGLE_RESULT
-
COUNT
public static final BaseNativeQuery.ResultType COUNT
-
-
Method Detail
-
values
public static BaseNativeQuery.ResultType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BaseNativeQuery.ResultType c : BaseNativeQuery.ResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseNativeQuery.ResultType valueOf(String name)
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
-
-