milvus-logo
LFAI
< Docs
  • Node

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 Int64.

  • 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.

  • 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.

  • SparseFloatVector = 104

    Sets the data type to Sparse Vector.

Example

Sets the data type to Sparse Vector.

Feedback

Was this page helpful?