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 Summary
ConstructorsConstructorDescriptionCreates an instance of SearchIndexerIndexProjection class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexerIndexProjectionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerIndexProjection from the JsonReader.Get the parameters property: A dictionary of index projection-specific configuration properties.Get the selectors property: A list of projections to be performed to secondary search indexes.setParameters(SearchIndexerIndexProjectionsParameters parameters) Set the parameters property: A dictionary of index projection-specific configuration properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchIndexerIndexProjection
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
public SearchIndexerIndexProjection setParameters(SearchIndexerIndexProjectionsParameters parameters) 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
- Specified by:
toJsonin interfacecom.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.
-