Share via


SearchIndexerDataContainer Class

Definition

Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed.

public class SearchIndexerDataContainer
public class SearchIndexerDataContainer : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SearchIndexerDataContainer>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SearchIndexerDataContainer>
type SearchIndexerDataContainer = class
type SearchIndexerDataContainer = class
    interface IJsonModel<SearchIndexerDataContainer>
    interface IPersistableModel<SearchIndexerDataContainer>
Public Class SearchIndexerDataContainer
Public Class SearchIndexerDataContainer
Implements IJsonModel(Of SearchIndexerDataContainer), IPersistableModel(Of SearchIndexerDataContainer)
Inheritance
SearchIndexerDataContainer
Implements

Constructors

SearchIndexerDataContainer(String)

Initializes a new instance of SearchIndexerDataContainer.

Properties

Name

The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.

Query

A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SearchIndexerDataContainer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SearchIndexerDataContainer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchIndexerDataContainer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchIndexerDataContainer>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SearchIndexerDataContainer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to