milvus-logo
LFAI
< Docs
  • Java
    • v1

DataType

The enum for available data types, defined by RPC proto.

package io.milvus.grpc;
public enum DataType
Type Code Description
None 0 For internal usage.
Bool 1
Int8 2
Int16 3
Int32 4
Int64 5
Float 10
Double 11
String 20 Reserved. Do not use this.
VarChar 21 Variable-length string with a limit on the maximum length.
Array 22 Array data type. The element type can be one of the data types: Int8, Int16, Int32, Int64, Varchar, Bool, Float, or Double.
JSON 23
BinaryVector 100 Binary vector. Each dimension is represented by 1 bit.
FloatVector 101 Float vector. Each dimension is represented by 1 float(4 bits) value.