Package adams.db
Interface DbBackend
-
- All Superinterfaces:
BackendManager,Destroyable,LoggingLevelHandler,LoggingSupporter,OptionHandler
- All Known Implementing Classes:
AbstractDbBackend,DbBackend,DbBackend,DbBackend,DbBackend,DbBackend,DbBackend,DbBackend
public interface DbBackend extends BackendManager
Interface for classes that return actual implementations of the processing database interfaces.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogIntfgetLog(AbstractDatabaseConnection conn)Returns the handler for the log table.SQLIntfgetSQL(AbstractDatabaseConnection conn)Returns the generic SQL handler.booleanisSupported(AbstractDatabaseConnection conn)Returns whether this connection is supported.-
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
-
-
-
-
Field Detail
-
FILENAME
static final String FILENAME
the properties file containing the setup.- See Also:
- Constant Field Values
-
-
Method Detail
-
isSupported
boolean isSupported(AbstractDatabaseConnection conn)
Returns whether this connection is supported.- Parameters:
conn- the database connection- Returns:
- true if supported
-
getSQL
SQLIntf getSQL(AbstractDatabaseConnection conn)
Returns the generic SQL handler.- Parameters:
conn- the database connection- Returns:
- the handler
-
getLog
LogIntf getLog(AbstractDatabaseConnection conn)
Returns the handler for the log table.- Parameters:
conn- the database connection- Returns:
- the handler
-
-