public static enum SelectQuery.Hook extends Enum<SelectQuery.Hook> implements HookAnchor
com.healthmarketscience.sqlbuilder.custom
for
more details on custom SQL syntax.Enum Constant and Description |
---|
DISTINCT
Anchor for the "DISTINCT " clause
|
FOR_UPDATE
Anchor for the " FOR UPDATE " clause
|
FROM
Anchor for the " FROM " clause
|
GROUP_BY
Anchor for the " GROUP BY " clause
|
HAVING
Anchor for the " HAVING " sub-clause (only possible if there is a
GROUP BY clause)
|
HEADER
Anchor for the beginning of the query, only supports
HookType.BEFORE |
ORDER_BY
Anchor for the " ORDER BY " clause
|
SELECT
Anchor for the "SELECT " clause
|
TRAILER
Anchor for the end of the query, only supports
HookType.BEFORE |
WHERE
Anchor for the " WHERE " clause
|
WINDOW
Anchor for the " WINDOW " clause
|
Modifier and Type | Method and Description |
---|---|
static SelectQuery.Hook |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectQuery.Hook[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectQuery.Hook HEADER
HookType.BEFORE
public static final SelectQuery.Hook SELECT
public static final SelectQuery.Hook DISTINCT
public static final SelectQuery.Hook FROM
public static final SelectQuery.Hook WHERE
public static final SelectQuery.Hook GROUP_BY
public static final SelectQuery.Hook HAVING
public static final SelectQuery.Hook WINDOW
public static final SelectQuery.Hook ORDER_BY
public static final SelectQuery.Hook FOR_UPDATE
public static final SelectQuery.Hook TRAILER
HookType.BEFORE
public static SelectQuery.Hook[] values()
for (SelectQuery.Hook c : SelectQuery.Hook.values()) System.out.println(c);
public static SelectQuery.Hook 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 nullCopyright © 2006–2021 OpenHMS. All rights reserved.