Class VectorQueryKind
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorQueryKind>
com.azure.search.documents.models.VectorQueryKind
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VectorQueryKind
extends com.azure.core.util.ExpandableStringEnum<VectorQueryKind>
The kind of vector query being performed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorQueryKindVector query where a text value that needs to be vectorized is provided.static final VectorQueryKindVector query where a raw vector value is provided. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorQueryKindfromString(String name) Creates or finds a VectorQueryKind from its string representation.static Collection<VectorQueryKind> values()Gets known VectorQueryKind values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
VECTOR
Vector query where a raw vector value is provided. -
TEXT
Vector query where a text value that needs to be vectorized is provided.
-
-
Constructor Details
-
VectorQueryKind
Deprecated.Use thefromString(String)factory method.Creates a new instance of VectorQueryKind value.
-
-
Method Details
-
fromString
Creates or finds a VectorQueryKind from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VectorQueryKind.
-
values
Gets known VectorQueryKind values.- Returns:
- known VectorQueryKind values.
-
fromString(String)factory method.