Package adams.db

Class SQLTableCleanUp

    • Field Detail

      • m_Statement

        protected SQLStatement m_Statement
        the SQL command to execute.
    • Constructor Detail

      • SQLTableCleanUp

        public SQLTableCleanUp()
    • Method Detail

      • setStatement

        public void setStatement​(SQLStatement value)
        Sets the SQL statement.
        Parameters:
        value - the statement
      • getStatement

        public SQLStatement getStatement()
        Returns the SQL statement.
        Returns:
        the statement
      • statementTipText

        public String statementTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • check

        protected String check()
        Performs checks before cleaning up the table.
        Overrides:
        check in class AbstractTableCleanUp
        Returns:
        null if checks successful, otherwise error message
      • doCleanUpTable

        protected String doCleanUpTable()
        Performs the actual clean up.
        Specified by:
        doCleanUpTable in class AbstractTableCleanUp
        Returns:
        null if successfully cleaned up, otherwise error message