Class CosmosVectorIndexSpec

java.lang.Object
com.azure.cosmos.models.CosmosVectorIndexSpec

public final class CosmosVectorIndexSpec extends Object
Vector Indexes spec for Azure CosmosDB service.
  • Constructor Details

    • CosmosVectorIndexSpec

      public CosmosVectorIndexSpec()
      Constructor
  • Method Details

    • getPath

      public String getPath()
      Gets path.
      Returns:
      the path.
    • setPath

      public CosmosVectorIndexSpec setPath(String path)
      Sets path.
      Parameters:
      path - the path.
      Returns:
      the SpatialSpec.
    • getType

      public String getType()
      Gets the vector index type for the vector index
      Returns:
      the vector index type
    • setType

      public CosmosVectorIndexSpec setType(String type)
      Sets the vector index type for the vector index
      Parameters:
      type - the vector index type
      Returns:
      the VectorIndexSpec