primaryTable
Primary table
DatastoreClass
, SecondaryDatastoreClass
, Table
, org.datanucleus.store.schema.table.Table
private org.datanucleus.metadata.JoinMetaData
private ClassTable
createTimestampMapping, createUserMapping, datastoreIdMapping, discriminatorMapping, discriminatorMetaData, highestMemberNumber, idMapping, memberMappingsMap, multitenancyMapping, pkMappings, softDeleteMapping, updateTimestampMapping, updateUserMapping, versionMapping, versionMetaData
columns, columnsByIdentifier, dba, existsInDatastore, identifier, state, storeMgr, TABLE_STATE_INITIALIZED, TABLE_STATE_INITIALIZED_MODIFIED, TABLE_STATE_NEW, TABLE_STATE_PK_INITIALIZED, TABLE_STATE_VALIDATED
SecondaryTable(DatastoreIdentifier tableName,
RDBMSStoreManager storeMgr,
ClassTable primaryTable,
org.datanucleus.metadata.JoinMetaData jmd,
org.datanucleus.ClassLoaderResolver clr)
getBaseDatastoreClassWithMember(org.datanucleus.metadata.AbstractMemberMetaData mmd)
getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
getExternalMapping(org.datanucleus.metadata.AbstractMemberMetaData fmd,
MappingType mappingType)
org.datanucleus.metadata.IdentityType
org.datanucleus.metadata.JoinMetaData
String[]
getMemberMapping(String memberName)
getMemberMapping(org.datanucleus.metadata.AbstractMemberMetaData mmd)
getMemberMappingInDatastoreClass(org.datanucleus.metadata.AbstractMemberMetaData mmd)
org.datanucleus.metadata.AbstractMemberMetaData
getMetaDataForExternalMapping(JavaTypeMapping mapping,
MappingType mappingType)
Collection<? extends SecondaryDatastoreClass>
getType()
void
initialize(org.datanucleus.ClassLoaderResolver clr)
protected void
initializePK(org.datanucleus.ClassLoaderResolver clr)
boolean
boolean
boolean
boolean
managesClass(String className)
void
postInitialize(org.datanucleus.ClassLoaderResolver clr)
void
preInitialize(org.datanucleus.ClassLoaderResolver clr)
void
provideExternalMappings(MappingConsumer consumer,
MappingType mappingType)
void
providePrimaryKeyMappings(MappingConsumer consumer)
void
provideUnmappedColumns(MappingConsumer consumer)
addApplicationIdUsingClassTableId, addDatastoreId, addMemberMapping, getMappingForMemberName, getPrimaryTable, getSurrogateColumn, getSurrogateMapping, managesMapping, managesMember, provideMappingsForMembers, provideNonPrimaryKeyMappings, provideSurrogateMapping
createConstraints, dropConstraints, getExpectedCandidateKeys, getExpectedIndices, getSQLAddCandidateKeyStatements, getSQLAddFKStatements, getSQLCreateIndexStatements, getSQLCreateStatements, getSQLDropStatements, initializeColumnInfoForPrimaryKeyColumns, initializeColumnInfoFromDatastore, logMapping, validate, validateColumns, validateConstraints, validatePrimaryKey
addColumn, addColumnInternal, allowDDLOutput, assertIsInitialized, assertIsInitializedModified, assertIsPKInitialized, assertIsPKUninitialized, assertIsUninitialized, assertIsValidated, create, drop, equals, executeDdlStatement, executeDdlStatementList, exists, getCatalogName, getClassMetaData, getColumn, getColumnForName, getColumnForPosition, getColumns, getDatastoreIdentifierFullyQualified, getDiscriminatorMetaData, getIdentifier, getMemberColumnMappingForEmbeddedMember, getMemberColumnMappingForMember, getMemberColumnMappings, getName, getNumberOfColumns, getSchemaName, getStoreManager, getVersionMetaData, hasColumn, hasColumnName, hashCode, isInitialized, isInitializedModified, isPKInitialized, isValidated, tableExistsInDatastore, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
managesMapping, provideMappingsForMembers, provideNonPrimaryKeyMappings, provideSurrogateMapping, toString
addColumn, create, drop, exists, getColumn, getDiscriminatorMetaData, getIdentifier, getStoreManager, getSurrogateMapping, getVersionMetaData, hasColumn, isInitialized, isInitializedModified, isValidated, validate
getCatalogName, getClassMetaData, getColumnForName, getColumnForPosition, getColumns, getMemberColumnMappingForEmbeddedMember, getMemberColumnMappingForMember, getMemberColumnMappings, getName, getNumberOfColumns, getSchemaName, getSurrogateColumn
tableName
- Table name SQL identifierstoreMgr
- Store Manager to manage this tableprimaryTable
- The primary table for the classjmd
- MetaData for the join to the primary tableclr
- The ClassLoaderResolverpreInitialize
in interface Table
preInitialize
in class AbstractTable
clr
- the ClassLoaderResolverinitialize
in interface Table
clr
- The ClassLoaderResolverpostInitialize
in interface Table
postInitialize
in class AbstractTable
clr
- the ClassLoaderResolverinitializePK
in class AbstractClassTable
clr
- The ClassLoaderResolvergetPrimaryKey
in class TableImpl
getPrimaryDatastoreClass
in interface SecondaryDatastoreClass
getJoinMetaData
in interface SecondaryDatastoreClass
getIdentityType
in interface DatastoreClass
getIdentityType
in class AbstractClassTable
getType
in interface DatastoreClass
isObjectIdDatastoreAttributed
in interface DatastoreClass
isObjectIdDatastoreAttributed
in class AbstractClassTable
isBaseDatastoreClass
in interface DatastoreClass
DatastoreClass
getBaseDatastoreClass
in interface DatastoreClass
getBaseDatastoreClassWithMember
in interface DatastoreClass
mmd
- MetaData for this membergetSuperDatastoreClass
in interface DatastoreClass
isSuperDatastoreClass
in interface DatastoreClass
table
- The DatastoreClass to checkDatastoreClass
getSecondaryDatastoreClasses
in interface DatastoreClass
managesClass
in interface DatastoreClass
className
- Name of the classDatastoreClass
getManagedClasses
in interface DatastoreClass
getExpectedForeignKeys
in class TableImpl
clr
- ClassLoader resolvergetMemberMapping
in interface DatastoreClass
getMemberMapping
in interface Table
mmd
- MetaData for this membergetMemberMappingInDatastoreClass
in interface DatastoreClass
mmd
- Metadata of the membergetMemberMapping
in interface DatastoreClass
memberName
- Name of the membergetIdMapping
in interface Table
providePrimaryKeyMappings
in interface DatastoreClass
providePrimaryKeyMappings
in class AbstractClassTable
consumer
- Consumer for the mappingsDatastoreClass
provideExternalMappings
in interface DatastoreClass
consumer
- The consumer for the mappingsmappingType
- Type of external mapping to provideprovideUnmappedColumns
in interface DatastoreClass
consumer
- Consumer of informationDatastoreClass
getExternalMapping
in interface DatastoreClass
fmd
- MetaData for the (external) membermappingType
- The type of mappingDatastoreClass
getMetaDataForExternalMapping
in interface DatastoreClass
mapping
- The external mappingmappingType
- The type of mapping