milvus-logo
LFAI
< Docs
  • Java

DataType

This is an enumeration that provides the following constants.

Constants

  • None(0)

    Sets the data type to NoneType.

  • Bool(1)

    Sets the data type to Boolean.

  • Int8(2)

    Sets the data type to Int8.

  • Int16(3)

    Sets the data type to Int16.

  • Int32(4)

    Sets the data type to Int32.

  • Int64(5)

    Sets the data type to Int64.

  • Float(10)

    Sets the data type to Float.

  • Double(11)

    Sets the data type to Double.

  • String(20)

    Sets the data type to String.

  • VarChar(21)

    Sets the data type to VarChar.

  • Array(22)

    Sets the data type to Array.

  • JSON(23)

    Sets the data type to JSON.

  • BinaryVector(100)

    Sets the data type to Binary Vector.

  • FloatVector(101)

    Sets the data type to Float Vector.

  • Float16Vector(102)

    Sets the data type to Float16 Vector.

  • BFloat16Vector(103)

    Sets the data type to BFloat16 Vector.