Class SqlDWSink
java.lang.Object
com.azure.analytics.synapse.artifacts.models.CopySink
com.azure.analytics.synapse.artifacts.models.SqlDWSink
A copy activity SQL Data Warehouse sink.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowCopyCommand property: Indicates to use Copy Command to copy data into SQL Data Warehouse.Get the allowPolyBase property: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable.Get the copyCommandSettings property: Specifies Copy Command related settings when allowCopyCommand is true.Get the polyBaseSettings property: Specifies PolyBase-related settings when allowPolyBase is true.Get the preCopyScript property: SQL pre-copy script.Get the tableOption property: The option to handle sink table, such as autoCreate.setAllowCopyCommand
(Object allowCopyCommand) Set the allowCopyCommand property: Indicates to use Copy Command to copy data into SQL Data Warehouse.setAllowPolyBase
(Object allowPolyBase) Set the allowPolyBase property: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable.setCopyCommandSettings
(DWCopyCommandSettings copyCommandSettings) Set the copyCommandSettings property: Specifies Copy Command related settings when allowCopyCommand is true.setMaxConcurrentConnections
(Object maxConcurrentConnections) Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.setPolyBaseSettings
(PolybaseSettings polyBaseSettings) Set the polyBaseSettings property: Specifies PolyBase-related settings when allowPolyBase is true.setPreCopyScript
(Object preCopyScript) Set the preCopyScript property: SQL pre-copy script.setSinkRetryCount
(Object sinkRetryCount) Set the sinkRetryCount property: Sink retry count.setSinkRetryWait
(Object sinkRetryWait) Set the sinkRetryWait property: Sink retry wait.setTableOption
(Object tableOption) Set the tableOption property: The option to handle sink table, such as autoCreate.setWriteBatchSize
(Object writeBatchSize) Set the writeBatchSize property: Write batch size.setWriteBatchTimeout
(Object writeBatchTimeout) Set the writeBatchTimeout property: Write batch timeout.Methods inherited from class com.azure.analytics.synapse.artifacts.models.CopySink
getAdditionalProperties, getMaxConcurrentConnections, getSinkRetryCount, getSinkRetryWait, getWriteBatchSize, getWriteBatchTimeout, setAdditionalProperties
-
Constructor Details
-
SqlDWSink
public SqlDWSink()
-
-
Method Details
-
getPreCopyScript
Get the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).- Returns:
- the preCopyScript value.
-
setPreCopyScript
Set the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).- Parameters:
preCopyScript
- the preCopyScript value to set.- Returns:
- the SqlDWSink object itself.
-
getAllowPolyBase
Get the allowPolyBase property: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean).- Returns:
- the allowPolyBase value.
-
setAllowPolyBase
Set the allowPolyBase property: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean).- Parameters:
allowPolyBase
- the allowPolyBase value to set.- Returns:
- the SqlDWSink object itself.
-
getPolyBaseSettings
Get the polyBaseSettings property: Specifies PolyBase-related settings when allowPolyBase is true.- Returns:
- the polyBaseSettings value.
-
setPolyBaseSettings
Set the polyBaseSettings property: Specifies PolyBase-related settings when allowPolyBase is true.- Parameters:
polyBaseSettings
- the polyBaseSettings value to set.- Returns:
- the SqlDWSink object itself.
-
getAllowCopyCommand
Get the allowCopyCommand property: Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean).- Returns:
- the allowCopyCommand value.
-
setAllowCopyCommand
Set the allowCopyCommand property: Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean).- Parameters:
allowCopyCommand
- the allowCopyCommand value to set.- Returns:
- the SqlDWSink object itself.
-
getCopyCommandSettings
Get the copyCommandSettings property: Specifies Copy Command related settings when allowCopyCommand is true.- Returns:
- the copyCommandSettings value.
-
setCopyCommandSettings
Set the copyCommandSettings property: Specifies Copy Command related settings when allowCopyCommand is true.- Parameters:
copyCommandSettings
- the copyCommandSettings value to set.- Returns:
- the SqlDWSink object itself.
-
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:
- the tableOption value.
-
setTableOption
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:
tableOption
- the tableOption value to set.- Returns:
- the SqlDWSink object itself.
-
setWriteBatchSize
Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.- Overrides:
setWriteBatchSize
in classCopySink
- Parameters:
writeBatchSize
- the writeBatchSize value to set.- Returns:
- the CopySink object itself.
-
setWriteBatchTimeout
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:
setWriteBatchTimeout
in classCopySink
- Parameters:
writeBatchTimeout
- the writeBatchTimeout value to set.- Returns:
- the CopySink object itself.
-
setSinkRetryCount
Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).- Overrides:
setSinkRetryCount
in classCopySink
- Parameters:
sinkRetryCount
- the sinkRetryCount value to set.- Returns:
- the CopySink object itself.
-
setSinkRetryWait
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:
setSinkRetryWait
in classCopySink
- Parameters:
sinkRetryWait
- the sinkRetryWait value to set.- Returns:
- the CopySink object itself.
-
setMaxConcurrentConnections
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).- Overrides:
setMaxConcurrentConnections
in classCopySink
- Parameters:
maxConcurrentConnections
- the maxConcurrentConnections value to set.- Returns:
- the CopySink object itself.
-