Class SearchIndexerKnowledgeStoreTableProjectionSelector
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjectionSelector
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreTableProjectionSelector
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjectionSelector>
public final class SearchIndexerKnowledgeStoreTableProjectionSelector
extends SearchIndexerKnowledgeStoreProjectionSelector
Description for what data to store in Azure Tables.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SearchIndexerKnowledgeStoreTableProjectionSelector class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStoreTableProjectionSelector from the JsonReader.Get the tableName property: Name of the Azure table to store projected data in.setGeneratedKeyName(String generatedKeyName) Set the generatedKeyName property: Name of generated key to store projection under.setInputs(List<InputFieldMappingEntry> inputs) Set the inputs property: Nested inputs for complex projections.setReferenceKeyName(String referenceKeyName) Set the referenceKeyName property: Name of reference key to different projection.Set the source property: Source data to project.setSourceContext(String sourceContext) Set the sourceContext property: Source context for complex projections.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjectionSelector
getGeneratedKeyName, getInputs, getReferenceKeyName, getSource, getSourceContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchIndexerKnowledgeStoreTableProjectionSelector
Creates an instance of SearchIndexerKnowledgeStoreTableProjectionSelector class.- Parameters:
tableName- the tableName value to set.
-
-
Method Details
-
getTableName
Get the tableName property: Name of the Azure table to store projected data in.- Returns:
- the tableName value.
-
setReferenceKeyName
public SearchIndexerKnowledgeStoreTableProjectionSelector setReferenceKeyName(String referenceKeyName) Set the referenceKeyName property: Name of reference key to different projection.- Overrides:
setReferenceKeyNamein classSearchIndexerKnowledgeStoreProjectionSelector- Parameters:
referenceKeyName- the referenceKeyName value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setGeneratedKeyName
public SearchIndexerKnowledgeStoreTableProjectionSelector setGeneratedKeyName(String generatedKeyName) Set the generatedKeyName property: Name of generated key to store projection under.- Overrides:
setGeneratedKeyNamein classSearchIndexerKnowledgeStoreProjectionSelector- Parameters:
generatedKeyName- the generatedKeyName value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setSource
Set the source property: Source data to project.- Overrides:
setSourcein classSearchIndexerKnowledgeStoreProjectionSelector- Parameters:
source- the source value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setSourceContext
Set the sourceContext property: Source context for complex projections.- Overrides:
setSourceContextin classSearchIndexerKnowledgeStoreProjectionSelector- Parameters:
sourceContext- the sourceContext value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setInputs
public SearchIndexerKnowledgeStoreTableProjectionSelector setInputs(List<InputFieldMappingEntry> inputs) Set the inputs property: Nested inputs for complex projections.- Overrides:
setInputsin classSearchIndexerKnowledgeStoreProjectionSelector- Parameters:
inputs- the inputs value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjectionSelector>- Overrides:
toJsonin classSearchIndexerKnowledgeStoreProjectionSelector- Throws:
IOException
-
fromJson
public static SearchIndexerKnowledgeStoreTableProjectionSelector fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SearchIndexerKnowledgeStoreTableProjectionSelector.
-