Partager via


SearchIndexerIndexProjectionsParameters Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.SearchIndexerIndexProjectionsParameters

Implements

public final class SearchIndexerIndexProjectionsParameters
implements JsonSerializable<SearchIndexerIndexProjectionsParameters>

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.

Constructor Summary

Constructor Description
SearchIndexerIndexProjectionsParameters()

Creates an instance of SearchIndexerIndexProjectionsParameters class.

Method Summary

Modifier and Type Method and Description
static SearchIndexerIndexProjectionsParameters fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerIndexProjectionsParameters from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: A dictionary of index projection-specific configuration properties.

IndexProjectionMode getProjectionMode()

Get the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.

SearchIndexerIndexProjectionsParameters setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: A dictionary of index projection-specific configuration properties.

SearchIndexerIndexProjectionsParameters setProjectionMode(IndexProjectionMode projectionMode)

Set the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerIndexProjectionsParameters

public SearchIndexerIndexProjectionsParameters()

Creates an instance of SearchIndexerIndexProjectionsParameters class.

Method Details

fromJson

public static SearchIndexerIndexProjectionsParameters fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerIndexProjectionsParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchIndexerIndexProjectionsParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SearchIndexerIndexProjectionsParameters.

getAdditionalProperties

public Map getAdditionalProperties()

Get the additionalProperties 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 additionalProperties value.

getProjectionMode

public IndexProjectionMode getProjectionMode()

Get the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.

Returns:

the projectionMode value.

setAdditionalProperties

public SearchIndexerIndexProjectionsParameters setAdditionalProperties(Map additionalProperties)

Set the additionalProperties 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:

additionalProperties - the additionalProperties value to set.

Returns:

the SearchIndexerIndexProjectionsParameters object itself.

setProjectionMode

public SearchIndexerIndexProjectionsParameters setProjectionMode(IndexProjectionMode projectionMode)

Set the projectionMode property: Defines behavior of the index projections in relation to the rest of the indexer.

Parameters:

projectionMode - the projectionMode value to set.

Returns:

the SearchIndexerIndexProjectionsParameters object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to