Package adams.db.mssql
Class SampleDataT
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.db.generic.SQL
-
- adams.db.AbstractTable
-
- adams.db.AbstractIndexedTable
-
- adams.db.ReportTableByID<SampleData,adams.data.report.Field>
-
- adams.db.generic.SampleDataT
-
- adams.db.mssql.SampleDataT
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter
,adams.core.SizeOfHandler
,adams.db.BulkReportUpdater<SampleData>
,adams.db.DatabaseConnectionProvider
,adams.db.DatabaseConnectionUser
,adams.db.FieldProvider<adams.data.report.Field>
,adams.db.InstrumentProvider
,adams.db.ReportProvider<SampleData,String>
,adams.db.ReportProviderByID<SampleData>
,SampleDataIntf
,adams.db.SQLIntf
,adams.db.TableInterface
,adams.event.DatabaseConnectionChangeListener
,Serializable
public class SampleDataT extends SampleDataT
H2 implementation.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static adams.db.TableManager<SampleDataT>
m_TableManager
the table manager.-
Fields inherited from class adams.db.generic.SampleDataT
m_BulkStoreStopped
-
Fields inherited from class adams.db.AbstractTable
FILENAME, m_AnsiQuotes, m_Properties, m_TableName
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
Fields inherited from interface adams.db.SampleDataIntf
TABLE_NAME
-
-
Constructor Summary
Constructors Constructor Description SampleDataT(adams.db.AbstractDatabaseConnection dbcon)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SampleDataIntf
getSingleton(adams.db.AbstractDatabaseConnection dbcon)
Returns the singleton of the table (active).SpectrumIntf
getSpectrumHandler()
Returns the corresponding Spectrum handler.static void
initTable(adams.db.AbstractDatabaseConnection dbcon)
Initializes the table.-
Methods inherited from class adams.db.generic.SampleDataT
bulkStore, doStore, exists, getColumnMapping, getDBIDs, getFields, getIDs, getIDs, getIDs, getIndices, getInstruments, getOrphanedIDs, load, stopBulkStore
-
Methods inherited from class adams.db.ReportTableByID
createField, getFields, parse, remove, remove, remove, store, store
-
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, getQueries, getTableName, isEnabled, quoteName, tableExists, toString, useAnsiQuotes
-
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, singleton, tableExists, truncate, update, updatePrefix, updateTableName
-
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.db.SampleDataIntf
init
-
-
-
-
Field Detail
-
m_TableManager
protected static adams.db.TableManager<SampleDataT> m_TableManager
the table manager.
-
-
Method Detail
-
getSpectrumHandler
public SpectrumIntf getSpectrumHandler()
Returns the corresponding Spectrum handler.- Returns:
- the corresponding handler
-
initTable
public static void initTable(adams.db.AbstractDatabaseConnection dbcon)
Initializes the table. Used by the "InitializeTables" tool.- Parameters:
dbcon
- the database context
-
getSingleton
public static SampleDataIntf getSingleton(adams.db.AbstractDatabaseConnection dbcon)
Returns the singleton of the table (active).- Parameters:
dbcon
- the database connection to get the singleton for- Returns:
- the singleton
-
-