Class SearchIndexerKnowledgeStore
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStore
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerKnowledgeStore>
public final class SearchIndexerKnowledgeStore
extends Object
implements com.azure.json.JsonSerializable<SearchIndexerKnowledgeStore>
Definition of additional projections to azure blob, table, or files, of enriched data.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections) Creates an instance of SearchIndexerKnowledgeStore class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexerKnowledgeStorefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerKnowledgeStore from the JsonReader.Get the projections property: A list of additional projections to perform during indexing.Get the storageConnectionString property: The connection string to the storage account projections will be stored in.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods 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
-
SearchIndexerKnowledgeStore
public SearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections) Creates an instance of SearchIndexerKnowledgeStore class.- Parameters:
storageConnectionString- the storageConnectionString value to set.projections- the projections value to set.
-
-
Method Details
-
getStorageConnectionString
Get the storageConnectionString property: The connection string to the storage account projections will be stored in.- Returns:
- the storageConnectionString value.
-
getProjections
Get the projections property: A list of additional projections to perform during indexing.- Returns:
- the projections value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerKnowledgeStore>- Throws:
IOException
-
fromJson
public static SearchIndexerKnowledgeStore fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SearchIndexerKnowledgeStore from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchIndexerKnowledgeStore 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 SearchIndexerKnowledgeStore.
-