public enum QuerySection extends Enum<QuerySection>
Query.getQuerySection()
Enum Constant and Description |
---|
FROM |
GROUPBY |
HAVING |
JOIN |
ORDERBY |
SELECT |
WHERE |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
supportsColumnAlias(DbEngine engine)
If the current database supports column aliases in that part of the query.
|
static QuerySection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuerySection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuerySection SELECT
public static final QuerySection FROM
public static final QuerySection JOIN
public static final QuerySection WHERE
public static final QuerySection GROUPBY
public static final QuerySection HAVING
public static final QuerySection ORDERBY
public static QuerySection[] values()
for (QuerySection c : QuerySection.values()) System.out.println(c);
public static QuerySection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean supportsColumnAlias(DbEngine engine)