Package com.blazebit.persistence.impl
Enum ClauseType
- java.lang.Object
-
- java.lang.Enum<ClauseType>
-
- com.blazebit.persistence.impl.ClauseType
-
- All Implemented Interfaces:
Serializable,Comparable<ClauseType>
public enum ClauseType extends Enum<ClauseType>
- Since:
- 1.0.0
- Author:
- Moritz Becker
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClauseTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ClauseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final ClauseType SELECT
-
WHERE
public static final ClauseType WHERE
-
GROUP_BY
public static final ClauseType GROUP_BY
-
ORDER_BY
public static final ClauseType ORDER_BY
-
HAVING
public static final ClauseType HAVING
-
JOIN
public static final ClauseType JOIN
-
SET
public static final ClauseType SET
-
CTE
public static final ClauseType CTE
-
WINDOW
public static final ClauseType WINDOW
-
-
Method Detail
-
values
public static ClauseType[] 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 (ClauseType c : ClauseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClauseType 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
-
-