public static enum SqlFragment.HoleOrigin extends Enum<SqlFragment.HoleOrigin>
| Enum Constant and Description |
|---|
FLOW_DEPENDENT_VARIABLE
A variable whose value depends on control flow the evaluator cannot
decide: assigned inside an undecidable IF / WHILE branch, declared
there, or assigned by a driver loop whose iteration is unknown.
|
INEXACT_TRANSFORM
A transform was folded for display but its output is not proven
byte-exact against vendor runtime semantics (CAST/CONVERT padding and
styles, collation-aware REPLACE/UPPER/LOWER, whitespace-class TRIM,
non-default QUOTENAME delimiters, numeric rendering).
|
NON_VARIABLE_IDENT
A bare (non-variable) identifier used as a value — data-dependent.
|
OPAQUE_CALL
A function call the evaluator does not fold.
|
QUERY_ASSIGNED_VARIABLE
A variable whose last visible assignment read from a query
(
SELECT @v = col FROM t ...): its value is runtime data. |
RESOURCE_LIMIT
Evaluation hit a configured resource bound.
|
UNBOUND_VARIABLE
A variable/parameter never bound and never assigned a foldable value.
|
UNSUPPORTED_EXPR
An expression form the evaluator does not model.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlFragment.HoleOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlFragment.HoleOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlFragment.HoleOrigin UNBOUND_VARIABLE
public static final SqlFragment.HoleOrigin NON_VARIABLE_IDENT
public static final SqlFragment.HoleOrigin OPAQUE_CALL
public static final SqlFragment.HoleOrigin UNSUPPORTED_EXPR
public static final SqlFragment.HoleOrigin RESOURCE_LIMIT
public static final SqlFragment.HoleOrigin INEXACT_TRANSFORM
public static final SqlFragment.HoleOrigin QUERY_ASSIGNED_VARIABLE
SELECT @v = col FROM t ...): its value is runtime data. The
hole keeps the assignment's own rendering (the source column name as a
placeholder) but is named after the VARIABLE, and SqlFragment.valueOrigin
describes the column / expression the value would come from.public static final SqlFragment.HoleOrigin FLOW_DEPENDENT_VARIABLE
public static SqlFragment.HoleOrigin[] values()
for (SqlFragment.HoleOrigin c : SqlFragment.HoleOrigin.values()) System.out.println(c);
public static SqlFragment.HoleOrigin 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