Class VectorIndexType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorIndexType>
com.azure.resourcemanager.cosmos.models.VectorIndexType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VectorIndexType
extends com.azure.core.util.ExpandableStringEnum<VectorIndexType>
The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorIndexTypeStatic value diskANN for VectorIndexType.static final VectorIndexTypeStatic value flat for VectorIndexType.static final VectorIndexTypeStatic value quantizedFlat for VectorIndexType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorIndexTypefromString(String name) Creates or finds a VectorIndexType from its string representation.static Collection<VectorIndexType> values()Gets known VectorIndexType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
FLAT
Static value flat for VectorIndexType. -
DISK_ANN
Static value diskANN for VectorIndexType. -
QUANTIZED_FLAT
Static value quantizedFlat for VectorIndexType.
-
-
Constructor Details
-
VectorIndexType
Deprecated.Use thefromString(String)factory method.Creates a new instance of VectorIndexType value.
-
-
Method Details
-
fromString
Creates or finds a VectorIndexType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VectorIndexType.
-
values
Gets known VectorIndexType values.- Returns:
- known VectorIndexType values.
-
fromString(String)factory method.