SearchIndexerKnowledgeStoreFileProjectionSelector Class

public final class SearchIndexerKnowledgeStoreFileProjectionSelector
extends SearchIndexerKnowledgeStoreBlobProjectionSelector

Projection definition for what data to store in Azure Files.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStoreFileProjectionSelector(String storageContainer)

Creates an instance of SearchIndexerKnowledgeStoreFileProjectionSelector class.

Method Summary

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

Reads an instance of SearchIndexerKnowledgeStoreFileProjectionSelector from the JsonReader.

SearchIndexerKnowledgeStoreFileProjectionSelector setGeneratedKeyName(String generatedKeyName)

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

SearchIndexerKnowledgeStoreFileProjectionSelector setInputs(List<InputFieldMappingEntry> inputs)

Set the inputs property: Nested inputs for complex projections.

SearchIndexerKnowledgeStoreFileProjectionSelector setReferenceKeyName(String referenceKeyName)

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

SearchIndexerKnowledgeStoreFileProjectionSelector setSource(String source)

Set the source property: Source data to project.

SearchIndexerKnowledgeStoreFileProjectionSelector 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

SearchIndexerKnowledgeStoreFileProjectionSelector

public SearchIndexerKnowledgeStoreFileProjectionSelector(String storageContainer)

Creates an instance of SearchIndexerKnowledgeStoreFileProjectionSelector class.

Parameters:

storageContainer - the storageContainer value to set.

Method Details

fromJson

public static SearchIndexerKnowledgeStoreFileProjectionSelector fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerKnowledgeStoreFileProjectionSelector from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchIndexerKnowledgeStoreFileProjectionSelector 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 SearchIndexerKnowledgeStoreFileProjectionSelector setGeneratedKeyName(String generatedKeyName)

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

Overrides:

SearchIndexerKnowledgeStoreFileProjectionSelector.setGeneratedKeyName(String generatedKeyName)

Parameters:

generatedKeyName

setInputs

public SearchIndexerKnowledgeStoreFileProjectionSelector setInputs(List inputs)

Set the inputs property: Nested inputs for complex projections.

Overrides:

SearchIndexerKnowledgeStoreFileProjectionSelector.setInputs(List<InputFieldMappingEntry> inputs)

Parameters:

inputs

setReferenceKeyName

public SearchIndexerKnowledgeStoreFileProjectionSelector setReferenceKeyName(String referenceKeyName)

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

Overrides:

SearchIndexerKnowledgeStoreFileProjectionSelector.setReferenceKeyName(String referenceKeyName)

Parameters:

referenceKeyName

setSource

public SearchIndexerKnowledgeStoreFileProjectionSelector setSource(String source)

Set the source property: Source data to project.

Overrides:

SearchIndexerKnowledgeStoreFileProjectionSelector.setSource(String source)

Parameters:

source

setSourceContext

public SearchIndexerKnowledgeStoreFileProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

Overrides:

SearchIndexerKnowledgeStoreFileProjectionSelector.setSourceContext(String sourceContext)

Parameters:

sourceContext

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SearchIndexerKnowledgeStoreFileProjectionSelector.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to