Class DWCopyCommandSettings


  • public final class DWCopyCommandSettings
    extends Object
    DW Copy Command settings.
    • Constructor Detail

      • DWCopyCommandSettings

        public DWCopyCommandSettings()
    • Method Detail

      • getDefaultValues

        public List<DWCopyCommandDefaultValue> getDefaultValues()
        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.
      • setDefaultValues

        public DWCopyCommandSettings setDefaultValues​(List<DWCopyCommandDefaultValue> defaultValues)
        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.
      • getAdditionalOptions

        public Map<String,​String> getAdditionalOptions()
        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.
      • setAdditionalOptions

        public DWCopyCommandSettings setAdditionalOptions​(Map<String,​String> additionalOptions)
        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.