CosmosVectorIndexSpec Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosVectorIndexSpec
- com.
public final class CosmosVectorIndexSpec
Vector Indexes spec for Azure CosmosDB service.
Constructor Summary
Constructor | Description |
---|---|
CosmosVectorIndexSpec() |
Constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Gets path. |
String |
getType()
Gets the vector index type for the vector index |
Cosmos |
setPath(String path)
Sets path. |
Cosmos |
setType(String type)
Sets the vector index type for the vector index |
Methods inherited from java.lang.Object
Constructor Details
CosmosVectorIndexSpec
public CosmosVectorIndexSpec()
Constructor
Method Details
getPath
public String getPath()
Gets path.
Returns:
getType
public String getType()
Gets the vector index type for the vector index
Returns:
setPath
public CosmosVectorIndexSpec setPath(String path)
Sets path.
Parameters:
Returns:
setType
public CosmosVectorIndexSpec setType(String type)
Sets the vector index type for the vector index
Parameters:
Returns:
Applies to
Azure SDK for Java
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro