Class SearchIndexerKnowledgeStoreFileProjectionSelector
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjectionSelector
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreBlobProjectionSelector
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreFileProjectionSelector
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStoreProjectionSelector>
public final class SearchIndexerKnowledgeStoreFileProjectionSelector
extends SearchIndexerKnowledgeStoreBlobProjectionSelector
Projection definition for what data to store in Azure Files.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexerKnowledgeStoreFileProjectionSelector(String storageContainer) Creates an instance of SearchIndexerKnowledgeStoreFileProjectionSelector class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStoreFileProjectionSelector 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
-
SearchIndexerKnowledgeStoreFileProjectionSelector
Creates an instance of SearchIndexerKnowledgeStoreFileProjectionSelector class.- Parameters:
storageContainer- the storageContainer value to set.
-
-
Method Details
-
setReferenceKeyName
public SearchIndexerKnowledgeStoreFileProjectionSelector 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 SearchIndexerKnowledgeStoreFileProjectionSelector 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 SearchIndexerKnowledgeStoreFileProjectionSelector 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 SearchIndexerKnowledgeStoreFileProjectionSelector fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SearchIndexerKnowledgeStoreFileProjectionSelector.
-