public enum StructuredPathSegmentKind extends Enum<StructuredPathSegmentKind>
StructuredColumnPath.
SUBSCRIPT is a [expr] whose container is not known yet: the access-path normalizer
(gudusoft.gsqlparser.nodes.structured.NestedAccessNormalizer) refines it to ARRAY_ELEMENT or
MAP_VALUE from the declared type, the subscript syntax, or the vendor's rule, and a path that still holds
one after refinement reads its base column whole. STAR is the wildcard of customer.*, always the
last step.
| Enum Constant and Description |
|---|
ARRAY_ELEMENT |
FIELD |
MAP_KEY |
MAP_VALUE |
STAR |
SUBSCRIPT |
| Modifier and Type | Method and Description |
|---|---|
static StructuredPathSegmentKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructuredPathSegmentKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructuredPathSegmentKind ARRAY_ELEMENT
public static final StructuredPathSegmentKind FIELD
public static final StructuredPathSegmentKind MAP_KEY
public static final StructuredPathSegmentKind MAP_VALUE
public static final StructuredPathSegmentKind SUBSCRIPT
public static final StructuredPathSegmentKind STAR
public static StructuredPathSegmentKind[] values()
for (StructuredPathSegmentKind c : StructuredPathSegmentKind.values()) System.out.println(c);
public static StructuredPathSegmentKind 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