Partager via


SearchIndexerKnowledgeStoreTableProjectionSelector Class

public final class SearchIndexerKnowledgeStoreTableProjectionSelector
extends SearchIndexerKnowledgeStoreProjectionSelector

Description for what data to store in Azure Tables.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStoreTableProjectionSelector(String tableName)

Creates an instance of SearchIndexerKnowledgeStoreTableProjectionSelector class.

Method Summary

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

Reads an instance of SearchIndexerKnowledgeStoreTableProjectionSelector from the JsonReader.

String getTableName()

Get the tableName property: Name of the Azure table to store projected data in.

SearchIndexerKnowledgeStoreTableProjectionSelector setGeneratedKeyName(String generatedKeyName)

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

SearchIndexerKnowledgeStoreTableProjectionSelector setInputs(List<InputFieldMappingEntry> inputs)

Set the inputs property: Nested inputs for complex projections.

SearchIndexerKnowledgeStoreTableProjectionSelector setReferenceKeyName(String referenceKeyName)

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

SearchIndexerKnowledgeStoreTableProjectionSelector setSource(String source)

Set the source property: Source data to project.

SearchIndexerKnowledgeStoreTableProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from SearchIndexerKnowledgeStoreProjectionSelector

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerKnowledgeStoreTableProjectionSelector

public SearchIndexerKnowledgeStoreTableProjectionSelector(String tableName)

Creates an instance of SearchIndexerKnowledgeStoreTableProjectionSelector class.

Parameters:

tableName - the tableName value to set.

Method Details

fromJson

public static SearchIndexerKnowledgeStoreTableProjectionSelector fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerKnowledgeStoreTableProjectionSelector from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getTableName

public String getTableName()

Get the tableName property: Name of the Azure table to store projected data in.

Returns:

the tableName value.

setGeneratedKeyName

public SearchIndexerKnowledgeStoreTableProjectionSelector setGeneratedKeyName(String generatedKeyName)

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

Overrides:

SearchIndexerKnowledgeStoreTableProjectionSelector.setGeneratedKeyName(String generatedKeyName)

Parameters:

generatedKeyName

setInputs

public SearchIndexerKnowledgeStoreTableProjectionSelector setInputs(List inputs)

Set the inputs property: Nested inputs for complex projections.

Overrides:

SearchIndexerKnowledgeStoreTableProjectionSelector.setInputs(List<InputFieldMappingEntry> inputs)

Parameters:

inputs

setReferenceKeyName

public SearchIndexerKnowledgeStoreTableProjectionSelector setReferenceKeyName(String referenceKeyName)

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

Overrides:

SearchIndexerKnowledgeStoreTableProjectionSelector.setReferenceKeyName(String referenceKeyName)

Parameters:

referenceKeyName

setSource

public SearchIndexerKnowledgeStoreTableProjectionSelector setSource(String source)

Set the source property: Source data to project.

Overrides:

SearchIndexerKnowledgeStoreTableProjectionSelector.setSource(String source)

Parameters:

source

setSourceContext

public SearchIndexerKnowledgeStoreTableProjectionSelector setSourceContext(String sourceContext)

Set the sourceContext property: Source context for complex projections.

Overrides:

SearchIndexerKnowledgeStoreTableProjectionSelector.setSourceContext(String sourceContext)

Parameters:

sourceContext

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SearchIndexerKnowledgeStoreTableProjectionSelector.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to