Enum Class DataType.ID

java.lang.Object
java.lang.Enum<DataType.ID>
smile.data.type.DataType.ID
All Implemented Interfaces:
Serializable, Comparable<DataType.ID>, Constable
Enclosing interface:
DataType

public static enum DataType.ID extends Enum<DataType.ID>
Data type ID.
  • Enum Constant Details

    • Boolean

      public static final DataType.ID Boolean
      Boolean type ID.
    • Byte

      public static final DataType.ID Byte
      Byte type ID.
    • Char

      public static final DataType.ID Char
      Char type ID.
    • Short

      public static final DataType.ID Short
      Short type ID.
    • Integer

      public static final DataType.ID Integer
      Integer type ID.
    • Long

      public static final DataType.ID Long
      Long type ID.
    • Float

      public static final DataType.ID Float
      Float type ID.
    • Double

      public static final DataType.ID Double
      Double type ID.
    • Decimal

      public static final DataType.ID Decimal
      Decimal type ID.
    • String

      public static final DataType.ID String
      String type ID.
    • Date

      public static final DataType.ID Date
      Date type ID.
    • Time

      public static final DataType.ID Time
      Time type ID.
    • DateTime

      public static final DataType.ID DateTime
      DateTime type ID.
    • Object

      public static final DataType.ID Object
      Object type ID.
    • Array

      public static final DataType.ID Array
      Array type ID.
    • Struct

      public static final DataType.ID Struct
      Struct type ID.
  • Method Details

    • values

      public static DataType.ID[] 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.ID 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