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 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

      public String getStorageConnectionString()
      Get the storageConnectionString property: The connection string to the storage account projections will be stored in.
      Returns:
      the storageConnectionString value.
    • getProjections

      public List<SearchIndexerKnowledgeStoreProjection> getProjections()
      Get the projections property: A list of additional projections to perform during indexing.
      Returns:
      the projections value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.