SqlMISink Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. CopySink - com.
azure. resourcemanager. datafactory. models. SqlMISink
- com.
- com.
public final class SqlMISink
extends CopySink
A copy activity Azure SQL Managed Instance sink.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlMISink() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Object |
preCopyScript()
Get the pre |
| Object |
sqlWriterStoredProcedureName()
Get the sql |
| Object |
sqlWriterTableType()
Get the sql |
| Object |
sqlWriterUseTableLock()
Get the sql |
| Object |
storedProcedureParameters()
Get the stored |
| Object |
storedProcedureTableTypeParameterName()
Get the stored |
| Object |
tableOption()
Get the table |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Copy sink type. |
|
Sql |
upsertSettings()
Get the upsert |
| void |
validate()
Validates the instance. |
|
Sql |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
|
Sql |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Sql |
withPreCopyScript(Object preCopyScript)
Set the pre |
|
Sql |
withSinkRetryCount(Object sinkRetryCount)
Set the sink |
|
Sql |
withSinkRetryWait(Object sinkRetryWait)
Set the sink |
|
Sql |
withSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
Set the sql |
|
Sql |
withSqlWriterTableType(Object sqlWriterTableType)
Set the sql |
|
Sql |
withSqlWriterUseTableLock(Object sqlWriterUseTableLock)
Set the sql |
|
Sql |
withStoredProcedureParameters(Object storedProcedureParameters)
Set the stored |
|
Sql |
withStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName)
Set the stored |
|
Sql |
withTableOption(Object tableOption)
Set the table |
|
Sql |
withUpsertSettings(SqlUpsertSettings upsertSettings)
Set the upsert |
|
Sql |
withWriteBatchSize(Object writeBatchSize)
Set the write |
|
Sql |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the write |
|
Sql |
withWriteBehavior(Object writeBehavior)
Set the write |
| Object |
writeBehavior()
Get the write |
Methods inherited from CopySink
Methods inherited from java.lang.Object
Constructor Details
SqlMISink
public SqlMISink()
Creates an instance of SqlMISink class.
Method Details
fromJson
public static SqlMISink fromJson(JsonReader jsonReader)
Reads an instance of SqlMISink from the JsonReader.
Parameters:
Returns:
Throws:
preCopyScript
public Object preCopyScript()
Get the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
Returns:
sqlWriterStoredProcedureName
public Object sqlWriterStoredProcedureName()
Get the sqlWriterStoredProcedureName property: SQL writer stored procedure name. Type: string (or Expression with resultType string).
Returns:
sqlWriterTableType
public Object sqlWriterTableType()
Get the sqlWriterTableType property: SQL writer table type. Type: string (or Expression with resultType string).
Returns:
sqlWriterUseTableLock
public Object sqlWriterUseTableLock()
Get the sqlWriterUseTableLock property: Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean).
Returns:
storedProcedureParameters
public Object storedProcedureParameters()
Get the storedProcedureParameters property: SQL stored procedure parameters.
Returns:
storedProcedureTableTypeParameterName
public Object storedProcedureTableTypeParameterName()
Get the storedProcedureTableTypeParameterName property: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
Returns:
tableOption
public Object tableOption()
Get the tableOption property: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlMISink.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Copy sink type.
Overrides:
SqlMISink.type()Returns:
upsertSettings
public SqlUpsertSettings upsertSettings()
Get the upsertSettings property: SQL upsert settings.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlMISink.validate()withDisableMetricsCollection
public SqlMISink withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
Overrides:
SqlMISink.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withMaxConcurrentConnections
public SqlMISink withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
Overrides:
SqlMISink.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withPreCopyScript
public SqlMISink withPreCopyScript(Object preCopyScript)
Set the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
Parameters:
Returns:
withSinkRetryCount
public SqlMISink withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).
Overrides:
SqlMISink.withSinkRetryCount(Object sinkRetryCount)Parameters:
withSinkRetryWait
public SqlMISink withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
SqlMISink.withSinkRetryWait(Object sinkRetryWait)Parameters:
withSqlWriterStoredProcedureName
public SqlMISink withSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
Set the sqlWriterStoredProcedureName property: SQL writer stored procedure name. Type: string (or Expression with resultType string).
Parameters:
Returns:
withSqlWriterTableType
public SqlMISink withSqlWriterTableType(Object sqlWriterTableType)
Set the sqlWriterTableType property: SQL writer table type. Type: string (or Expression with resultType string).
Parameters:
Returns:
withSqlWriterUseTableLock
public SqlMISink withSqlWriterUseTableLock(Object sqlWriterUseTableLock)
Set the sqlWriterUseTableLock property: Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
withStoredProcedureParameters
public SqlMISink withStoredProcedureParameters(Object storedProcedureParameters)
Set the storedProcedureParameters property: SQL stored procedure parameters.
Parameters:
Returns:
withStoredProcedureTableTypeParameterName
public SqlMISink withStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName)
Set the storedProcedureTableTypeParameterName property: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
Parameters:
Returns:
withTableOption
public SqlMISink withTableOption(Object tableOption)
Set the tableOption property: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string).
Parameters:
Returns:
withUpsertSettings
public SqlMISink withUpsertSettings(SqlUpsertSettings upsertSettings)
Set the upsertSettings property: SQL upsert settings.
Parameters:
Returns:
withWriteBatchSize
public SqlMISink withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
Overrides:
SqlMISink.withWriteBatchSize(Object writeBatchSize)Parameters:
withWriteBatchTimeout
public SqlMISink withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
SqlMISink.withWriteBatchTimeout(Object writeBatchTimeout)Parameters:
withWriteBehavior
public SqlMISink withWriteBehavior(Object writeBehavior)
Set the writeBehavior property: White behavior when copying data into azure SQL MI. Type: string (or Expression with resultType string).
Parameters:
Returns:
writeBehavior
public Object writeBehavior()
Get the writeBehavior property: White behavior when copying data into azure SQL MI. Type: string (or Expression with resultType string).
Returns: