Class VectorDataType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorDataType>
com.azure.resourcemanager.cosmos.models.VectorDataType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Indicates the data type of vector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorDataTypeStatic value float32 for VectorDataType.static final VectorDataTypeStatic value int8 for VectorDataType.static final VectorDataTypeStatic value uint8 for VectorDataType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorDataTypefromString(String name) Creates or finds a VectorDataType from its string representation.static Collection<VectorDataType> values()Gets known VectorDataType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
FLOAT32
Static value float32 for VectorDataType. -
UINT8
Static value uint8 for VectorDataType. -
INT8
Static value int8 for VectorDataType.
-
-
Constructor Details
-
VectorDataType
Deprecated.Use thefromString(String)factory method.Creates a new instance of VectorDataType value.
-
-
Method Details
-
fromString
Creates or finds a VectorDataType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VectorDataType.
-
values
Gets known VectorDataType values.- Returns:
- known VectorDataType values.
-
fromString(String)factory method.