java.lang.Object
java.lang.Enum<SQLDataType>
com.orchestranetworks.addon.dataexchange.sql.SQLDataType
All Implemented Interfaces:
Serializable, Comparable<SQLDataType>, Constable

public enum SQLDataType extends Enum<SQLDataType>
Defines the possible SQL data types.
Since:
2.2.0
  • Enum Constant Details

    • BOOLEAN

      public static final SQLDataType BOOLEAN
      Specifies the SQL data type BOOLEAN.
    • BIT

      public static final SQLDataType BIT
      Specifies the SQL data type BIT.
    • BIGINT

      public static final SQLDataType BIGINT
      Specifies the SQL data type BIGINT.
    • INTEGER

      public static final SQLDataType INTEGER
      Specifies the SQL data type INTEGER.
    • SMALLINT

      public static final SQLDataType SMALLINT
      Specifies the SQL data type SMALLINT.
    • TINYINT

      public static final SQLDataType TINYINT
      Specifies the SQL data type TINYINT.
    • DECIMAL

      public static final SQLDataType DECIMAL
      Specifies the SQL data type DECIMAL.
    • NUMERIC

      public static final SQLDataType NUMERIC
      Specifies the SQL data type NUMERIC.
    • DOUBLE

      public static final SQLDataType DOUBLE
      Specifies the SQL data type DOUBLE.
    • REAL

      public static final SQLDataType REAL
      Specifies the SQL data type REAL.
    • FLOAT

      public static final SQLDataType FLOAT
      Specifies the SQL data type FLOAT.
    • CHAR

      public static final SQLDataType CHAR
      Specifies the SQL data type CHAR.
    • VARCHAR

      public static final SQLDataType VARCHAR
      Specifies the SQL data type VARCHAR.
    • LONGVARCHAR

      public static final SQLDataType LONGVARCHAR
      Specifies the SQL data type LONGVARCHAR.
    • NCHAR

      public static final SQLDataType NCHAR
      Specifies the SQL data type NCHAR.
    • NVARCHAR

      public static final SQLDataType NVARCHAR
      Specifies the SQL data type NVARCHAR.
    • LONGNVARCHAR

      public static final SQLDataType LONGNVARCHAR
      Specifies the SQL data type LONGNVARCHAR.
    • BINARY

      public static final SQLDataType BINARY
      Specifies the SQL data type BINARY.
    • VARBINARY

      public static final SQLDataType VARBINARY
      Specifies the SQL data type VARBINARY.
    • LONGVARBINARY

      public static final SQLDataType LONGVARBINARY
      Specifies the SQL data type LONGVARBINARY.
    • ARRAY

      public static final SQLDataType ARRAY
      Specifies the SQL data type ARRAY.
    • DATE

      public static final SQLDataType DATE
      Specifies the SQL data type DATE.
    • TIME

      public static final SQLDataType TIME
      Specifies the SQL data type TIME.
    • TIMESTAMP

      public static final SQLDataType TIMESTAMP
      Specifies the SQL data type TIMESTAMP.
    • BLOB

      public static final SQLDataType BLOB
      Specifies the SQL data type BLOB.
    • CLOB

      public static final SQLDataType CLOB
      Specifies the SQL data type CLOB.
    • NCLOB

      public static final SQLDataType NCLOB
      Specifies the SQL data type NCLOB.
    • ROWID

      public static final SQLDataType ROWID
      Specifies the SQL data type ROWID.
    • SQLXML

      public static final SQLDataType SQLXML
      Specifies the SQL data type SQLXML.
    • UNKNOWN

      public static final SQLDataType UNKNOWN
      Specifies the SQL data type UNKNOWN.
  • 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
    • parse

      public static SQLDataType parse(int type)
    • parse

      public static SQLDataType parse(String typeName)
    • parse

      public static SQLDataType parse(int type, String name)