public class ProbeTable extends TableImpl
columns, columnsByIdentifier, dba, existsInDatastore, identifier, state, storeMgr, TABLE_STATE_INITIALIZED, TABLE_STATE_INITIALIZED_MODIFIED, TABLE_STATE_NEW, TABLE_STATE_PK_INITIALIZED, TABLE_STATE_VALIDATED
Constructor and Description |
---|
ProbeTable(RDBMSStoreManager storeMgr)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowDDLOutput()
Override to always really create ProbeTables in the DB.
|
String[] |
findSchemaDetails(Connection conn)
Accessor for the Schema details.
|
JavaTypeMapping |
getIdMapping()
Accessor for a mapping for the ID (persistable) for this table.
|
JavaTypeMapping |
getMemberMapping(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Accessor the for the mapping for a field/property stored in this table.
|
void |
initialize(org.datanucleus.ClassLoaderResolver clr)
Method to initialise the table.
|
createConstraints, dropConstraints, getExpectedCandidateKeys, getExpectedForeignKeys, getExpectedIndices, getPrimaryKey, getSQLAddCandidateKeyStatements, getSQLAddFKStatements, getSQLCreateIndexStatements, getSQLCreateStatements, getSQLDropStatements, initializeColumnInfoForPrimaryKeyColumns, initializeColumnInfoFromDatastore, logMapping, postInitialize, preInitialize, validate, validateColumns, validateConstraints, validatePrimaryKey
addColumn, addColumnInternal, assertIsInitialized, assertIsInitializedModified, assertIsPKInitialized, assertIsPKUninitialized, assertIsUninitialized, assertIsValidated, create, drop, equals, executeDdlStatement, executeDdlStatementList, exists, getCatalogName, getClassMetaData, getColumn, getColumnForName, getColumnForPosition, getColumns, getDatastoreIdColumn, getDatastoreIdentifierFullyQualified, getDiscriminatorColumn, getDiscriminatorMapping, getDiscriminatorMetaData, getIdentifier, getMemberColumnMappingForEmbeddedMember, getMemberColumnMappingForMember, getMemberColumnMappings, getMultitenancyColumn, getMultitenancyMapping, getName, getNumberOfColumns, getSchemaName, getStoreManager, getVersionColumn, getVersionMapping, getVersionMetaData, hasColumn, hasColumnName, hashCode, isInitialized, isInitializedModified, isPKInitialized, isValidated, tableExistsInDatastore, toString
public ProbeTable(RDBMSStoreManager storeMgr)
storeMgr
- The RDBMSManager for this datastorepublic void initialize(org.datanucleus.ClassLoaderResolver clr)
clr
- The ClassLoaderResolverpublic JavaTypeMapping getIdMapping()
public String[] findSchemaDetails(Connection conn) throws SQLException
conn
- Connection for this datastore.SQLException
- Thrown when an error occurs in the process.protected boolean allowDDLOutput()
allowDDLOutput
in class AbstractTable
public JavaTypeMapping getMemberMapping(org.datanucleus.metadata.AbstractMemberMetaData mmd)
mmd
- MetaData for the field whose mapping we wantCopyright © 2017. All rights reserved.