你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SearchIndexerKnowledgeStore Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStore

Implements

public final class SearchIndexerKnowledgeStore
implements JsonSerializable<SearchIndexerKnowledgeStore>

Definition of additional projections to azure blob, table, or files, of enriched data.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections)

Creates an instance of SearchIndexerKnowledgeStore class.

Method Summary

Modifier and Type Method and Description
static SearchIndexerKnowledgeStore fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerKnowledgeStore from the JsonReader.

List<SearchIndexerKnowledgeStoreProjection> getProjections()

Get the projections property: A list of additional projections to perform during indexing.

String getStorageConnectionString()

Get the storageConnectionString property: The connection string to the storage account projections will be stored in.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerKnowledgeStore

public SearchIndexerKnowledgeStore(String storageConnectionString, List projections)

Creates an instance of SearchIndexerKnowledgeStore class.

Parameters:

storageConnectionString - the storageConnectionString value to set.
projections - the projections value to set.

Method Details

fromJson

public static SearchIndexerKnowledgeStore fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getProjections

public List getProjections()

Get the projections property: A list of additional projections to perform during indexing.

Returns:

the projections value.

getStorageConnectionString

public String getStorageConnectionString()

Get the storageConnectionString property: The connection string to the storage account projections will be stored in.

Returns:

the storageConnectionString value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to