Package com.querydsl.core
Enum QueryFlag.Position
- All Implemented Interfaces:
Serializable,Comparable<QueryFlag.Position>,java.lang.constant.Constable
- Enclosing class:
- QueryFlag
The different
QueryFlag positions-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAfter the filter conditions (where)After group byAfter havingAfter order (by)After the projection (after select ...)After the first element (after select)Before the filter conditions (where)Before group byBefore havingBefore order (by)After all other tokensStart of the queryOverride for the first element (e.g SELECT, INSERT)WITH part (used in SQL) -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryFlag.PositionReturns the enum constant of this type with the specified name.static QueryFlag.Position[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WITH
WITH part (used in SQL) -
START
Start of the query -
START_OVERRIDE
Override for the first element (e.g SELECT, INSERT) -
AFTER_SELECT
After the first element (after select) -
AFTER_PROJECTION
After the projection (after select ...) -
BEFORE_FILTERS
Before the filter conditions (where) -
AFTER_FILTERS
After the filter conditions (where) -
BEFORE_GROUP_BY
Before group by -
AFTER_GROUP_BY
After group by -
BEFORE_HAVING
Before having -
AFTER_HAVING
After having -
BEFORE_ORDER
Before order (by) -
AFTER_ORDER
After order (by) -
END
After all other tokens
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-