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.

Example