SearchIndexerKnowledgeStoreParameters Class

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

Implements

public final class SearchIndexerKnowledgeStoreParameters
implements JsonSerializable<SearchIndexerKnowledgeStoreParameters>

A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStoreParameters()

Creates an instance of SearchIndexerKnowledgeStoreParameters class.

Method Summary

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

Reads an instance of SearchIndexerKnowledgeStoreParameters from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: A dictionary of knowledge store-specific configuration properties.

Boolean isSynthesizeGeneratedKeyName()

Get the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.

SearchIndexerKnowledgeStoreParameters setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: A dictionary of knowledge store-specific configuration properties.

SearchIndexerKnowledgeStoreParameters setSynthesizeGeneratedKeyName(Boolean synthesizeGeneratedKeyName)

Set the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerKnowledgeStoreParameters

public SearchIndexerKnowledgeStoreParameters()

Creates an instance of SearchIndexerKnowledgeStoreParameters class.

Method Details

fromJson

public static SearchIndexerKnowledgeStoreParameters fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerKnowledgeStoreParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchIndexerKnowledgeStoreParameters 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 SearchIndexerKnowledgeStoreParameters.

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.

Returns:

the additionalProperties value.

isSynthesizeGeneratedKeyName

public Boolean isSynthesizeGeneratedKeyName()

Get the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.

Returns:

the synthesizeGeneratedKeyName value.

setAdditionalProperties

public SearchIndexerKnowledgeStoreParameters setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: A dictionary of knowledge store-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 SearchIndexerKnowledgeStoreParameters object itself.

setSynthesizeGeneratedKeyName

public SearchIndexerKnowledgeStoreParameters setSynthesizeGeneratedKeyName(Boolean synthesizeGeneratedKeyName)

Set the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if one isn't already present.

Parameters:

synthesizeGeneratedKeyName - the synthesizeGeneratedKeyName value to set.

Returns:

the SearchIndexerKnowledgeStoreParameters object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to