Enum SQLTokenType

    • Enum Constant Detail

      • SINGLE_LINE_COMMENT_START

        public static final SQLTokenType SINGLE_LINE_COMMENT_START
      • MULTI_LINE_COMMENT_START

        public static final SQLTokenType MULTI_LINE_COMMENT_START
      • MULTI_LINE_COMMENT_END

        public static final SQLTokenType MULTI_LINE_COMMENT_END
      • STRING_DELIMITER_START

        public static final SQLTokenType STRING_DELIMITER_START
      • STRING_DELIMITER_END

        public static final SQLTokenType STRING_DELIMITER_END
      • END_OF_STATEMENT

        public static final SQLTokenType END_OF_STATEMENT
      • ESCAPED_STRING_DELIMITER

        public static final SQLTokenType ESCAPED_STRING_DELIMITER
    • Method Detail

      • values

        public static SQLTokenType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SQLTokenType c : SQLTokenType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SQLTokenType 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