public final class SqlDWSink extends CopySink
| Constructor and Description |
|---|
SqlDWSink() |
| Modifier and Type | Method and Description |
|---|---|
Object |
allowCopyCommand()
Get the allowCopyCommand property: Indicates to use Copy Command to copy data into SQL Data Warehouse.
|
Object |
allowPolyBase()
Get the allowPolyBase property: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable.
|
DWCopyCommandSettings |
copyCommandSettings()
Get the copyCommandSettings property: Specifies Copy Command related settings when allowCopyCommand is true.
|
PolybaseSettings |
polyBaseSettings()
Get the polyBaseSettings property: Specifies PolyBase-related settings when allowPolyBase is true.
|
Object |
preCopyScript()
Get the preCopyScript property: SQL pre-copy script.
|
Object |
tableOption()
Get the tableOption property: The option to handle sink table, such as autoCreate.
|
void |
validate()
Validates the instance.
|
SqlDWSink |
withAllowCopyCommand(Object allowCopyCommand)
Set the allowCopyCommand property: Indicates to use Copy Command to copy data into SQL Data Warehouse.
|
SqlDWSink |
withAllowPolyBase(Object allowPolyBase)
Set the allowPolyBase property: Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable.
|
SqlDWSink |
withCopyCommandSettings(DWCopyCommandSettings copyCommandSettings)
Set the copyCommandSettings property: Specifies Copy Command related settings when allowCopyCommand is true.
|
SqlDWSink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
SqlDWSink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
SqlDWSink |
withPolyBaseSettings(PolybaseSettings polyBaseSettings)
Set the polyBaseSettings property: Specifies PolyBase-related settings when allowPolyBase is true.
|
SqlDWSink |
withPreCopyScript(Object preCopyScript)
Set the preCopyScript property: SQL pre-copy script.
|
SqlDWSink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
SqlDWSink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
SqlDWSink |
withTableOption(Object tableOption)
Set the tableOption property: The option to handle sink table, such as autoCreate.
|
SqlDWSink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
SqlDWSink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic Object preCopyScript()
public SqlDWSink withPreCopyScript(Object preCopyScript)
preCopyScript - the preCopyScript value to set.public Object allowPolyBase()
public SqlDWSink withAllowPolyBase(Object allowPolyBase)
allowPolyBase - the allowPolyBase value to set.public PolybaseSettings polyBaseSettings()
public SqlDWSink withPolyBaseSettings(PolybaseSettings polyBaseSettings)
polyBaseSettings - the polyBaseSettings value to set.public Object allowCopyCommand()
public SqlDWSink withAllowCopyCommand(Object allowCopyCommand)
allowCopyCommand - the allowCopyCommand value to set.public DWCopyCommandSettings copyCommandSettings()
public SqlDWSink withCopyCommandSettings(DWCopyCommandSettings copyCommandSettings)
copyCommandSettings - the copyCommandSettings value to set.public Object tableOption()
public SqlDWSink withTableOption(Object tableOption)
tableOption - the tableOption value to set.public SqlDWSink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public SqlDWSink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public SqlDWSink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public SqlDWSink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public SqlDWSink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public SqlDWSink withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class CopySinkdisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class CopySinkIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.