Uses of Interface
org.datanucleus.store.rdbms.table.Table
Packages that use Table
Package
Description
Package providing management of the persistence to RDBMS datastores.
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
Package providing additional implementation(s) for the auto-start mechanism for RDBMS datastores.
This package contains a series of classes defining the identifier names of datastore objects,
such as tables, foreign keys, indexes, primary keys etc.
This package contains wrappers to various types of keys found in RDBMS databases.
In an RDBMS datastore each class is represented as a Table (maybe shared with other classes).
Package providing mappings for all supported Java types in DataNucleus.
Provides a definition of the schema in the datastore, including tables, columns and types.
This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps/arrays) within DataNucleus.
Series of classes used to generate SQL statements.
Provides the internal DataNucleus definition of a table/view and its columns.
Package providing a series of value generators for use in RDBMS datastores.
-
Uses of Table in org.datanucleus.store.rdbms
Fields in org.datanucleus.store.rdbms with type parameters of type TableMethods in org.datanucleus.store.rdbms that return TableModifier and TypeMethodDescriptionprivate Table
RDBMSStoreManager.ClassAdder.addJoinTableForContainer
(Table ownerTable, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int type) Called by Mapping objects in the midst of RDBMSManager.addClasses() to request the creation of a join table to hold a containers' contents.RDBMSStoreManager.getTable
(org.datanucleus.metadata.AbstractMemberMetaData mmd) Returns the datastore container (table) for the specified field.RDBMSStoreManager.newJoinTable
(Table ownerTable, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr) Called by (container) Mapping objects to request the creation of a join table.Methods in org.datanucleus.store.rdbms that return types with arguments of type TableModifier and TypeMethodDescriptionRDBMSStoreManager.getManagedTables
(String catalog, String schema) Convenience accessor of the Table objects managed in this datastore at this point.RDBMSStoreManager.ClassAdder.initializeClassTables
(String[] classNames, org.datanucleus.ClassLoaderResolver clr) Initialisation of tables.RDBMSStoreManager.ClassAdder.performViewsValidation
(List<Table> viewsToValidate, List<Throwable> autoCreateErrors) Validate the supplied views.Methods in org.datanucleus.store.rdbms with parameters of type TableModifier and TypeMethodDescriptionprivate Table
RDBMSStoreManager.ClassAdder.addJoinTableForContainer
(Table ownerTable, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, int type) Called by Mapping objects in the midst of RDBMSManager.addClasses() to request the creation of a join table to hold a containers' contents.RDBMSStoreManager.getColumnInfoForColumnName
(Table table, Connection conn, DatastoreIdentifier column) Returns the column info for a column name.List
<org.datanucleus.store.schema.StoreSchemaData> RDBMSStoreManager.getColumnInfoForTable
(Table table, Connection conn) Returns the column info for a database table.void
RDBMSStoreManager.invalidateColumnInfoForTable
(Table table) Method to invalidate the cached column info for a table.RDBMSStoreManager.newJoinTable
(Table ownerTable, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr) Called by (container) Mapping objects to request the creation of a join table.void
RDBMSStoreManager.registerTableInitialized
(Table table) Method parameters in org.datanucleus.store.rdbms with type arguments of type TableModifier and TypeMethodDescriptionprivate boolean
RDBMSStoreManager.ClassAdder.hasDuplicateTablesFromList
(List<Table> newTables) Check if duplicated tables are in the list.private List[]
RDBMSStoreManager.ClassAdder.performTablesValidation
(List<Table> tablesToValidate, org.datanucleus.ClassLoaderResolver clr, List<Throwable> autoCreateErrors) Validate tables.RDBMSStoreManager.ClassAdder.performViewsValidation
(List<Table> viewsToValidate, List<Throwable> autoCreateErrors) Validate the supplied views.private void
RDBMSStoreManager.ClassAdder.rollbackSchemaCreation
(List<Table> viewsCreated, List<Table> tableConstraintsCreated, List<Table> tablesCreated) Rollback / Compensate schema creation by dropping tables, views, constraints and deleting entries in the auto start mechanism.Constructors in org.datanucleus.store.rdbms with parameters of type TableModifierConstructorDescriptionRDBMSStoreData
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table) Constructor for SCO data.RDBMSStoreData
(org.datanucleus.metadata.ClassMetaData cmd, Table table, boolean tableOwner) Constructor for FCO data. -
Uses of Table in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type TableModifier and TypeMethodDescriptionBaseDatastoreAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.DatastoreAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.H2Adapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.HSQLAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.MySQLAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.PostgreSQLAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.TimesTenAdapter.getAddColumnStatement
(Table table, Column col) Accessor for the SQL statement to add a column to a table.BaseDatastoreAdapter.getDropTableStatement
(Table table) Returns the appropriate SQL to drop the given table.CloudSpannerAdapter.getDropTableStatement
(Table table) Drop table statementDatastoreAdapter.getDropTableStatement
(Table table) Returns the appropriate SQL to drop the given table.DB2Adapter.getDropTableStatement
(Table table) DerbyAdapter.getDropTableStatement
(Table table) FirebirdAdapter.getDropTableStatement
(Table table) HSQLAdapter.getDropTableStatement
(Table table) Returns the appropriate SQL to drop the given table.MySQLAdapter.getDropTableStatement
(Table table) Method to return the DROP TABLE statement.PostgreSQLAdapter.getDropTableStatement
(Table table) Accessor for the statement for dropping a table.SQLAnywhereAdapter.getDropTableStatement
(Table table) Accessor for the DROP TABLE statement for SQL Anywhere SQL Anywhere doesn't support CASCADE so just return a simple 'DROP TABLE table-name'SQLiteAdapter.getDropTableStatement
(Table table) SQLServerAdapter.getDropTableStatement
(Table table) SybaseAdapter.getDropTableStatement
(Table table) Accessor for the DROP TABLE statement for Sybase.VirtuosoAdapter.getDropTableStatement
(Table table) Method to return the DROP TABLE statement.BaseDatastoreAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the autoincrementing sql statement for this datastore.DatastoreAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the identity (autoincrement) sql statement to get the latest key value for this table.DB2Adapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.DerbyAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment SQL statement for this datastore.H2Adapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.HSQLAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.InformixAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the autoincrement sql access statement for this datastore.MySQLAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.PostgreSQLAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the autoincrement sql access statement for this datastore.SQLAnywhereAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.SQLiteAdapter.getIdentityLastValueStmt
(Table table, String columnName) SQLServerAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.SybaseAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.VirtuosoAdapter.getIdentityLastValueStmt
(Table table, String columnName) Accessor for the auto-increment sql statement for this datastore.BaseDatastoreAdapter.getInsertStatementForNoColumns
(Table table) Method to return the INSERT statement to use when inserting into a table that has no columns specified.DatastoreAdapter.getInsertStatementForNoColumns
(Table table) Method to retutn the INSERT statement to use when inserting into a table that has no columns specified.DerbyAdapter.getInsertStatementForNoColumns
(Table table) Method to return the INSERT statement to use when inserting into a table that has no columns specified.H2Adapter.getInsertStatementForNoColumns
(Table table) Method to return the INSERT statement to use when inserting into a table that has no columns specified.HSQLAdapter.getInsertStatementForNoColumns
(Table table) Method to return the INSERT statement to use when inserting into a table that has no columns specified.PostgreSQLAdapter.getInsertStatementForNoColumns
(Table table) Method to return the INSERT statement to use when inserting into a table and we dont want to specify columns.SQLServerAdapter.getInsertStatementForNoColumns
(Table table) Method to return the INSERT statement to use when inserting into a table that has no columns specified. -
Uses of Table in org.datanucleus.store.rdbms.autostart
Classes in org.datanucleus.store.rdbms.autostart that implement TableModifier and TypeClassDescriptionclass
Class defining DataNucleus schema definition tables. -
Uses of Table in org.datanucleus.store.rdbms.exceptions
Constructors in org.datanucleus.store.rdbms.exceptions with parameters of type TableModifierConstructorDescriptionMissingColumnException
(Table table, Collection columns) Constructs a missing column exception. -
Uses of Table in org.datanucleus.store.rdbms.identifier
Methods in org.datanucleus.store.rdbms.identifier with parameters of type TableModifier and TypeMethodDescriptionAbstractIdentifierFactory.newCandidateKeyIdentifier
(Table table, int seq) Method to generate an identifier for a candidate key in the supplied table.IdentifierFactory.newCandidateKeyIdentifier
(Table table, int seq) Method to generate an identifier for a candidate key.AbstractIdentifierFactory.newForeignKeyIdentifier
(Table table, int seq) Method to create a new identifier for a foreign key in the supplied table.IdentifierFactory.newForeignKeyIdentifier
(Table table, int seq) Method to create an identifier for a foreign key.AbstractIdentifierFactory.newIndexIdentifier
(Table table, boolean isUnique, int seq) Method to create an identifier for an Index in the supplied table.IdentifierFactory.newIndexIdentifier
(Table table, boolean isUnique, int seq) Method to generate an identifier for an index.AbstractIdentifierFactory.newPrimaryKeyIdentifier
(Table table) Method to generate an identifier for a primary key for the supplied table.IdentifierFactory.newPrimaryKeyIdentifier
(Table table) Method to generate an identifier for a primary key. -
Uses of Table in org.datanucleus.store.rdbms.key
Fields in org.datanucleus.store.rdbms.key declared as TableMethods in org.datanucleus.store.rdbms.key that return TableConstructors in org.datanucleus.store.rdbms.key with parameters of type TableModifierConstructorDescriptionCandidateKey
(Table table, Map<String, String> extensions) Constructor.ColumnOrderedKey
(Table table, Map<String, String> extensions) Constructor.protected
Constructor.PrimaryKey
(Table table) Creates a primary key. -
Uses of Table in org.datanucleus.store.rdbms.mapping
Methods in org.datanucleus.store.rdbms.mapping with parameters of type TableModifier and TypeMethodDescriptionMappingManager.createColumn
(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd, Column referenceCol, org.datanucleus.ClassLoaderResolver clr) Method to create a column for a persistable mapping.MappingManagerImpl.createColumn
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd, Column reference, org.datanucleus.ClassLoaderResolver clr) Method to create a column for a persistable mapping.protected JavaTypeMapping
MappingManagerImpl.getElementMapping
(Table table, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.metadata.FieldRole fieldRole, org.datanucleus.ClassLoaderResolver clr) Convenience accessor for the element mapping for the element of a collection/array of elements.protected JavaTypeMapping
MappingManagerImpl.getKeyMapping
(Table table, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr) Convenience accessor for the mapping of the key of a map.MappingManager.getMapping
(Table table, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.metadata.FieldRole fieldRole) Accessor for the mapping for the field of the specified table.MappingManagerImpl.getMapping
(Table table, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.metadata.FieldRole fieldRole) Accessor for the mapping for the member of the specified table.protected JavaTypeMapping
MappingManagerImpl.getValueMapping
(Table table, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr) Convenience accessor for the mapping of the value for a map.Constructors in org.datanucleus.store.rdbms.mapping with parameters of type TableModifierConstructorDescriptionCorrespondentColumnsMapper
(org.datanucleus.metadata.ColumnMetaDataContainer columnContainer, Table tableA, org.datanucleus.metadata.ColumnMetaData[] colmds, JavaTypeMapping mappingSideB, boolean updateContainer) Constructor.CorrespondentColumnsMapper
(org.datanucleus.metadata.ColumnMetaDataContainer columnContainer, Table tableA, JavaTypeMapping mappingSideB, boolean updateContainer) Constructor. -
Uses of Table in org.datanucleus.store.rdbms.mapping.java
Fields in org.datanucleus.store.rdbms.mapping.java declared as TableModifier and TypeFieldDescriptionprotected Table
JavaTypeMapping.table
The Table storing this mapping.Methods in org.datanucleus.store.rdbms.mapping.java that return TableModifier and TypeMethodDescriptionAbstractContainerMapping.getTable()
Accessor for the datastore class.JavaTypeMapping.getTable()
Accessor for the table.Methods in org.datanucleus.store.rdbms.mapping.java with parameters of type TableModifier and TypeMethodDescriptionstatic DiscriminatorMapping
DiscriminatorMapping.createDiscriminatorMapping
(Table table, org.datanucleus.metadata.DiscriminatorMetaData dismd) Convenience method to create a discriminator mapping in the specified table, using the provided discriminator metadata.void
AbstractContainerMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping for the given field/property.void
EmbeddedElementPCMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.void
EmbeddedKeyPCMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialise this JavaTypeMapping with the given DatastoreAdapter for the given metadata.void
EmbeddedMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.void
EmbeddedMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.metadata.EmbeddedMetaData emd, String typeName, org.datanucleus.PersistableObjectType objectType) Initialize for the specified member.void
EmbeddedPCMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialise this JavaTypeMapping with the given DatastoreAdapter for the given metadata.void
EmbeddedValuePCMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialise this JavaTypeMapping with the given DatastoreAdapter for the given metadata.void
EnumMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping for the given member MetaData and Table owning it.void
GregorianCalendarMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr) void
InterfaceMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialisation.void
JavaTypeMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping for the supplied table and field/property metadata.void
PersistableMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping with the given DatastoreAdapter for the given metadata.void
ReferenceMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping for the specified field/property.void
SerialisedLocalFileMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) void
SingleCollectionMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) void
SingleFieldMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.void
SubclassPCMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr) Initialize this JavaTypeMapping with the given DatastoreAdapter for the given member MetaData.void
TypeConverterMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) void
TypeConverterMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.store.types.converters.TypeConverter conv) void
TypeConverterMultiMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) void
TypeConverterMultiMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.store.types.converters.TypeConverter conv) void
UUIDMapping.initialize
(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr) void
Constructors in org.datanucleus.store.rdbms.mapping.java with parameters of type TableModifierConstructorDescriptionDiscriminatorLongMapping
(Table table, JavaTypeMapping delegate, org.datanucleus.metadata.DiscriminatorMetaData dismd) Constructor.DiscriminatorMapping
(Table table, JavaTypeMapping delegate, org.datanucleus.metadata.DiscriminatorMetaData dismd) Constructor.DiscriminatorStringMapping
(Table table, JavaTypeMapping delegate, org.datanucleus.metadata.DiscriminatorMetaData dismd) Constructor.VersionLongMapping
(Table datastoreContainer, JavaTypeMapping delegate) VersionMapping
(Table table, JavaTypeMapping delegate) Constructor.VersionTimestampMapping
(Table table, JavaTypeMapping delegate) -
Uses of Table in org.datanucleus.store.rdbms.schema
Methods in org.datanucleus.store.rdbms.schema with parameters of type TableModifier and TypeMethodDescriptionprotected RDBMSColumnInfo
RDBMSSchemaHandler.getRDBMSColumnInfoForColumn
(Connection conn, Table table, String columnName) Convenience method to get the column info from the datastore for the column in the specified table.protected RDBMSTableFKInfo
RDBMSSchemaHandler.getRDBMSTableFKInfoForTable
(Connection conn, Table table) Convenience method to get the ForeignKey info for the specified table from the datastore.protected RDBMSTableIndexInfo
RDBMSSchemaHandler.getRDBMSTableIndexInfoForTable
(Connection conn, Table table) Convenience method to get the index info for the specified table from the datastore.protected RDBMSTableInfo
RDBMSSchemaHandler.getRDBMSTableInfoForTable
(Connection conn, Table table) Convenience method to get the column info for the specified table from the datastore.protected RDBMSTablePKInfo
RDBMSSchemaHandler.getRDBMSTablePKInfoForTable
(Connection conn, Table table) Convenience method to get the PrimaryKey info for the specified table from the datastore.RDBMSSchemaHandler.getTableType
(Connection conn, Table table) Returns the type of a database table/view in the datastore. -
Uses of Table in org.datanucleus.store.rdbms.scostore
Fields in org.datanucleus.store.rdbms.scostore declared as TableModifier and TypeFieldDescriptionprotected Table
ElementContainerStore.containerTable
Table containing the link between owner and element.protected Table
MapEntrySetStore.mapTable
Table containing the key and value forming the entry.Methods in org.datanucleus.store.rdbms.scostore that return TableMethods in org.datanucleus.store.rdbms.scostore with parameters of type TableModifier and TypeMethodDescriptionprotected static String
AbstractMapStore.getContainsValueStmt
(JavaTypeMapping ownerMapping, JavaTypeMapping valueMapping, Table mapTable) Generate statement to check if a value is contained in the Map.protected org.datanucleus.metadata.AbstractMemberMetaData
ArrayStoreIterator.getOwnerFieldMetaData
(Table containerTable) protected org.datanucleus.metadata.AbstractMemberMetaData
CollectionStoreIterator.getOwnerMemberMetaData
(Table containerTable) protected org.datanucleus.metadata.AbstractMemberMetaData
ListStoreIterator.getOwnerMemberMetaData
(Table containerTable) protected String
JoinMapStore.getUpdateEmbeddedKeyStmt
(JavaTypeMapping fieldMapping, JavaTypeMapping ownerMapping, JavaTypeMapping keyMapping, Table mapTable) Generate statement for update the field of an embedded key.protected String
JoinMapStore.getUpdateEmbeddedValueStmt
(JavaTypeMapping fieldMapping, JavaTypeMapping ownerMapping, JavaTypeMapping valueMapping, Table mapTable) Generate statement for update the field of an embedded value. -
Uses of Table in org.datanucleus.store.rdbms.sql
Fields in org.datanucleus.store.rdbms.sql declared as TableModifier and TypeFieldDescription(package private) Table
AbstractSelectStatementGenerator.joinTable
Join table for the case where we are selecting the join table and returning elements.protected Table
SQLTable.table
Methods in org.datanucleus.store.rdbms.sql that return TableMethods in org.datanucleus.store.rdbms.sql with parameters of type TableModifier and TypeMethodDescriptionstatic SQLTable
SQLStatementHelper.addJoinForOneToOneRelation
(SQLStatement stmt, JavaTypeMapping sourceMapping, SQLTable sourceSqlTbl, JavaTypeMapping targetMapping, Table targetTable, String targetAlias, Object[] discrimValues, String targetTablegroupName, SQLJoin.JoinType joinType) Convenience method to add a join across a 1-1 relation to the provided SQLStatement.SQLTableAlphaNamer.getAliasForTable
(SQLStatement stmt, Table table, String groupName) SQLTableNameNamer.getAliasForTable
(SQLStatement stmt, Table table, String groupName) SQLTableNamer.getAliasForTable
(SQLStatement stmt, Table table, String groupName) Method to return the alias to use for the specified table.SQLTableTNamer.getAliasForTable
(SQLStatement stmt, Table table, String groupName) Accessor for the SQLTable object for the specified table (if defined for this statement) in the specified table group.SQLStatement.getTableForDatastoreContainer
(Table table) Convenience method to find a registered SQLTable that is for the specified tableSelectStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, JavaTypeMapping sourceParentMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, JavaTypeMapping targetParentMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions, SQLJoin parentJoin) SelectStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, Table target, String targetAlias, String tableGrpName, BooleanExpression joinCondition, boolean applyToUnions) SQLStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, JavaTypeMapping sourceParentMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, JavaTypeMapping targetParentMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions, SQLJoin parentJoin) Method to form a join to the specified table using the provided mappings, with the join condition derived from the source-target mappings.SQLStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName) Method to form a join to the specified table using the provided mappings, with the join also being applied to any UNIONed statements.SQLStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions) Method to form a join to the specified table using the provided mappings.SQLStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName, boolean applyToUnions, SQLJoin parentJoin) Method to form a join to the specified table using the provided mappings.SQLStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, JavaTypeMapping sourceMapping, Table target, String targetAlias, JavaTypeMapping targetMapping, Object[] discrimValues, String tableGrpName, SQLJoin parentJoin) Method to form a join to the specified table using the provided mappings, with the join also being applied to any UNIONed statements.SQLStatement.join
(SQLJoin.JoinType joinType, SQLTable sourceTable, Table target, String targetAlias, String tableGrpName, BooleanExpression joinCondition, boolean applyToUnions) Method to form a join to the specified table using the provided mappings and applying the provided join condition (rather than generating one from the source/target mappings).Constructors in org.datanucleus.store.rdbms.sql with parameters of type TableModifierConstructorDescriptionAbstractSelectStatementGenerator
(RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Class candidateType, boolean subclasses, DatastoreIdentifier candidateTableAlias, String candidateTableGroupName, Table joinTable, DatastoreIdentifier joinTableAlias, JavaTypeMapping joinElementMapping) Constructor for the case where we select the join table and join to the candidate table.DeleteStatement
(RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String, Object> extensions) Constructor for a DELETE statement.DiscriminatorStatementGenerator
(RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Class[] candidateTypes, boolean includeSubclasses, DatastoreIdentifier candidateTableAlias, String candidateTableGroupName, Table joinTable, DatastoreIdentifier joinTableAlias, JavaTypeMapping joinElementMapping) Constructor, using the joinTable as the primary table of the SQL SELECT and joining to the table of the candidate(s).DiscriminatorStatementGenerator
(RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Class candidateType, boolean includeSubclasses, DatastoreIdentifier candidateTableAlias, String candidateTableGroupName, Table joinTable, DatastoreIdentifier joinTableAlias, JavaTypeMapping joinElementMapping) Constructor, using the joinTable as the primary table of the SQL SELECT and joining to the table of the candidate.InsertStatement
(RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String, Object> extensions) Constructor for an INSERT statement.SelectStatement
(RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName) Constructor for a SELECT statement.SelectStatement
(RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String, Object> extensions) Constructor for a SELECT statement.SelectStatement
(SQLStatement parentStmt, RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName) Constructor for a SELECT statement, maybe as a subquery.SelectStatement
(SQLStatement parentStmt, RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String, Object> extensions) Constructor for a SELECT statement, maybe as a subquery.SQLStatement
(SQLStatement parentStmt, RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String, Object> extensions) Constructor for an SQL statement that is a subquery of another statement.(package private)
SQLTable
(SQLStatement stmt, Table tbl, DatastoreIdentifier alias, String grpName) Constructor for a table involved in an SQLStatement.UnionStatementGenerator
(RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Class candidateType, boolean includeSubclasses, DatastoreIdentifier candidateTableAlias, String candidateTableGroupName, Table joinTable, DatastoreIdentifier joinTableAlias, JavaTypeMapping joinElementMapping) Constructor using a join table as the primary table.UpdateStatement
(RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String, Object> extensions) Constructor for an UPDATE statement. -
Uses of Table in org.datanucleus.store.rdbms.table
Subinterfaces of Table in org.datanucleus.store.rdbms.tableModifier and TypeInterfaceDescriptioninterface
Representation of a Java class in a datastore.interface
Secondary datastore class, managing the mapping of some of the fields of the class and dependent on a DatastoreClass.Classes in org.datanucleus.store.rdbms.table that implement TableModifier and TypeClassDescriptionclass
Abstract representation of a table for a class.class
Abstract implementation of a table in the datastore.class
Representation of a join table for an array.class
Table representing a Java class (or classes) as a first class object (FCO).class
Representation of an SQL View for a Class.class
Representation of a join table for a Collection.class
Representation of a join table for a container of elements.class
Abstract class representing a field that maps to a table in the datastore.class
Representation of a join table for a Map.class
Representation of a join table for the case where we have an N-1 unidirectional relation stored in a join table.class
Utility class used for detecting database schema existence and provides means of determining the schema name.class
Representation of a secondary table for a class.class
Class representing a table in a datastore (RDBMS).class
Representation of a View in a datastore (RDBMS).Fields in org.datanucleus.store.rdbms.table declared as TableModifier and TypeFieldDescriptionprotected final Table
JoinTable.ownerTable
Table of the owner of the member represented here.protected Table
MapTable.ownerTable
protected Table
PersistableJoinTable.ownerTable
Table of the owner of this member.protected final Table
ColumnImpl.table
Table containing this column in the datastore.Methods in org.datanucleus.store.rdbms.table that return TableModifier and TypeMethodDescriptionJoinTable.getOwnerTable()
AbstractClassTable.getPrimaryTable()
Convenience method to return the primary table.Column.getTable()
Accessor for the table for this columnColumnImpl.getTable()
Methods in org.datanucleus.store.rdbms.table with parameters of type TableModifier and TypeMethodDescriptionstatic JavaTypeMapping
ColumnCreator.createColumnsForField
(Class javaType, JavaTypeMapping mapping, Table table, RDBMSStoreManager storeMgr, org.datanucleus.metadata.AbstractMemberMetaData mmd, boolean isPrimaryKey, boolean isNullable, boolean serialised, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole, org.datanucleus.metadata.ColumnMetaData[] columnMetaData, org.datanucleus.ClassLoaderResolver clr, boolean isReferenceField, Table ownerTable) Method to create the column(s) for a field in either a join table or for a reference field.static JavaTypeMapping
ColumnCreator.createColumnsForJoinTables
(Class javaType, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.metadata.ColumnMetaData[] columnMetaData, RDBMSStoreManager storeMgr, Table table, boolean primaryKey, boolean nullable, org.datanucleus.metadata.FieldRole fieldRole, org.datanucleus.ClassLoaderResolver clr, Table ownerTable) Method to create the mapping for a join table for collection element, array element, map key, map value.static Column
ColumnCreator.createIndexColumn
(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Table table, org.datanucleus.metadata.ColumnMetaData colmd, boolean pk) Convenience method to add the column for an index mapping.static CandidateKey
TableUtils.getCandidateKeyForField
(Table table, org.datanucleus.metadata.UniqueMetaData umd, JavaTypeMapping fieldMapping) Convenience method to return the candidate key (if any) for a field.static Index
TableUtils.getIndexForField
(Table table, org.datanucleus.metadata.IndexMetaData imd, JavaTypeMapping fieldMapping) Convenience method to create an Index for a field.Constructors in org.datanucleus.store.rdbms.table with parameters of type TableModifierConstructorDescriptionArrayTable
(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr) Constructor.CollectionTable
(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr) Constructor.ColumnImpl
(Table table, String javaType, DatastoreIdentifier identifier, org.datanucleus.metadata.ColumnMetaData colmd) Constructor.ElementContainerTable
(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr) Constructor.protected
JoinTable
(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr) Constructor.MapTable
(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr) Constructor.PersistableJoinTable
(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr) Constructor. -
Uses of Table in org.datanucleus.store.rdbms.valuegenerator
Classes in org.datanucleus.store.rdbms.valuegenerator that implement TableModifier and TypeClassDescriptionclass
Class defining a table for storing generated values for use with TableGenerator.