milvus-logo

DataType

The eunumeration of all supported data types defined by RPC proto in Milvus.

package io.milvus.grpc;
public enum DataType
TypeCodeDescription
None0For internal usage.
Bool1Boolean.
Int82Integer number stored with 8 bit.
Int163Integer number stored with 16 bit.
Int324Integer number stored with 32 bit.
Int645Integer number stored with 64 bit.
Float10Floating-point numbers.
Double1164-bit IEEE 754 floating point numbers.
String20Reserved. Do not use this.
VarChar21Variable-length string with a limit on the maximum length.
BinaryVector100Binary vector. Each dimension is represented by 1 bit.
FloatVector101Float vector. Each dimension is represented by 1 float (4 bits) value.