Class SearchIndexerDataContainer
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SearchIndexerDataContainer
-
public final class SearchIndexerDataContainer extends Object
Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed.
-
-
Constructor Summary
Constructors Constructor Description SearchIndexerDataContainer(String name)
Creates an instance of SearchIndexerDataContainer class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
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.String
getQuery()
Get the query property: A query that is applied to this data container.SearchIndexerDataContainer
setQuery(String query)
Set the query property: A query that is applied to this data container.
-
-
-
Constructor Detail
-
SearchIndexerDataContainer
public SearchIndexerDataContainer(String name)
Creates an instance of SearchIndexerDataContainer class.- Parameters:
name
- the name value to set.
-
-
Method Detail
-
getName
public String 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
public String 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
public SearchIndexerDataContainer setQuery(String query)
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.
-
-