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 Details

    • FLAT

      public static final VectorIndexType FLAT
      Static value flat for VectorIndexType.
    • DISK_ANN

      public static final VectorIndexType DISK_ANN
      Static value diskANN for VectorIndexType.
    • QUANTIZED_FLAT

      public static final VectorIndexType QUANTIZED_FLAT
      Static value quantizedFlat for VectorIndexType.
  • Constructor Details

    • VectorIndexType

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

    • fromString

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

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