public enum IslandKind extends Enum<IslandKind>
IslandRecognizer. An island
is a contiguous run of tokens that the layout pipeline treats as a unit.
Plan reference: §6 (island/IslandKind), §7.3/S22, §7.4/S22.
| Enum Constant and Description |
|---|
CASE
A CASE ...
|
CTE
A CTE body ({@code WITH x AS ( ...
|
ERROR_REGION
An unrecoverable / unclassifiable span.
|
FROM
FROM table list (before any JOIN).
|
GROUP_BY
GROUP BY list.
|
HAVING
HAVING predicate.
|
INSERT_VALUES
INSERT VALUES list.
|
INTO
INTO target (INSERT INTO / SELECT INTO).
|
JOIN
JOIN clause (JOIN/ON/USING/APPLY and operands).
|
MERGE
A MERGE statement.
|
ORDER_BY
ORDER BY list.
|
OTHER
Anything not otherwise classified.
|
SELECT
SELECT projection list.
|
SUBQUERY
A parenthesised subquery / derived table (not a CTE body).
|
UPDATE_SET
UPDATE SET assignment list.
|
WHERE
WHERE predicate.
|
| Modifier and Type | Method and Description |
|---|---|
static IslandKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IslandKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IslandKind SELECT
public static final IslandKind FROM
public static final IslandKind JOIN
public static final IslandKind WHERE
public static final IslandKind GROUP_BY
public static final IslandKind HAVING
public static final IslandKind ORDER_BY
public static final IslandKind INTO
public static final IslandKind INSERT_VALUES
public static final IslandKind UPDATE_SET
public static final IslandKind SUBQUERY
public static final IslandKind CTE
WITH x AS ( ... )).public static final IslandKind CASE
public static final IslandKind MERGE
public static final IslandKind ERROR_REGION
public static final IslandKind OTHER
public static IslandKind[] values()
for (IslandKind c : IslandKind.values()) System.out.println(c);
public static IslandKind 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