Enum ColumnLevel

Object
Enum<ColumnLevel>
gudusoft.gsqlparser.resolver2.ColumnLevel
All Implemented Interfaces:
Serializable, Comparable<ColumnLevel>, java.lang.constant.Constable

public enum ColumnLevel extends Enum<ColumnLevel>
Three-level column existence check. Used for determining whether a column exists in a namespace and whether metadata is available to make that determination.
  • Enum Constant Details

    • EXISTS

      public static final ColumnLevel EXISTS
      Column definitely exists (confirmed by metadata). Confidence: 1.0
    • MAYBE

      public static final ColumnLevel 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

      public static final ColumnLevel NOT_EXISTS
      Column definitely does not exist (metadata confirms absence). Confidence: 0.0
  • Method Details

    • values

      public static ColumnLevel[] 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

      public static ColumnLevel valueOf(String name)
      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 name
      NullPointerException - if the argument is null