public enum EndpointKind extends Enum<EndpointKind>
name/type/subType heuristics. This is orthogonal to
EndpointIntroduction ("how it was introduced"): a CREATE TABLE … AS
SELECT is a CATALOG_OBJECT introduced by CTAS.
Strictly additive: this is carried only by the new endpoint fields and never
back-fills SubType. See
docs/tmp/dlineage-authoritative-endpoint-classification.md.
The full value set is defined here; the §5.6 "minimum complete" scope only
produces CATALOG_OBJECT, LOCAL_TEMP_TABLE,
GLOBAL_TEMP_TABLE, TABLE_VARIABLE, TEMPDB_OBJECT and
UNKNOWN. The remaining values (CTE, DERIVED_RESULTSET,
TVF_RESULT, CONSTANT, VARIABLE) are reserved for later
coverage.
| Enum Constant and Description |
|---|
CATALOG_OBJECT |
CONSTANT |
CTE |
DERIVED_RESULTSET |
GLOBAL_TEMP_TABLE |
LOCAL_TEMP_TABLE |
TABLE_VARIABLE |
TEMPDB_OBJECT |
TVF_RESULT |
UNKNOWN |
VARIABLE |
| Modifier and Type | Method and Description |
|---|---|
static EndpointKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointKind CATALOG_OBJECT
public static final EndpointKind LOCAL_TEMP_TABLE
public static final EndpointKind GLOBAL_TEMP_TABLE
public static final EndpointKind TABLE_VARIABLE
public static final EndpointKind TEMPDB_OBJECT
public static final EndpointKind CTE
public static final EndpointKind DERIVED_RESULTSET
public static final EndpointKind TVF_RESULT
public static final EndpointKind CONSTANT
public static final EndpointKind VARIABLE
public static final EndpointKind UNKNOWN
public static EndpointKind[] values()
for (EndpointKind c : EndpointKind.values()) System.out.println(c);
public static EndpointKind 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