Package gudusoft.gsqlparser.nodes
Enum TIndices.IndicesType
- All Implemented Interfaces:
Serializable,Comparable<TIndices.IndicesType>,java.lang.constant.Constable
- Enclosing class:
- TIndices
Enum to distinguish between array access syntax and qualified name syntax.
ARRAY_ACCESS - Represents bracket notation for array/list operations:
[5]- Single element at index 5[2:4]- Slice from index 2 to 4 (inclusive)[:3]- Slice from start to index 3[2:]- Slice from index 2 to end[:]- Full array/list slice
QUALIFIED_NAME - Represents dot notation for field/property access:
.field_name- Access specific field or property.*- Access all fields (wildcard expansion)
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionArray/list access using bracket notation: [expr], [expr:expr], etc.Field/property access using dot notation: .field, .* -
Method Summary
Modifier and TypeMethodDescriptionstatic TIndices.IndicesTypeReturns the enum constant of this type with the specified name.static TIndices.IndicesType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARRAY_ACCESS
Array/list access using bracket notation: [expr], [expr:expr], etc. -
QUALIFIED_NAME
Field/property access using dot notation: .field, .*
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-