IndexedOneLakeKnowledgeSourceParameters Class

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

Implements

public final class IndexedOneLakeKnowledgeSourceParameters
implements JsonSerializable<IndexedOneLakeKnowledgeSourceParameters>

Parameters for OneLake knowledge source.

Constructor Summary

Constructor Description
IndexedOneLakeKnowledgeSourceParameters(String fabricWorkspaceId, String lakehouseId)

Creates an instance of IndexedOneLakeKnowledgeSourceParameters class.

Method Summary

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

Reads an instance of IndexedOneLakeKnowledgeSourceParameters from the JsonReader.

CreatedResources getCreatedResources()

Get the createdResources property: Resources created by the knowledge source.

String getFabricWorkspaceId()

Get the fabricWorkspaceId property: OneLake workspace ID.

KnowledgeSourceIngestionParameters getIngestionParameters()

Get the ingestionParameters property: Consolidates all general ingestion settings.

String getLakehouseId()

Get the lakehouseId property: Specifies which OneLake lakehouse to access.

String getTargetPath()

Get the targetPath property: Optional OneLakehouse folder or shortcut to filter OneLake content.

IndexedOneLakeKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)

Set the ingestionParameters property: Consolidates all general ingestion settings.

IndexedOneLakeKnowledgeSourceParameters setTargetPath(String targetPath)

Set the targetPath property: Optional OneLakehouse folder or shortcut to filter OneLake content.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

IndexedOneLakeKnowledgeSourceParameters

public IndexedOneLakeKnowledgeSourceParameters(String fabricWorkspaceId, String lakehouseId)

Creates an instance of IndexedOneLakeKnowledgeSourceParameters class.

Parameters:

fabricWorkspaceId - the fabricWorkspaceId value to set.
lakehouseId - the lakehouseId value to set.

Method Details

fromJson

public static IndexedOneLakeKnowledgeSourceParameters fromJson(JsonReader jsonReader)

Reads an instance of IndexedOneLakeKnowledgeSourceParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IndexedOneLakeKnowledgeSourceParameters 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.

getCreatedResources

public CreatedResources getCreatedResources()

Get the createdResources property: Resources created by the knowledge source.

Returns:

the createdResources value.

getFabricWorkspaceId

public String getFabricWorkspaceId()

Get the fabricWorkspaceId property: OneLake workspace ID.

Returns:

the fabricWorkspaceId value.

getIngestionParameters

public KnowledgeSourceIngestionParameters getIngestionParameters()

Get the ingestionParameters property: Consolidates all general ingestion settings.

Returns:

the ingestionParameters value.

getLakehouseId

public String getLakehouseId()

Get the lakehouseId property: Specifies which OneLake lakehouse to access.

Returns:

the lakehouseId value.

getTargetPath

public String getTargetPath()

Get the targetPath property: Optional OneLakehouse folder or shortcut to filter OneLake content.

Returns:

the targetPath value.

setIngestionParameters

public IndexedOneLakeKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)

Set the ingestionParameters property: Consolidates all general ingestion settings.

Parameters:

ingestionParameters - the ingestionParameters value to set.

Returns:

the IndexedOneLakeKnowledgeSourceParameters object itself.

setTargetPath

public IndexedOneLakeKnowledgeSourceParameters setTargetPath(String targetPath)

Set the targetPath property: Optional OneLakehouse folder or shortcut to filter OneLake content.

Parameters:

targetPath - the targetPath value to set.

Returns:

the IndexedOneLakeKnowledgeSourceParameters object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to