Enum SqlDataType

java.lang.Object
java.lang.Enum<SqlDataType>
org.evomaster.client.java.sql.SqlDataType
All Implemented Interfaces:
Serializable, Comparable<SqlDataType>, java.lang.constant.Constable

public enum SqlDataType extends Enum<SqlDataType>
Enumeration representing various SQL data types. This class provides utilities to handle SQL data types, including conversions and checks for grouping types (e.g., string types, numeric types, date/time types).
  • Enum Constant Details

  • Method Details

    • values

      public static SqlDataType[] 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 SqlDataType 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
    • fromString

      public static SqlDataType fromString(String input)
    • isStringType

      public static boolean isStringType(SqlDataType dataType)
    • isDateTimeType

      public static boolean isDateTimeType(SqlDataType dataType)
    • isDoubleType

      public static boolean isDoubleType(SqlDataType dataType)
    • isLongType

      public static boolean isLongType(SqlDataType dataType)
    • isByteType

      public static boolean isByteType(SqlDataType dataType)
    • isShortType

      public static boolean isShortType(SqlDataType dataType)
    • isIntegerType

      public static boolean isIntegerType(SqlDataType dataType)
    • isBooleanType

      public static boolean isBooleanType(SqlDataType dataType)