Class SearchIndexerDataContainer
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerDataContainer
Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SearchIndexerDataContainer class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name property: The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.getQuery()
Get the query property: A query that is applied to this data container.Set the query property: A query that is applied to this data container.
-
Constructor Details
-
SearchIndexerDataContainer
Creates an instance of SearchIndexerDataContainer class.- Parameters:
name
- the name value to set.
-
-
Method Details
-
getName
Get the name property: The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.- Returns:
- the name value.
-
getQuery
Get the query property: 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.- Returns:
- the query value.
-
setQuery
Set the query property: 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.- Parameters:
query
- the query value to set.- Returns:
- the SearchIndexerDataContainer object itself.
-