Class DWCopyCommandSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.DWCopyCommandSettings
DW Copy Command settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalOptions property: Additional options directly passed to SQL DW in Copy Command.Get the defaultValues property: Specifies the default values for each target column in SQL DW.void
validate()
Validates the instance.withAdditionalOptions
(Map<String, String> additionalOptions) Set the additionalOptions property: Additional options directly passed to SQL DW in Copy Command.withDefaultValues
(List<DWCopyCommandDefaultValue> defaultValues) Set the defaultValues property: Specifies the default values for each target column in SQL DW.
-
Constructor Details
-
DWCopyCommandSettings
public DWCopyCommandSettings()Creates an instance of DWCopyCommandSettings class.
-
-
Method Details
-
defaultValues
Get the defaultValues property: Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).- Returns:
- the defaultValues value.
-
withDefaultValues
Set the defaultValues property: Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).- Parameters:
defaultValues
- the defaultValues value to set.- Returns:
- the DWCopyCommandSettings object itself.
-
additionalOptions
Get the additionalOptions property: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }.- Returns:
- the additionalOptions value.
-
withAdditionalOptions
Set the additionalOptions property: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }.- Parameters:
additionalOptions
- the additionalOptions value to set.- Returns:
- the DWCopyCommandSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-