Partilhar via


SearchIndexerKnowledgeStoreObjectProjectionSelector Class

public final class SearchIndexerKnowledgeStoreObjectProjectionSelector
extends SearchIndexerKnowledgeStoreBlobProjectionSelector

Projection definition for what data to store in Azure Blob.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStoreObjectProjectionSelector(String storageContainer)

Creates an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector class.

Method Summary

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

Reads an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector from the JsonReader.

SearchIndexerKnowledgeStoreObjectProjectionSelector setGeneratedKeyName(String generatedKeyName)

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

SearchIndexerKnowledgeStoreObjectProjectionSelector setInputs(List<InputFieldMappingEntry> inputs)

Set the inputs property: Nested inputs for complex projections.

SearchIndexerKnowledgeStoreObjectProjectionSelector setReferenceKeyName(String referenceKeyName)

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

SearchIndexerKnowledgeStoreObjectProjectionSelector setSource(String source)

Set the source property: Source data to project.

SearchIndexerKnowledgeStoreObjectProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from SearchIndexerKnowledgeStoreBlobProjectionSelector

Methods inherited from SearchIndexerKnowledgeStoreProjectionSelector

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerKnowledgeStoreObjectProjectionSelector

public SearchIndexerKnowledgeStoreObjectProjectionSelector(String storageContainer)

Creates an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector class.

Parameters:

storageContainer - the storageContainer value to set.

Method Details

fromJson

public static SearchIndexerKnowledgeStoreObjectProjectionSelector fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

setGeneratedKeyName

public SearchIndexerKnowledgeStoreObjectProjectionSelector setGeneratedKeyName(String generatedKeyName)

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

Overrides:

SearchIndexerKnowledgeStoreObjectProjectionSelector.setGeneratedKeyName(String generatedKeyName)

Parameters:

generatedKeyName

setInputs

public SearchIndexerKnowledgeStoreObjectProjectionSelector setInputs(List inputs)

Set the inputs property: Nested inputs for complex projections.

Overrides:

SearchIndexerKnowledgeStoreObjectProjectionSelector.setInputs(List<InputFieldMappingEntry> inputs)

Parameters:

inputs

setReferenceKeyName

public SearchIndexerKnowledgeStoreObjectProjectionSelector setReferenceKeyName(String referenceKeyName)

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

Overrides:

SearchIndexerKnowledgeStoreObjectProjectionSelector.setReferenceKeyName(String referenceKeyName)

Parameters:

referenceKeyName

setSource

public SearchIndexerKnowledgeStoreObjectProjectionSelector setSource(String source)

Set the source property: Source data to project.

Overrides:

SearchIndexerKnowledgeStoreObjectProjectionSelector.setSource(String source)

Parameters:

source

setSourceContext

public SearchIndexerKnowledgeStoreObjectProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

Overrides:

SearchIndexerKnowledgeStoreObjectProjectionSelector.setSourceContext(String sourceContext)

Parameters:

sourceContext

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SearchIndexerKnowledgeStoreObjectProjectionSelector.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to