Class SearchIndexerKnowledgeStoreObjectProjectionSelector
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjectionSelector
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreBlobProjectionSelector
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreObjectProjectionSelector
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjectionSelector>
public final class SearchIndexerKnowledgeStoreObjectProjectionSelector
extends SearchIndexerKnowledgeStoreBlobProjectionSelector
Projection definition for what data to store in Azure Blob.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexerKnowledgeStoreObjectProjectionSelector(String storageContainer) Creates an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector from the JsonReader.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 SearchIndexerKnowledgeStoreBlobProjectionSelector
getStorageContainerMethods inherited from class SearchIndexerKnowledgeStoreProjectionSelector
getGeneratedKeyName, getInputs, getReferenceKeyName, getSource, getSourceContextMethods inherited from class 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
-
SearchIndexerKnowledgeStoreObjectProjectionSelector
Creates an instance of SearchIndexerKnowledgeStoreObjectProjectionSelector class.- Parameters:
storageContainer- the storageContainer value to set.
-
-
Method Details
-
setReferenceKeyName
public SearchIndexerKnowledgeStoreObjectProjectionSelector setReferenceKeyName(String referenceKeyName) Set the referenceKeyName property: Name of reference key to different projection.- Overrides:
setReferenceKeyNamein classSearchIndexerKnowledgeStoreBlobProjectionSelector- Parameters:
referenceKeyName- the referenceKeyName value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setGeneratedKeyName
public SearchIndexerKnowledgeStoreObjectProjectionSelector setGeneratedKeyName(String generatedKeyName) Set the generatedKeyName property: Name of generated key to store projection under.- Overrides:
setGeneratedKeyNamein classSearchIndexerKnowledgeStoreBlobProjectionSelector- Parameters:
generatedKeyName- the generatedKeyName value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setSource
Set the source property: Source data to project.- Overrides:
setSourcein classSearchIndexerKnowledgeStoreBlobProjectionSelector- Parameters:
source- the source value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setSourceContext
Set the sourceContext property: Source context for complex projections.- Overrides:
setSourceContextin classSearchIndexerKnowledgeStoreBlobProjectionSelector- Parameters:
sourceContext- the sourceContext value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
setInputs
public SearchIndexerKnowledgeStoreObjectProjectionSelector setInputs(List<InputFieldMappingEntry> inputs) Set the inputs property: Nested inputs for complex projections.- Overrides:
setInputsin classSearchIndexerKnowledgeStoreBlobProjectionSelector- Parameters:
inputs- the inputs value to set.- Returns:
- the SearchIndexerKnowledgeStoreProjectionSelector object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjectionSelector>- Overrides:
toJsonin classSearchIndexerKnowledgeStoreBlobProjectionSelector- Throws:
IOException
-
fromJson
public static SearchIndexerKnowledgeStoreObjectProjectionSelector fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SearchIndexerKnowledgeStoreObjectProjectionSelector.
-