IndexedSqlKnowledgeSourceParameters Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. IndexedSqlKnowledgeSourceParameters
- com.
Implements
public final class IndexedSqlKnowledgeSourceParameters
implements JsonSerializable<IndexedSqlKnowledgeSourceParameters>
Parameters for indexed SQL knowledge source.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexedSqlKnowledgeSourceParameters(String connectionString, String tableOrView) |
Creates an instance of Indexed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Indexed |
fromJson(JsonReader jsonReader)
Reads an instance of Indexed |
| String |
getConnectionString()
Get the connection |
|
List<Content |
getContentColumns()
Get the content |
|
Created |
getCreatedResources()
Get the created |
|
List<Embedding |
getEmbeddingColumns()
Get the embedding |
| String |
getHighWaterMarkColumnName()
Get the high |
|
Knowledge |
getIngestionParameters()
Get the ingestion |
| String |
getTableOrView()
Get the table |
|
Indexed |
setContentColumns(List<ContentColumnMapping> contentColumns)
Set the content |
|
Indexed |
setEmbeddingColumns(List<EmbeddingColumnMapping> embeddingColumns)
Set the embedding |
|
Indexed |
setHighWaterMarkColumnName(String highWaterMarkColumnName)
Set the high |
|
Indexed |
setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestion |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexedSqlKnowledgeSourceParameters
public IndexedSqlKnowledgeSourceParameters(String connectionString, String tableOrView)
Creates an instance of IndexedSqlKnowledgeSourceParameters class.
Parameters:
Method Details
fromJson
public static IndexedSqlKnowledgeSourceParameters fromJson(JsonReader jsonReader)
Reads an instance of IndexedSqlKnowledgeSourceParameters from the JsonReader.
Parameters:
Returns:
Throws:
getConnectionString
public String getConnectionString()
Get the connectionString property: The connection string for the Azure SQL Database or SQL Managed Instance.
Returns:
getContentColumns
public List<ContentColumnMapping> getContentColumns()
Get the contentColumns property: Optional column mappings for content fields. If omitted, all columns are auto-discovered.
Returns:
getCreatedResources
public CreatedResources getCreatedResources()
Get the createdResources property: Resources created by the knowledge source.
Returns:
getEmbeddingColumns
public List<EmbeddingColumnMapping> getEmbeddingColumns()
Get the embeddingColumns property: Optional column mappings for embedding vector fields. If omitted, no vector fields are created.
Returns:
getHighWaterMarkColumnName
public String getHighWaterMarkColumnName()
Get the highWaterMarkColumnName property: Optional column name for high water mark change detection. If provided, uses HighWaterMarkChangeDetectionPolicy.
Returns:
getIngestionParameters
public KnowledgeSourceIngestionParameters getIngestionParameters()
Get the ingestionParameters property: Consolidates all general ingestion settings including embedding model, schedule, and identity.
Returns:
getTableOrView
public String getTableOrView()
Get the tableOrView property: The name of the table or view to index. Can be schema-qualified (e.g., 'dbo.MyTable').
Returns:
setContentColumns
public IndexedSqlKnowledgeSourceParameters setContentColumns(List<ContentColumnMapping> contentColumns)
Set the contentColumns property: Optional column mappings for content fields. If omitted, all columns are auto-discovered.
Parameters:
Returns:
setEmbeddingColumns
public IndexedSqlKnowledgeSourceParameters setEmbeddingColumns(List<EmbeddingColumnMapping> embeddingColumns)
Set the embeddingColumns property: Optional column mappings for embedding vector fields. If omitted, no vector fields are created.
Parameters:
Returns:
setHighWaterMarkColumnName
public IndexedSqlKnowledgeSourceParameters setHighWaterMarkColumnName(String highWaterMarkColumnName)
Set the highWaterMarkColumnName property: Optional column name for high water mark change detection. If provided, uses HighWaterMarkChangeDetectionPolicy.
Parameters:
Returns:
setIngestionParameters
public IndexedSqlKnowledgeSourceParameters setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters)
Set the ingestionParameters property: Consolidates all general ingestion settings including embedding model, schedule, and identity.
Parameters:
Returns: