public enum ClausePart extends Enum<ClausePart>
ClauseScopeAnnotator. Each token belongs to exactly one clause part
(within its SQL scope level).
Plan reference: §7.3/S21, §7.4/S21.
| Enum Constant and Description |
|---|
FROM
FROM clause table list (before any JOIN). |
GROUP_BY
GROUP BY list. |
HAVING
HAVING predicate. |
INSERT_VALUES
VALUES list of an INSERT. |
INTO
INTO target (INSERT INTO / SELECT INTO). |
JOIN
JOIN clause:
JOIN/ON/USING/APPLY and operands. |
NONE
Not inside a recognised clause (e.g.
|
ORDER_BY
ORDER BY list. |
SELECT_LIST
SELECT projection list (between
SELECT and FROM). |
SET_OP
Set operator and its tail (
UNION/INTERSECT/EXCEPT/MINUS/ALL). |
UPDATE_SET
SET assignment list of an UPDATE. |
WHERE
WHERE predicate. |
| Modifier and Type | Method and Description |
|---|---|
static ClausePart |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClausePart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClausePart NONE
public static final ClausePart SELECT_LIST
SELECT and FROM).public static final ClausePart INTO
INTO target (INSERT INTO / SELECT INTO).public static final ClausePart FROM
FROM clause table list (before any JOIN).public static final ClausePart JOIN
JOIN/ON/USING/APPLY and operands.public static final ClausePart WHERE
WHERE predicate.public static final ClausePart GROUP_BY
GROUP BY list.public static final ClausePart HAVING
HAVING predicate.public static final ClausePart ORDER_BY
ORDER BY list.public static final ClausePart SET_OP
UNION/INTERSECT/EXCEPT/MINUS/ALL).public static final ClausePart UPDATE_SET
SET assignment list of an UPDATE.public static final ClausePart INSERT_VALUES
VALUES list of an INSERT.public static ClausePart[] values()
for (ClausePart c : ClausePart.values()) System.out.println(c);
public static ClausePart 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 null