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>

public final class VectorDataType extends com.azure.core.util.ExpandableStringEnum<VectorDataType>
Indicates the data type of vector.
  • Field Details

    • FLOAT32

      public static final VectorDataType FLOAT32
      Static value float32 for VectorDataType.
    • UINT8

      public static final VectorDataType UINT8
      Static value uint8 for VectorDataType.
    • INT8

      public static final VectorDataType INT8
      Static value int8 for VectorDataType.
  • Constructor Details

    • VectorDataType

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

    • fromString

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

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