public enum IncompleteReason extends Enum<IncompleteReason>
IslandScope is incomplete. NONE means the island is
complete/well-formed.
Plan reference: §7.3/S22, §7.4/S22.
| Enum Constant and Description |
|---|
MISSING_END
A
CASE (or BEGIN) block has no matching END. |
MISSING_OPERAND
A clause keyword (WHERE/FROM/GROUP BY/...) has no operand.
|
NONE
Island is well-formed.
|
UNCLOSED_PAREN
A parenthesised group / subquery was never closed.
|
UNRECOVERABLE
Span could not be classified and is treated as an error region.
|
| Modifier and Type | Method and Description |
|---|---|
static IncompleteReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IncompleteReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncompleteReason NONE
public static final IncompleteReason MISSING_END
CASE (or BEGIN) block has no matching END.public static final IncompleteReason UNCLOSED_PAREN
public static final IncompleteReason MISSING_OPERAND
public static final IncompleteReason UNRECOVERABLE
public static IncompleteReason[] values()
for (IncompleteReason c : IncompleteReason.values()) System.out.println(c);
public static IncompleteReason 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