Package adams.db.postgresql
Class LogT
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,DatabaseConnectionProvider
,DatabaseConnectionUser
,LogIntf
,SQLIntf
,TableInterface
,DatabaseConnectionChangeListener
,Serializable
public class LogT extends LogT
PostgreSQL implementation.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static TableManager<LogT>
m_TableManager
the table manager.-
Fields inherited from class adams.db.AbstractIndexedTable
m_init
-
Fields inherited from class adams.db.AbstractTable
FILENAME, m_Properties, m_TableName
-
Fields inherited from class adams.db.generic.SQL
m_DatabaseConnection, m_Debug
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
Fields inherited from interface adams.db.LogIntf
TABLE_NAME
-
Fields inherited from interface adams.db.SQLIntf
FAKE_TABLE_NAME
-
-
Constructor Summary
Constructors Constructor Description LogT(AbstractDatabaseConnection dbcon)
The constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogT
getSingleton(AbstractDatabaseConnection dbcon)
Returns the singleton of the table.static void
initTable(AbstractDatabaseConnection dbcon)
Initializes the table.-
Methods inherited from class adams.db.generic.LogT
add, exists, getColumnMapping, getIndices, load, load, remove, resultsetToObject, singleton, store, update
-
Methods inherited from class adams.db.AbstractIndexedTable
columnsMatch, columnsMatchTest, create, getAllColumns, getTables, init, initTables, isThere, postCreate, select, select, selectDistinct, selectDistinct, truncate, update
-
Methods inherited from class adams.db.AbstractTable
columnExists, databaseConnectionStateChanged, getProperties, getTableName, isEnabled, tableExists, toString
-
Methods inherited from class adams.db.generic.SQL
columnExists, doSelect, drop, execute, executeGeneratedKeys, getDatabaseConnection, getDebug, getMaxColumnNameLength, getResultSet, getSimpleResultSet, prepareStatement, prepareStatement, prepareStatement, select, selectDistinct, selectDouble, selectInt, selectLong, selectString, selectStrings, setDebug, tableExists, truncate, update, updatePrefix
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingSupporter
getLogger, isLoggingEnabled
-
Methods inherited from interface adams.db.TableInterface
getTableName
-
-
-
-
Field Detail
-
m_TableManager
protected static TableManager<LogT> m_TableManager
the table manager.
-
-
Constructor Detail
-
LogT
public LogT(AbstractDatabaseConnection dbcon)
The constructor.- Parameters:
dbcon
- the database context this table is used in
-
-
Method Detail
-
initTable
public static void initTable(AbstractDatabaseConnection dbcon)
Initializes the table. Used by the "InitializeTables" tool.- Parameters:
dbcon
- the database context
-
getSingleton
public static LogT getSingleton(AbstractDatabaseConnection dbcon)
Returns the singleton of the table.- Parameters:
dbcon
- the database connection to get the singleton for- Returns:
- the singleton
-
-