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 Details

    • VECTOR

      public static final VectorQueryKind VECTOR
      Vector query where a raw vector value is provided.
    • TEXT

      public static final VectorQueryKind TEXT
      Vector query where a text value that needs to be vectorized is provided.
    • IMAGE_URL

      public static final VectorQueryKind IMAGE_URL
      Vector query where an url that represents an image value that needs to be vectorized is provided.
    • IMAGE_BINARY

      public static final VectorQueryKind IMAGE_BINARY
      Vector query where a base 64 encoded binary of an image that needs to be vectorized is provided.
  • Constructor Details

    • VectorQueryKind

      @Deprecated public VectorQueryKind()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of VectorQueryKind value.
  • Method Details

    • fromString

      public static VectorQueryKind fromString(String name)
      Creates or finds a VectorQueryKind from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding VectorQueryKind.
    • values

      public static Collection<VectorQueryKind> values()
      Gets known VectorQueryKind values.
      Returns:
      known VectorQueryKind values.