SqlMISource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySource - com.
azure. analytics. synapse. artifacts. models. TabularSource - com.
azure. analytics. synapse. artifacts. models. SqlMISource
- com.
- com.
- com.
public final class SqlMISource
extends TabularSource
A copy activity Azure SQL Managed Instance source.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlMISource() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Object |
getIsolationLevel()
Get the isolation |
| Object |
getPartitionOption()
Get the partition |
|
Sql |
getPartitionSettings()
Get the partition |
| Object |
getProduceAdditionalTypes()
Get the produce |
| Object |
getSqlReaderQuery()
Get the sql |
| Object |
getSqlReaderStoredProcedureName()
Get the sql |
| Object |
getStoredProcedureParameters()
Get the stored |
| String |
getType()
Get the type property: Copy source type. |
|
Sql |
setAdditionalColumns(Object additionalColumns)
Set the additional |
|
Sql |
setIsolationLevel(Object isolationLevel)
Set the isolation |
|
Sql |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Sql |
setPartitionOption(Object partitionOption)
Set the partition |
|
Sql |
setPartitionSettings(SqlPartitionSettings partitionSettings)
Set the partition |
|
Sql |
setProduceAdditionalTypes(Object produceAdditionalTypes)
Set the produce |
|
Sql |
setQueryTimeout(Object queryTimeout)
Set the query |
|
Sql |
setSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Sql |
setSourceRetryWait(Object sourceRetryWait)
Set the source |
|
Sql |
setSqlReaderQuery(Object sqlReaderQuery)
Set the sql |
|
Sql |
setSqlReaderStoredProcedureName(Object sqlReaderStoredProcedureName)
Set the sql |
|
Sql |
setStoredProcedureParameters(Object storedProcedureParameters)
Set the stored |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CopySource
Methods inherited from TabularSource
Methods inherited from java.lang.Object
Constructor Details
SqlMISource
public SqlMISource()
Creates an instance of SqlMISource class.
Method Details
fromJson
public static SqlMISource fromJson(JsonReader jsonReader)
Reads an instance of SqlMISource from the JsonReader.
Parameters:
Returns:
Throws:
getIsolationLevel
public Object getIsolationLevel()
Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string).
Returns:
getPartitionOption
public Object getPartitionOption()
Get the partitionOption property: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
Returns:
getPartitionSettings
public SqlPartitionSettings getPartitionSettings()
Get the partitionSettings property: The settings that will be leveraged for Sql source partitioning.
Returns:
getProduceAdditionalTypes
public Object getProduceAdditionalTypes()
Get the produceAdditionalTypes property: Which additional types to produce.
Returns:
getSqlReaderQuery
public Object getSqlReaderQuery()
Get the sqlReaderQuery property: SQL reader query. Type: string (or Expression with resultType string).
Returns:
getSqlReaderStoredProcedureName
public Object getSqlReaderStoredProcedureName()
Get the sqlReaderStoredProcedureName property: Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
Returns:
getStoredProcedureParameters
public Object getStoredProcedureParameters()
Get the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
Returns:
getType
public String getType()
Get the type property: Copy source type.
Overrides:
SqlMISource.getType()Returns:
setAdditionalColumns
public SqlMISource setAdditionalColumns(Object additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
Overrides:
SqlMISource.setAdditionalColumns(Object additionalColumns)Parameters:
setIsolationLevel
public SqlMISource setIsolationLevel(Object isolationLevel)
Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string).
Parameters:
Returns:
setMaxConcurrentConnections
public SqlMISource setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
Overrides:
SqlMISource.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setPartitionOption
public SqlMISource setPartitionOption(Object partitionOption)
Set the partitionOption property: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
Parameters:
Returns:
setPartitionSettings
public SqlMISource setPartitionSettings(SqlPartitionSettings partitionSettings)
Set the partitionSettings property: The settings that will be leveraged for Sql source partitioning.
Parameters:
Returns:
setProduceAdditionalTypes
public SqlMISource setProduceAdditionalTypes(Object produceAdditionalTypes)
Set the produceAdditionalTypes property: Which additional types to produce.
Parameters:
Returns:
setQueryTimeout
public SqlMISource setQueryTimeout(Object queryTimeout)
Set the queryTimeout property: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
SqlMISource.setQueryTimeout(Object queryTimeout)Parameters:
setSourceRetryCount
public SqlMISource setSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
SqlMISource.setSourceRetryCount(Object sourceRetryCount)Parameters:
setSourceRetryWait
public SqlMISource setSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
SqlMISource.setSourceRetryWait(Object sourceRetryWait)Parameters:
setSqlReaderQuery
public SqlMISource setSqlReaderQuery(Object sqlReaderQuery)
Set the sqlReaderQuery property: SQL reader query. Type: string (or Expression with resultType string).
Parameters:
Returns:
setSqlReaderStoredProcedureName
public SqlMISource setSqlReaderStoredProcedureName(Object sqlReaderStoredProcedureName)
Set the sqlReaderStoredProcedureName property: Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
Parameters:
Returns:
setStoredProcedureParameters
public SqlMISource setStoredProcedureParameters(Object storedProcedureParameters)
Set the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlMISource.toJson(JsonWriter jsonWriter)Parameters:
Throws: