Package org.hibernate.query.sqm.function
Enum FunctionKind
- java.lang.Object
-
- java.lang.Enum<FunctionKind>
-
- org.hibernate.query.sqm.function.FunctionKind
-
- All Implemented Interfaces:
Serializable
,Comparable<FunctionKind>
public enum FunctionKind extends Enum<FunctionKind>
The kind of function e.g. normal, aggregate etc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE
NORMAL
ORDERED_SET_AGGREGATE
WINDOW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static FunctionKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final FunctionKind NORMAL
-
AGGREGATE
public static final FunctionKind AGGREGATE
-
ORDERED_SET_AGGREGATE
public static final FunctionKind ORDERED_SET_AGGREGATE
-
WINDOW
public static final FunctionKind WINDOW
-
-
Method Detail
-
values
public static FunctionKind[] 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 (FunctionKind c : FunctionKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionKind 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
-
-