次の方法で共有


SearchIndexerKnowledgeStoreProjection Class

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

Implements

public final class SearchIndexerKnowledgeStoreProjection
implements JsonSerializable<SearchIndexerKnowledgeStoreProjection>

Container object for various projection selectors.

Constructor Summary

Constructor Description
SearchIndexerKnowledgeStoreProjection()

Creates an instance of SearchIndexerKnowledgeStoreProjection class.

Method Summary

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

Reads an instance of SearchIndexerKnowledgeStoreProjection from the JsonReader.

List<SearchIndexerKnowledgeStoreFileProjectionSelector> getFiles()

Get the files property: Projections to Azure File storage.

List<SearchIndexerKnowledgeStoreObjectProjectionSelector> getObjects()

Get the objects property: Projections to Azure Blob storage.

List<SearchIndexerKnowledgeStoreTableProjectionSelector> getTables()

Get the tables property: Projections to Azure Table storage.

SearchIndexerKnowledgeStoreProjection setFiles(List<SearchIndexerKnowledgeStoreFileProjectionSelector> files)

Set the files property: Projections to Azure File storage.

SearchIndexerKnowledgeStoreProjection setObjects(List<SearchIndexerKnowledgeStoreObjectProjectionSelector> objects)

Set the objects property: Projections to Azure Blob storage.

SearchIndexerKnowledgeStoreProjection setTables(List<SearchIndexerKnowledgeStoreTableProjectionSelector> tables)

Set the tables property: Projections to Azure Table storage.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerKnowledgeStoreProjection

public SearchIndexerKnowledgeStoreProjection()

Creates an instance of SearchIndexerKnowledgeStoreProjection class.

Method Details

fromJson

public static SearchIndexerKnowledgeStoreProjection fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerKnowledgeStoreProjection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchIndexerKnowledgeStoreProjection if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SearchIndexerKnowledgeStoreProjection.

getFiles

public List getFiles()

Get the files property: Projections to Azure File storage.

Returns:

the files value.

getObjects

public List getObjects()

Get the objects property: Projections to Azure Blob storage.

Returns:

the objects value.

getTables

public List getTables()

Get the tables property: Projections to Azure Table storage.

Returns:

the tables value.

setFiles

public SearchIndexerKnowledgeStoreProjection setFiles(List files)

Set the files property: Projections to Azure File storage.

Parameters:

files - the files value to set.

Returns:

the SearchIndexerKnowledgeStoreProjection object itself.

setObjects

public SearchIndexerKnowledgeStoreProjection setObjects(List objects)

Set the objects property: Projections to Azure Blob storage.

Parameters:

objects - the objects value to set.

Returns:

the SearchIndexerKnowledgeStoreProjection object itself.

setTables

public SearchIndexerKnowledgeStoreProjection setTables(List tables)

Set the tables property: Projections to Azure Table storage.

Parameters:

tables - the tables value to set.

Returns:

the SearchIndexerKnowledgeStoreProjection object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to