Interface DataTypes


public interface DataTypes
To get a specific data type, users should use singleton objects and factory methods in this class.
  • Field Details

    • BooleanType

      static final BooleanType BooleanType
      Boolean data type.
    • CharType

      static final CharType CharType
      Char data type.
    • ByteType

      static final ByteType ByteType
      Byte data type.
    • ShortType

      static final ShortType ShortType
      Short data type.
    • IntType

      static final IntType IntType
      Integer data type.
    • LongType

      static final LongType LongType
      Long data type.
    • FloatType

      static final FloatType FloatType
      Float data type.
    • DoubleType

      static final DoubleType DoubleType
      Double data type.
    • NullableBooleanType

      static final BooleanType NullableBooleanType
      Nullable boolean data type.
    • NullableCharType

      static final CharType NullableCharType
      Nullable char data type.
    • NullableByteType

      static final ByteType NullableByteType
      Nullable byte data type.
    • NullableShortType

      static final ShortType NullableShortType
      Nullable short data type.
    • NullableIntType

      static final IntType NullableIntType
      Nullable integer data type.
    • NullableLongType

      static final LongType NullableLongType
      Nullable long data type.
    • NullableFloatType

      static final FloatType NullableFloatType
      Nullable float data type.
    • NullableDoubleType

      static final DoubleType NullableDoubleType
      Nullable double data type.
    • DecimalType

      static final DecimalType DecimalType
      Decimal data type.
    • StringType

      static final StringType StringType
      String data type.
    • DateType

      static final DateType DateType
      Date data type with ISO format.
    • DateTimeType

      static final DateTimeType DateTimeType
      DateTime data type with ISO format.
    • TimeType

      static final TimeType TimeType
      Time data type with ISO format.
    • ObjectType

      static final ObjectType ObjectType
      Plain Object data type.
    • BooleanArrayType

      static final ArrayType BooleanArrayType
      Boolean Array data type.
    • CharArrayType

      static final ArrayType CharArrayType
      Char Array data type.
    • ByteArrayType

      static final ArrayType ByteArrayType
      Byte Array data type.
    • ShortArrayType

      static final ArrayType ShortArrayType
      Short Array data type.
    • IntArrayType

      static final ArrayType IntArrayType
      Integer Array data type.
    • LongArrayType

      static final ArrayType LongArrayType
      Long Array data type.
    • FloatArrayType

      static final ArrayType FloatArrayType
      Float Array data type.
    • DoubleArrayType

      static final ArrayType DoubleArrayType
      Double Array data type.
  • Method Details

    • object

      static DataType object(Class<?> clazz)
      Returns an object data type of given class.
      Parameters:
      clazz - the object class.
      Returns:
      the object data type.
    • category

      static DataType category(int levels)
      Returns a data type of categorical variable.
      Parameters:
      levels - the number of categorical measurement levels.
      Returns:
      the categorical data type.
    • array

      static ArrayType array(DataType type)
      Returns an array data type.
      Parameters:
      type - the data type of array elements.
      Returns:
      the array data type.