Class SearchIndexerIndexProjection

java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerIndexProjection
All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerIndexProjection>

public final class SearchIndexerIndexProjection extends Object implements com.azure.json.JsonSerializable<SearchIndexerIndexProjection>
Definition of additional projections to secondary search indexes.
  • Constructor Details

    • SearchIndexerIndexProjection

      public SearchIndexerIndexProjection(List<SearchIndexerIndexProjectionSelector> selectors)
      Creates an instance of SearchIndexerIndexProjection class.
      Parameters:
      selectors - the selectors value to set.
  • Method Details

    • getSelectors

      Get the selectors property: A list of projections to be performed to secondary search indexes.
      Returns:
      the selectors value.
    • getParameters

      Get the parameters property: A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.
      Returns:
      the parameters value.
    • setParameters

      Set the parameters property: A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the SearchIndexerIndexProjection object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SearchIndexerIndexProjection>
      Throws:
      IOException
    • fromJson

      public static SearchIndexerIndexProjection fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SearchIndexerIndexProjection from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SearchIndexerIndexProjection if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the SearchIndexerIndexProjection.