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 Details

    • SearchIndexerDataContainer

      public SearchIndexerDataContainer(String name)
      Creates an instance of SearchIndexerDataContainer class.
      Parameters:
      name - the name value to set.
  • Method Details

    • 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.