Partager via


SearchIndexerKnowledgeStoreProjectionSelector Class

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

Implements

public class SearchIndexerKnowledgeStoreProjectionSelector
implements JsonSerializable<SearchIndexerKnowledgeStoreProjectionSelector>

Abstract class to share properties between concrete selectors.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStoreProjectionSelector()

Creates an instance of SearchIndexerKnowledgeStoreProjectionSelector class.

Method Summary

Modifier and Type Method and Description
String getGeneratedKeyName()

Get the generatedKeyName property: Name of generated key to store projection under.

List<InputFieldMappingEntry> getInputs()

Get the inputs property: Nested inputs for complex projections.

String getReferenceKeyName()

Get the referenceKeyName property: Name of reference key to different projection.

String getSource()

Get the source property: Source data to project.

String getSourceContext()

Get the sourceContext property: Source context for complex projections.

SearchIndexerKnowledgeStoreProjectionSelector setGeneratedKeyName(String generatedKeyName)

Set the generatedKeyName property: Name of generated key to store projection under.

SearchIndexerKnowledgeStoreProjectionSelector setInputs(List<InputFieldMappingEntry> inputs)

Set the inputs property: Nested inputs for complex projections.

SearchIndexerKnowledgeStoreProjectionSelector setReferenceKeyName(String referenceKeyName)

Set the referenceKeyName property: Name of reference key to different projection.

SearchIndexerKnowledgeStoreProjectionSelector setSource(String source)

Set the source property: Source data to project.

SearchIndexerKnowledgeStoreProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerKnowledgeStoreProjectionSelector

public SearchIndexerKnowledgeStoreProjectionSelector()

Creates an instance of SearchIndexerKnowledgeStoreProjectionSelector class.

Method Details

getGeneratedKeyName

public String getGeneratedKeyName()

Get the generatedKeyName property: Name of generated key to store projection under.

Returns:

the generatedKeyName value.

getInputs

public List getInputs()

Get the inputs property: Nested inputs for complex projections.

Returns:

the inputs value.

getReferenceKeyName

public String getReferenceKeyName()

Get the referenceKeyName property: Name of reference key to different projection.

Returns:

the referenceKeyName value.

getSource

public String getSource()

Get the source property: Source data to project.

Returns:

the source value.

getSourceContext

public String getSourceContext()

Get the sourceContext property: Source context for complex projections.

Returns:

the sourceContext value.

setGeneratedKeyName

public SearchIndexerKnowledgeStoreProjectionSelector setGeneratedKeyName(String generatedKeyName)

Set the generatedKeyName property: Name of generated key to store projection under.

Parameters:

generatedKeyName - the generatedKeyName value to set.

Returns:

the SearchIndexerKnowledgeStoreProjectionSelector object itself.

setInputs

public SearchIndexerKnowledgeStoreProjectionSelector setInputs(List inputs)

Set the inputs property: Nested inputs for complex projections.

Parameters:

inputs - the inputs value to set.

Returns:

the SearchIndexerKnowledgeStoreProjectionSelector object itself.

setReferenceKeyName

public SearchIndexerKnowledgeStoreProjectionSelector setReferenceKeyName(String referenceKeyName)

Set the referenceKeyName property: Name of reference key to different projection.

Parameters:

referenceKeyName - the referenceKeyName value to set.

Returns:

the SearchIndexerKnowledgeStoreProjectionSelector object itself.

setSource

public SearchIndexerKnowledgeStoreProjectionSelector setSource(String source)

Set the source property: Source data to project.

Parameters:

source - the source value to set.

Returns:

the SearchIndexerKnowledgeStoreProjectionSelector object itself.

setSourceContext

public SearchIndexerKnowledgeStoreProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

Parameters:

sourceContext - the sourceContext value to set.

Returns:

the SearchIndexerKnowledgeStoreProjectionSelector object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to