Uses of Interface
org.datanucleus.store.rdbms.table.Table
-
Packages that use Table Package Description org.datanucleus.store.rdbms Package providing management of the persistence to RDBMS datastores.org.datanucleus.store.rdbms.adapter Provides mappings of all supported databases to aspects of the database that determines the SQL generation.org.datanucleus.store.rdbms.autostart Package providing additional implementation(s) for the auto-start mechanism for RDBMS datastores.org.datanucleus.store.rdbms.exceptions org.datanucleus.store.rdbms.identifier This package contains a series of classes defining the identifier names of datastore objects, such as tables, foreign keys, indexes, primary keys etc.org.datanucleus.store.rdbms.key This package contains wrappers to various types of keys found in RDBMS databases.org.datanucleus.store.rdbms.mapping In an RDBMS datastore each class is represented as a Table (maybe shared with other classes).org.datanucleus.store.rdbms.mapping.java Package providing mappings for all supported Java types in DataNucleus.org.datanucleus.store.rdbms.schema Provides a definition of the schema in the datastore, including tables, columns and types.org.datanucleus.store.rdbms.scostore This package provides classes defining the (SCO) backing store for various container classes (Collections/Maps/arrays) within DataNucleus.org.datanucleus.store.rdbms.sql Series of classes used to generate SQL statements.org.datanucleus.store.rdbms.table Provides the internal DataNucleus definition of a table/view and its columns.org.datanucleus.store.rdbms.valuegenerator Package providing a series of value generators for use in RDBMS datastores. -
-
Uses of Table in org.datanucleus.store.rdbms
Methods in org.datanucleus.store.rdbms that return Table Modifier and Type Method Description Table
RDBMSStoreManager. getTable(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Returns the datastore container (table) for the specified field.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.Methods in org.datanucleus.store.rdbms that return types with arguments of type Table Modifier and Type Method Description Collection<Table>
RDBMSStoreManager. getManagedTables(String catalog, String schema)
Convenience accessor of the Table objects managed in this datastore at this point.Methods in org.datanucleus.store.rdbms with parameters of type Table Modifier and Type Method Description RDBMSColumnInfo
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.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)
Constructors in org.datanucleus.store.rdbms with parameters of type Table Constructor Description RDBMSStoreData(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 Table Modifier and Type Method Description String
BaseDatastoreAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
DatastoreAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
H2Adapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
HSQLAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
MySQLAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
PostgreSQLAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
TimesTenAdapter. getAddColumnStatement(Table table, Column col)
Accessor for the SQL statement to add a column to a table.String
BaseDatastoreAdapter. getDropTableStatement(Table table)
Returns the appropriate SQL to drop the given table.String
CloudSpannerAdapter. getDropTableStatement(Table table)
Drop table statementString
DatastoreAdapter. getDropTableStatement(Table table)
Returns the appropriate SQL to drop the given table.String
DB2Adapter. getDropTableStatement(Table table)
String
DerbyAdapter. getDropTableStatement(Table table)
String
FirebirdAdapter. getDropTableStatement(Table table)
String
HSQLAdapter. getDropTableStatement(Table table)
Returns the appropriate SQL to drop the given table.String
MySQLAdapter. getDropTableStatement(Table table)
Method to return the DROP TABLE statement.String
OracleAdapter. getDropTableStatement(Table table)
Method to return the drop table statement for Oracle.String
PostgreSQLAdapter. getDropTableStatement(Table table)
Accessor for the statement for dropping a table.String
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'String
SQLiteAdapter. getDropTableStatement(Table table)
String
SQLServerAdapter. getDropTableStatement(Table table)
String
SybaseAdapter. getDropTableStatement(Table table)
Accessor for the DROP TABLE statement for Sybase.String
VirtuosoAdapter. getDropTableStatement(Table table)
Method to return the DROP TABLE statement.String
BaseDatastoreAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the autoincrementing sql statement for this datastore.String
DatastoreAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the identity (autoincrement) sql statement to get the latest key value for this table.String
DB2Adapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
DerbyAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment SQL statement for this datastore.String
H2Adapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
HSQLAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
InformixAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the autoincrement sql access statement for this datastore.String
MySQLAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
PostgreSQLAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the autoincrement sql access statement for this datastore.String
SQLAnywhereAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
SQLiteAdapter. getIdentityLastValueStmt(Table table, String columnName)
String
SQLServerAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
SybaseAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
VirtuosoAdapter. getIdentityLastValueStmt(Table table, String columnName)
Accessor for the auto-increment sql statement for this datastore.String
BaseDatastoreAdapter. getInsertStatementForNoColumns(Table table)
Method to return the INSERT statement to use when inserting into a table that has no columns specified.String
DatastoreAdapter. getInsertStatementForNoColumns(Table table)
Method to retutn the INSERT statement to use when inserting into a table that has no columns specified.String
DerbyAdapter. getInsertStatementForNoColumns(Table table)
Method to return the INSERT statement to use when inserting into a table that has no columns specified.String
H2Adapter. getInsertStatementForNoColumns(Table table)
Method to return the INSERT statement to use when inserting into a table that has no columns specified.String
HSQLAdapter. getInsertStatementForNoColumns(Table table)
Method to return the INSERT statement to use when inserting into a table that has no columns specified.String
OracleAdapter. getInsertStatementForNoColumns(Table table)
String
PostgreSQLAdapter. getInsertStatementForNoColumns(Table table)
Method to return the INSERT statement to use when inserting into a table and we dont want to specify columns.String
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 Table Modifier and Type Class Description class
SchemaTable
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 Table Constructor Description MissingColumnException(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 Table Modifier and Type Method Description DatastoreIdentifier
AbstractIdentifierFactory. newCandidateKeyIdentifier(Table table, int seq)
Method to generate an identifier for a candidate key in the supplied table.DatastoreIdentifier
IdentifierFactory. newCandidateKeyIdentifier(Table table, int seq)
Method to generate an identifier for a candidate key.DatastoreIdentifier
AbstractIdentifierFactory. newForeignKeyIdentifier(Table table, int seq)
Method to create a new identifier for a foreign key in the supplied table.DatastoreIdentifier
IdentifierFactory. newForeignKeyIdentifier(Table table, int seq)
Method to create an identifier for a foreign key.DatastoreIdentifier
AbstractIdentifierFactory. newIndexIdentifier(Table table, boolean isUnique, int seq)
Method to create an identifier for an Index in the supplied table.DatastoreIdentifier
IdentifierFactory. newIndexIdentifier(Table table, boolean isUnique, int seq)
Method to generate an identifier for an index.DatastoreIdentifier
AbstractIdentifierFactory. newPrimaryKeyIdentifier(Table table)
Method to generate an identifier for a primary key for the supplied table.DatastoreIdentifier
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 Table Modifier and Type Field Description protected Table
Key. table
Table that the key applies to.protected Table
Key. table
Table that the key applies to.protected Table
Key. table
Table that the key applies to.protected Table
Key. table
Table that the key applies to.protected Table
Key. table
Table that the key applies to.Constructors in org.datanucleus.store.rdbms.key with parameters of type Table Constructor Description CandidateKey(Table table, Map<String,String> extensions)
Constructor.ColumnOrderedKey(Table table, Map<String,String> extensions)
Index(Table table, boolean isUnique, Map<String,String> extensions)
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 Table Modifier and Type Method Description Column
MappingManager. 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.Column
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.JavaTypeMapping
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.JavaTypeMapping
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 Table Constructor Description CorrespondentColumnsMapper(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 Table Modifier and Type Field Description protected Table
JavaTypeMapping. table
The Table storing this mapping.Methods in org.datanucleus.store.rdbms.mapping.java that return Table Modifier and Type Method Description Table
AbstractContainerMapping. getTable()
Accessor for the datastore class.Table
JavaTypeMapping. getTable()
Accessor for the table.Methods in org.datanucleus.store.rdbms.mapping.java with parameters of type Table Modifier and Type Method Description static 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
JavaTypeMapping. setTable(Table table)
Constructors in org.datanucleus.store.rdbms.mapping.java with parameters of type Table Constructor Description DiscriminatorLongMapping(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 Table Modifier and Type Method Description protected 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.String
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 Table Modifier and Type Field Description protected Table
ElementContainerStore. containerTable
Table containing the link between owner and element.Methods in org.datanucleus.store.rdbms.scostore that return Table Modifier and Type Method Description Table
ElementContainerStore. getContainerTable()
Methods in org.datanucleus.store.rdbms.scostore with parameters of type Table Modifier and Type Method Description protected 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
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 Table Modifier and Type Field Description protected Table
SQLTable. table
Methods in org.datanucleus.store.rdbms.sql that return Table Modifier and Type Method Description Table
SQLTable. getTable()
Methods in org.datanucleus.store.rdbms.sql with parameters of type Table Modifier and Type Method Description static 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.String
SQLTableAlphaNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)
String
SQLTableNameNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)
String
SQLTableNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)
Method to return the alias to use for the specified table.String
SQLTableTNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)
SQLTable
SQLStatement. getTable(Table table, String groupName)
Accessor for the SQLTable object for the specified table (if defined for this statement) in the specified table group.SQLTable
SQLStatement. getTableForDatastoreContainer(Table table)
Convenience method to find a registered SQLTable that is for the specified tableSQLTable
SelectStatement. 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)
SQLTable
SelectStatement. join(SQLJoin.JoinType joinType, SQLTable sourceTable, Table target, String targetAlias, String tableGrpName, BooleanExpression joinCondition, boolean applyToUnions)
SQLTable
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.SQLTable
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.SQLTable
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.SQLTable
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.SQLTable
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.SQLTable
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 Table Constructor Description AbstractSelectStatementGenerator(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.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.table Modifier and Type Interface Description interface
DatastoreClass
Representation of a Java class in a datastore.interface
SecondaryDatastoreClass
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 Table Modifier and Type Class Description class
AbstractClassTable
Abstract representation of a table for a class.class
AbstractTable
Abstract implementation of a table in the datastore.class
ArrayTable
Representation of a join table for an array.class
ClassTable
Table representing a Java class (or classes) as a first class object (FCO).class
ClassView
Representation of an SQL View for a Class.class
CollectionTable
Representation of a join table for a Collection.class
ElementContainerTable
Representation of a join table for a container of elements.class
JoinTable
Abstract class representing a field that maps to a table in the datastore.class
MapTable
Representation of a join table for a Map.class
PersistableJoinTable
Representation of a join table for the case where we have an N-1 unidirectional relation stored in a join table.class
ProbeTable
Utility class used for detecting database schema existence and provides means of determining the schema name.class
SecondaryTable
Representation of a secondary table for a class.class
TableImpl
Class representing a table in a datastore (RDBMS).class
ViewImpl
Representation of a View in a datastore (RDBMS).Fields in org.datanucleus.store.rdbms.table declared as Table Modifier and Type Field Description protected 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 Table
ColumnImpl. table
Table containing this column in the datastore.Methods in org.datanucleus.store.rdbms.table that return Table Modifier and Type Method Description Table
JoinTable. getOwnerTable()
Table
AbstractClassTable. getPrimaryTable()
Convenience method to return the primary table.Table
Column. getTable()
Accessor for the table for this columnTable
ColumnImpl. getTable()
Methods in org.datanucleus.store.rdbms.table with parameters of type Table Modifier and Type Method Description static 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 Table Constructor Description ArrayTable(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.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 Table Modifier and Type Class Description class
SequenceTable
Class defining a table for storing generated values for use with TableGenerator.
-