Class SpectralDbBackend

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, adams.db.BackendManager, SpectralDbBackend, Serializable

    public class SpectralDbBackend
    extends AbstractSpectralDbBackend
    MySQL Spectral backend.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SampleDataIntf getSampleData​(adams.db.AbstractDatabaseConnection conn)
      Returns the handler for the sample data table.
      SpectrumIntf getSpectrum​(adams.db.AbstractDatabaseConnection conn)
      Returns the handler for the spectrum table.
      String globalInfo()  
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.Destroyable

        destroy
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel, setLoggingLevel
      • Methods inherited from interface adams.core.logging.LoggingSupporter

        getLogger, isLoggingEnabled
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, defineOptions, getOptionManager, toCommandLine
    • Constructor Detail

      • SpectralDbBackend

        public SpectralDbBackend()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
      • getSpectrum

        public SpectrumIntf getSpectrum​(adams.db.AbstractDatabaseConnection conn)
        Returns the handler for the spectrum table.
        Parameters:
        conn - the database connection
        Returns:
        the handler
      • getSampleData

        public SampleDataIntf getSampleData​(adams.db.AbstractDatabaseConnection conn)
        Returns the handler for the sample data table.
        Parameters:
        conn - the database connection
        Returns:
        the handler