Class MySQL

    • Constructor Detail

      • MySQL

        public MySQL()
    • Method Detail

      • setTable

        public void setTable​(String value)
        Sets the table name to use.
        Parameters:
        value - the name
      • getTable

        public String getTable()
        Returns the table name to use.
        Returns:
        the name
      • tableTipText

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

        public boolean requiresFlowContext()
        Returns whether flow context is required.
        Specified by:
        requiresFlowContext in class AbstractSetupUpload
        Returns:
        true if required
      • initDatabase

        protected String initDatabase()
        Initializes the database connection, if necessary.
        Returns:
        null if successful or already initialized, otherwise error message
      • initTable

        protected String initTable()
        Initializes the table.
        Returns:
        null if successful or already initialized, otherwise error message
      • doUpload

        protected String doUpload​(Map<String,​Object> setup)
        Uploads the setup.
        Specified by:
        doUpload in class AbstractSetupUpload
        Parameters:
        setup - the setup data to upload
        Returns:
        null if successful, otherwise error message
      • doFinish

        protected void doFinish​(AbstractGeneticAlgorithm algorithm,
                                String error,
                                Map<String,​Object> params)
        Finishing up the genetic algorithm run.
        Specified by:
        doFinish in class AbstractSetupUpload
        Parameters:
        algorithm - the algorithm that initiated the run
        error - null if successful, otherwise error message
        params - the parameters to store