共用方式為


SearchIndexerIndexProjection Class

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

Implements

public final class SearchIndexerIndexProjection
implements JsonSerializable<SearchIndexerIndexProjection>

Definition of additional projections to secondary search indexes.

Constructor Summary

Constructor Description
SearchIndexerIndexProjection(List<SearchIndexerIndexProjectionSelector> selectors)

Creates an instance of SearchIndexerIndexProjection class.

Method Summary

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

Reads an instance of SearchIndexerIndexProjection from the JsonReader.

SearchIndexerIndexProjectionsParameters getParameters()

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

List<SearchIndexerIndexProjectionSelector> getSelectors()

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

SearchIndexerIndexProjection setParameters(SearchIndexerIndexProjectionsParameters parameters)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerIndexProjection

public SearchIndexerIndexProjection(List selectors)

Creates an instance of SearchIndexerIndexProjection class.

Parameters:

selectors - the selectors value to set.

Method Details

fromJson

public static SearchIndexerIndexProjection fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getParameters

public SearchIndexerIndexProjectionsParameters 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.

getSelectors

public List getSelectors()

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

Returns:

the selectors 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

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to