Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
com.sparsity.sparksee.gdb.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
Data type (domain) enumeration.

Author:
Sparsity Technologies http://www.sparsity-technologies.com
  • Enum Constant Details

    • Boolean

      public static final DataType Boolean
      Boolean data type.

      Boolean data type.

    • Integer

      public static final DataType Integer
      32-bit signed integer data type.

      32-bit signed integer data type.

    • Long

      public static final DataType Long
      64-bit signed integer data type.

      64-bit signed integer data type.

    • Double

      public static final DataType Double
      64-bit signed double data type.

      64-bit signed double data type.

    • Timestamp

      public static final DataType Timestamp
      Distance from Epoch (UTC) time in milliseconds precision.

      Distance from Epoch (UTC) time in milliseconds precision.

    • String

      public static final DataType String
      Unicode string data type.

      Unicode string data type.

    • Text

      public static final DataType Text
      Large unicode character object (CLOB) data type.

      Large unicode character object (CLOB) data type.

    • OID

      public static final DataType OID
      Object identifier (OID) data type.

      Object identifier (OID) data type.

  • 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