SqlServerSink Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySink - com.
azure. analytics. synapse. artifacts. models. SqlServerSink
- com.
- com.
public final class SqlServerSink
extends CopySink
A copy activity SQL server sink.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlServerSink() |
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
SqlServerSink
public SqlServerSink()
Creates an instance of SqlServerSink class.
Method Details
fromJson
public static SqlServerSink fromJson(JsonReader jsonReader)
Reads an instance of SqlServerSink 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:
SqlServerSink.getType()Returns:
setMaxConcurrentConnections
public SqlServerSink 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:
SqlServerSink.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setPreCopyScript
public SqlServerSink setPreCopyScript(Object preCopyScript)
Set the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
Parameters:
Returns:
setSinkRetryCount
public SqlServerSink setSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).
Overrides:
SqlServerSink.setSinkRetryCount(Object sinkRetryCount)Parameters:
setSinkRetryWait
public SqlServerSink 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:
SqlServerSink.setSinkRetryWait(Object sinkRetryWait)Parameters:
setSqlWriterStoredProcedureName
public SqlServerSink setSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
Set the sqlWriterStoredProcedureName property: SQL writer stored procedure name. Type: string (or Expression with resultType string).
Parameters:
Returns:
setSqlWriterTableType
public SqlServerSink setSqlWriterTableType(Object sqlWriterTableType)
Set the sqlWriterTableType property: SQL writer table type. Type: string (or Expression with resultType string).
Parameters:
Returns:
setStoredProcedureParameters
public SqlServerSink setStoredProcedureParameters(Object storedProcedureParameters)
Set the storedProcedureParameters property: SQL stored procedure parameters.
Parameters:
Returns:
setStoredProcedureTableTypeParameterName
public SqlServerSink 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 SqlServerSink 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 SqlServerSink setWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
Overrides:
SqlServerSink.setWriteBatchSize(Object writeBatchSize)Parameters:
setWriteBatchTimeout
public SqlServerSink 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:
SqlServerSink.setWriteBatchTimeout(Object writeBatchTimeout)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlServerSink.toJson(JsonWriter jsonWriter)Parameters:
Throws: