CosmosDBVectorIndex Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The CosmosDBVectorIndex.
public class CosmosDBVectorIndex : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBVectorIndex>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBVectorIndex>
type CosmosDBVectorIndex = class
interface IJsonModel<CosmosDBVectorIndex>
interface IPersistableModel<CosmosDBVectorIndex>
Public Class CosmosDBVectorIndex
Implements IJsonModel(Of CosmosDBVectorIndex), IPersistableModel(Of CosmosDBVectorIndex)
- Inheritance
-
CosmosDBVectorIndex
- Implements
Constructors
CosmosDBVectorIndex(String, CosmosDBVectorIndexType) |
Initializes a new instance of CosmosDBVectorIndex. |
Properties
IndexType |
The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported. |
Path |
The path to the vector field in the document. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CosmosDBVectorIndex>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CosmosDBVectorIndex>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CosmosDBVectorIndex>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CosmosDBVectorIndex>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CosmosDBVectorIndex>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |