Package org.hibernate.query.sqm
Enum FrameKind
- java.lang.Object
-
- java.lang.Enum<FrameKind>
-
- org.hibernate.query.sqm.FrameKind
-
- All Implemented Interfaces:
Serializable
,Comparable<FrameKind>
public enum FrameKind extends Enum<FrameKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_ROW
OFFSET_FOLLOWING
OFFSET_PRECEDING
UNBOUNDED_FOLLOWING
UNBOUNDED_PRECEDING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FrameKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static FrameKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNBOUNDED_PRECEDING
public static final FrameKind UNBOUNDED_PRECEDING
-
OFFSET_PRECEDING
public static final FrameKind OFFSET_PRECEDING
-
CURRENT_ROW
public static final FrameKind CURRENT_ROW
-
OFFSET_FOLLOWING
public static final FrameKind OFFSET_FOLLOWING
-
UNBOUNDED_FOLLOWING
public static final FrameKind UNBOUNDED_FOLLOWING
-
-
Method Detail
-
values
public static FrameKind[] 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 (FrameKind c : FrameKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameKind 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
-
-