Class SqlUpsertSettings


  • public final class SqlUpsertSettings
    extends Object
    Sql upsert option settings.
    • Constructor Detail

      • SqlUpsertSettings

        public SqlUpsertSettings()
    • Method Detail

      • useTempDB

        public Object useTempDB()
        Get the useTempDB property: Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean).
        Returns:
        the useTempDB value.
      • withUseTempDB

        public SqlUpsertSettings withUseTempDB​(Object useTempDB)
        Set the useTempDB property: Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean).
        Parameters:
        useTempDB - the useTempDB value to set.
        Returns:
        the SqlUpsertSettings object itself.
      • interimSchemaName

        public Object interimSchemaName()
        Get the interimSchemaName property: Schema name for interim table. Type: string (or Expression with resultType string).
        Returns:
        the interimSchemaName value.
      • withInterimSchemaName

        public SqlUpsertSettings withInterimSchemaName​(Object interimSchemaName)
        Set the interimSchemaName property: Schema name for interim table. Type: string (or Expression with resultType string).
        Parameters:
        interimSchemaName - the interimSchemaName value to set.
        Returns:
        the SqlUpsertSettings object itself.
      • keys

        public Object keys()
        Get the keys property: Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings).
        Returns:
        the keys value.
      • withKeys

        public SqlUpsertSettings withKeys​(Object keys)
        Set the keys property: Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings).
        Parameters:
        keys - the keys value to set.
        Returns:
        the SqlUpsertSettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.