Enum Class KeywordCategory

java.lang.Object
java.lang.Enum<KeywordCategory>
org.pgcodekeeper.core.sql.KeywordCategory
All Implemented Interfaces:
Serializable, Comparable<KeywordCategory>, Constable

public enum KeywordCategory extends Enum<KeywordCategory>
Keyword categories
  • Enum Constant Details

    • UNRESERVED_KEYWORD

      public static final KeywordCategory UNRESERVED_KEYWORD
    • COL_NAME_KEYWORD

      public static final KeywordCategory COL_NAME_KEYWORD
    • TYPE_FUNC_NAME_KEYWORD

      public static final KeywordCategory TYPE_FUNC_NAME_KEYWORD
    • RESERVED_KEYWORD

      public static final KeywordCategory RESERVED_KEYWORD
  • Method Details

    • values

      public static KeywordCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KeywordCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getParserRule

      public String getParserRule()