Package io.milvus.v2.common
Enum DataType
- java.lang.Object
-
- java.lang.Enum<DataType>
-
- io.milvus.v2.common.DataType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final DataType None
-
Bool
public static final DataType Bool
-
Int8
public static final DataType Int8
-
Int16
public static final DataType Int16
-
Int32
public static final DataType Int32
-
Int64
public static final DataType Int64
-
Float
public static final DataType Float
-
Double
public static final DataType Double
-
String
public static final DataType String
-
VarChar
public static final DataType VarChar
-
Array
public static final DataType Array
-
JSON
public static final DataType JSON
-
BinaryVector
public static final DataType BinaryVector
-
FloatVector
public static final DataType FloatVector
-
-
Method Detail
-
values
public static DataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataType c : DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-