Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
org.eclipse.dirigible.database.sql.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
The Enum DataType.
  • Enum Constant Details

    • VARCHAR

      public static final DataType VARCHAR
      The varchar.
    • TEXT

      public static final DataType TEXT
      The text.
    • CHAR

      public static final DataType CHAR
      The char.
    • DATE

      public static final DataType DATE
      The date.
    • SECONDDATE

      public static final DataType SECONDDATE
      The seconddate.
    • TIME

      public static final DataType TIME
      The time.
    • DATETIME

      public static final DataType DATETIME
      The datetime.
    • TIMESTAMP

      public static final DataType TIMESTAMP
      The timestamp.
    • INTEGER

      public static final DataType INTEGER
      The integer.
    • INT

      public static final DataType INT
      The int.
    • TINYINT

      public static final DataType TINYINT
      The tinyint.
    • BIGINT

      public static final DataType BIGINT
      The bigint.
    • SMALLINT

      public static final DataType SMALLINT
      The smallint.
    • REAL

      public static final DataType REAL
      The real.
    • DOUBLE

      public static final DataType DOUBLE
      The double.
    • DOUBLE_PRECISION

      public static final DataType DOUBLE_PRECISION
      The double precision.
    • BOOLEAN

      public static final DataType BOOLEAN
      The boolean.
    • BLOB

      public static final DataType BLOB
      The blob.
    • DECIMAL

      public static final DataType DECIMAL
      The decimal.
    • BIT

      public static final DataType BIT
      The bit.
    • NVARCHAR

      public static final DataType NVARCHAR
      The nvarchar.
    • FLOAT

      public static final DataType FLOAT
      The float.
    • BYTE

      public static final DataType BYTE
      The byte.
    • NCLOB

      public static final DataType NCLOB
      The nclob.
    • ARRAY

      public static final DataType ARRAY
      The array.
    • VARBINARY

      public static final DataType VARBINARY
      The varbinary.
    • BINARY_VARYING

      public static final DataType BINARY_VARYING
      The binary varying.
    • SHORTTEXT

      public static final DataType SHORTTEXT
      The shorttext.
    • ALPHANUM

      public static final DataType ALPHANUM
      The alphanum.
    • CLOB

      public static final DataType CLOB
      The clob.
    • SMALLDECIMAL

      public static final DataType SMALLDECIMAL
      The smalldecimal.
    • BINARY

      public static final DataType BINARY
      The binary.
    • ST_POINT

      public static final DataType ST_POINT
      The st point.
    • ST_GEOMETRY

      public static final DataType ST_GEOMETRY
      The st geometry.
    • CHARACTER_VARYING

      public static final DataType CHARACTER_VARYING
      The character varying.
    • BINARY_LARGE_OBJECT

      public static final DataType BINARY_LARGE_OBJECT
      The binary large object.
    • CHARACTER_LARGE_OBJECT

      public static final DataType CHARACTER_LARGE_OBJECT
      The character large object.
    • CHARACTER

      public static final DataType CHARACTER
      The character.
    • NCHAR

      public static final DataType NCHAR
      The nchar.
    • NUMERIC

      public static final DataType NUMERIC
      The numeric.
  • Method Details

    • values

      public static DataType[] 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 DataType 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
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Enum<DataType>
      Returns:
      the string
    • valueOfByName

      public static final DataType valueOfByName(String name)
      Value of by name.
      Parameters:
      name - the name
      Returns:
      the data type
    • isOfType

      public boolean isOfType(String dataType)
      Checks if is of type.
      Parameters:
      dataType - the data type
      Returns:
      true, if is of type