SqlMISink Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySink - com.
azure. analytics. synapse. artifacts. 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 |
getPreCopyScript()
Get the pre |
| Object |
getSqlWriterStoredProcedureName()
Get the sql |
| Object |
getSqlWriterTableType()
Get the sql |
| Object |
getStoredProcedureParameters()
Get the stored |
| Object |
getStoredProcedureTableTypeParameterName()
Get the stored |
| Object |
getTableOption()
Get the table |
| String |
getType()
Get the type property: Copy sink type. |
|
Sql |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Sql |
setPreCopyScript(Object preCopyScript)
Set the pre |
|
Sql |
setSinkRetryCount(Object sinkRetryCount)
Set the sink |
|
Sql |
setSinkRetryWait(Object sinkRetryWait)
Set the sink |
|
Sql |
setSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
Set the sql |
|
Sql |
setSqlWriterTableType(Object sqlWriterTableType)
Set the sql |
|
Sql |
setStoredProcedureParameters(Object storedProcedureParameters)
Set the stored |
|
Sql |
setStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName)
Set the stored |
|
Sql |
setTableOption(Object tableOption)
Set the table |
|
Sql |
setWriteBatchSize(Object writeBatchSize)
Set the write |
|
Sql |
setWriteBatchTimeout(Object writeBatchTimeout)
Set the write |
|
Json |
toJson(JsonWriter jsonWriter) |
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:
getPreCopyScript
public Object getPreCopyScript()
Get the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
Returns:
getSqlWriterStoredProcedureName
public Object getSqlWriterStoredProcedureName()
Get the sqlWriterStoredProcedureName property: SQL writer stored procedure name. Type: string (or Expression with resultType string).
Returns:
getSqlWriterTableType
public Object getSqlWriterTableType()
Get the sqlWriterTableType property: SQL writer table type. Type: string (or Expression with resultType string).
Returns:
getStoredProcedureParameters
public Object getStoredProcedureParameters()
Get the storedProcedureParameters property: SQL stored procedure parameters.
Returns:
getStoredProcedureTableTypeParameterName
public Object getStoredProcedureTableTypeParameterName()
Get the storedProcedureTableTypeParameterName property: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
Returns:
getTableOption
public Object getTableOption()
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:
getType
public String getType()
Get the type property: Copy sink type.
Overrides:
SqlMISink.getType()Returns:
setMaxConcurrentConnections
public SqlMISink setMaxConcurrentConnections(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.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setPreCopyScript
public SqlMISink setPreCopyScript(Object preCopyScript)
Set the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
Parameters:
Returns:
setSinkRetryCount
public SqlMISink setSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).
Overrides:
SqlMISink.setSinkRetryCount(Object sinkRetryCount)Parameters:
setSinkRetryWait
public SqlMISink setSinkRetryWait(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.setSinkRetryWait(Object sinkRetryWait)Parameters:
setSqlWriterStoredProcedureName
public SqlMISink setSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
Set the sqlWriterStoredProcedureName property: SQL writer stored procedure name. Type: string (or Expression with resultType string).
Parameters:
Returns:
setSqlWriterTableType
public SqlMISink setSqlWriterTableType(Object sqlWriterTableType)
Set the sqlWriterTableType property: SQL writer table type. Type: string (or Expression with resultType string).
Parameters:
Returns:
setStoredProcedureParameters
public SqlMISink setStoredProcedureParameters(Object storedProcedureParameters)
Set the storedProcedureParameters property: SQL stored procedure parameters.
Parameters:
Returns:
setStoredProcedureTableTypeParameterName
public SqlMISink setStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName)
Set the storedProcedureTableTypeParameterName property: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
Parameters:
Returns:
setTableOption
public SqlMISink setTableOption(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:
setWriteBatchSize
public SqlMISink setWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
Overrides:
SqlMISink.setWriteBatchSize(Object writeBatchSize)Parameters:
setWriteBatchTimeout
public SqlMISink setWriteBatchTimeout(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.setWriteBatchTimeout(Object writeBatchTimeout)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlMISink.toJson(JsonWriter jsonWriter)Parameters:
Throws: