Package gudusoft.gsqlparser.resolver2
Enum ColumnLevel
- All Implemented Interfaces:
Serializable,Comparable<ColumnLevel>,java.lang.constant.Constable
Three-level column existence check.
Used for determining whether a column exists in a namespace
and whether metadata is available to make that determination.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionColumn definitely exists (confirmed by metadata).Column might exist but cannot be confirmed (no metadata).Column definitely does not exist (metadata confirms absence). -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnLevelReturns the enum constant of this type with the specified name.static ColumnLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXISTS
Column definitely exists (confirmed by metadata). Confidence: 1.0 -
MAYBE
Column might exist but cannot be confirmed (no metadata). This is common for SELECT * scenarios without schema info. Confidence: typically 0.5-0.9 depending on evidence -
NOT_EXISTS
Column definitely does not exist (metadata confirms absence). Confidence: 0.0
-
-
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
-