public enum ScopeKind extends Enum<ScopeKind>
QueryBlockScope tree
(GAP 4).
MAIN — the top-level / outermost statement block (null
parent).CTE — a WITH common-table-expression body.DERIVED_TABLE — a FROM-clause subquery (inline
view).SCALAR_SUBQUERY — a subquery used as a scalar
expression in the SELECT list / elsewhere.PREDICATE_SUBQUERY — a subquery inside a predicate
(IN (...), EXISTS (...), etc.).SET_OPERATION_BRANCH — a branch of a UNION /
INTERSECT / EXCEPT.UNKNOWN — an emission site not yet classified.Introduced by join-analysis slice 162 (S1); populated in slice 170 (S9).
| Enum Constant and Description |
|---|
CTE |
DERIVED_TABLE |
MAIN |
PREDICATE_SUBQUERY |
SCALAR_SUBQUERY |
SET_OPERATION_BRANCH |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ScopeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeKind DERIVED_TABLE
public static final ScopeKind SCALAR_SUBQUERY
public static final ScopeKind PREDICATE_SUBQUERY
public static final ScopeKind SET_OPERATION_BRANCH
public static ScopeKind[] values()
for (ScopeKind c : ScopeKind.values()) System.out.println(c);
public static ScopeKind 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