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 TableRDBMSStoreManager. getTable(org.datanucleus.metadata.AbstractMemberMetaData mmd)Returns the datastore container (table) for the specified field.TableRDBMSStoreManager. 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 RDBMSColumnInfoRDBMSStoreManager. 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.voidRDBMSStoreManager. invalidateColumnInfoForTable(Table table)Method to invalidate the cached column info for a table.TableRDBMSStoreManager. 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.voidRDBMSStoreManager. 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 StringBaseDatastoreAdapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringDatastoreAdapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringH2Adapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringHSQLAdapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringMySQLAdapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringPostgreSQLAdapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringTimesTenAdapter. getAddColumnStatement(Table table, Column col)Accessor for the SQL statement to add a column to a table.StringBaseDatastoreAdapter. getDropTableStatement(Table table)Returns the appropriate SQL to drop the given table.StringCloudSpannerAdapter. getDropTableStatement(Table table)Drop table statementStringDatastoreAdapter. getDropTableStatement(Table table)Returns the appropriate SQL to drop the given table.StringDB2Adapter. getDropTableStatement(Table table)StringDerbyAdapter. getDropTableStatement(Table table)StringFirebirdAdapter. getDropTableStatement(Table table)StringHSQLAdapter. getDropTableStatement(Table table)Returns the appropriate SQL to drop the given table.StringMySQLAdapter. getDropTableStatement(Table table)Method to return the DROP TABLE statement.StringOracleAdapter. getDropTableStatement(Table table)Method to return the drop table statement for Oracle.StringPostgreSQLAdapter. getDropTableStatement(Table table)Accessor for the statement for dropping a table.StringSQLAnywhereAdapter. 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'StringSQLiteAdapter. getDropTableStatement(Table table)StringSQLServerAdapter. getDropTableStatement(Table table)StringSybaseAdapter. getDropTableStatement(Table table)Accessor for the DROP TABLE statement for Sybase.StringVirtuosoAdapter. getDropTableStatement(Table table)Method to return the DROP TABLE statement.StringBaseDatastoreAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the autoincrementing sql statement for this datastore.StringDatastoreAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the identity (autoincrement) sql statement to get the latest key value for this table.StringDB2Adapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringDerbyAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment SQL statement for this datastore.StringH2Adapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringHSQLAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringInformixAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the autoincrement sql access statement for this datastore.StringMySQLAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringPostgreSQLAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the autoincrement sql access statement for this datastore.StringSQLAnywhereAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringSQLiteAdapter. getIdentityLastValueStmt(Table table, String columnName)StringSQLServerAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringSybaseAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringVirtuosoAdapter. getIdentityLastValueStmt(Table table, String columnName)Accessor for the auto-increment sql statement for this datastore.StringBaseDatastoreAdapter. getInsertStatementForNoColumns(Table table)Method to return the INSERT statement to use when inserting into a table that has no columns specified.StringDatastoreAdapter. getInsertStatementForNoColumns(Table table)Method to retutn the INSERT statement to use when inserting into a table that has no columns specified.StringDerbyAdapter. getInsertStatementForNoColumns(Table table)Method to return the INSERT statement to use when inserting into a table that has no columns specified.StringH2Adapter. getInsertStatementForNoColumns(Table table)Method to return the INSERT statement to use when inserting into a table that has no columns specified.StringHSQLAdapter. getInsertStatementForNoColumns(Table table)Method to return the INSERT statement to use when inserting into a table that has no columns specified.StringOracleAdapter. getInsertStatementForNoColumns(Table table)StringPostgreSQLAdapter. getInsertStatementForNoColumns(Table table)Method to return the INSERT statement to use when inserting into a table and we dont want to specify columns.StringSQLServerAdapter. 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 classSchemaTableClass 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 DatastoreIdentifierAbstractIdentifierFactory. newCandidateKeyIdentifier(Table table, int seq)Method to generate an identifier for a candidate key in the supplied table.DatastoreIdentifierIdentifierFactory. newCandidateKeyIdentifier(Table table, int seq)Method to generate an identifier for a candidate key.DatastoreIdentifierAbstractIdentifierFactory. newForeignKeyIdentifier(Table table, int seq)Method to create a new identifier for a foreign key in the supplied table.DatastoreIdentifierIdentifierFactory. newForeignKeyIdentifier(Table table, int seq)Method to create an identifier for a foreign key.DatastoreIdentifierAbstractIdentifierFactory. newIndexIdentifier(Table table, boolean isUnique, int seq)Method to create an identifier for an Index in the supplied table.DatastoreIdentifierIdentifierFactory. newIndexIdentifier(Table table, boolean isUnique, int seq)Method to generate an identifier for an index.DatastoreIdentifierAbstractIdentifierFactory. newPrimaryKeyIdentifier(Table table)Method to generate an identifier for a primary key for the supplied table.DatastoreIdentifierIdentifierFactory. 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 TableKey. tableTable that the key applies to.protected TableKey. tableTable that the key applies to.protected TableKey. tableTable that the key applies to.protected TableKey. tableTable that the key applies to.protected TableKey. tableTable 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 ColumnMappingManager. 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.ColumnMappingManagerImpl. 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 JavaTypeMappingMappingManagerImpl. 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 JavaTypeMappingMappingManagerImpl. getKeyMapping(Table table, org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.ClassLoaderResolver clr)Convenience accessor for the mapping of the key of a map.JavaTypeMappingMappingManager. 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.JavaTypeMappingMappingManagerImpl. 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 JavaTypeMappingMappingManagerImpl. 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 TableJavaTypeMapping. tableThe Table storing this mapping.Methods in org.datanucleus.store.rdbms.mapping.java that return Table Modifier and Type Method Description TableAbstractContainerMapping. getTable()Accessor for the datastore class.TableJavaTypeMapping. getTable()Accessor for the table.Methods in org.datanucleus.store.rdbms.mapping.java with parameters of type Table Modifier and Type Method Description static DiscriminatorMappingDiscriminatorMapping. createDiscriminatorMapping(Table table, org.datanucleus.metadata.DiscriminatorMetaData dismd)Convenience method to create a discriminator mapping in the specified table, using the provided discriminator metadata.voidAbstractContainerMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping for the given field/property.voidEmbeddedElementPCMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.voidEmbeddedKeyPCMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialise this JavaTypeMapping with the given DatastoreAdapter for the given metadata.voidEmbeddedMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.voidEmbeddedMapping. 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.voidEmbeddedPCMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialise this JavaTypeMapping with the given DatastoreAdapter for the given metadata.voidEmbeddedValuePCMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialise this JavaTypeMapping with the given DatastoreAdapter for the given metadata.voidEnumMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping for the given member MetaData and Table owning it.voidGregorianCalendarMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr)voidInterfaceMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialisation.voidJavaTypeMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping for the supplied table and field/property metadata.voidPersistableMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping with the given DatastoreAdapter for the given metadata.voidReferenceMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping for the specified field/property.voidSerialisedLocalFileMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)voidSingleCollectionMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)voidSingleFieldMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.voidSubclassPCMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData fmd, Table table, org.datanucleus.ClassLoaderResolver clr)Initialize this JavaTypeMapping with the given DatastoreAdapter for the given member MetaData.voidTypeConverterMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)voidTypeConverterMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.store.types.converters.TypeConverter conv)voidTypeConverterMultiMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)voidTypeConverterMultiMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.store.types.converters.TypeConverter conv)voidUUIDMapping. initialize(org.datanucleus.metadata.AbstractMemberMetaData mmd, Table table, org.datanucleus.ClassLoaderResolver clr)voidJavaTypeMapping. 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 RDBMSColumnInfoRDBMSSchemaHandler. 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 RDBMSTableFKInfoRDBMSSchemaHandler. getRDBMSTableFKInfoForTable(Connection conn, Table table)Convenience method to get the ForeignKey info for the specified table from the datastore.protected RDBMSTableIndexInfoRDBMSSchemaHandler. getRDBMSTableIndexInfoForTable(Connection conn, Table table)Convenience method to get the index info for the specified table from the datastore.protected RDBMSTableInfoRDBMSSchemaHandler. getRDBMSTableInfoForTable(Connection conn, Table table)Convenience method to get the column info for the specified table from the datastore.protected RDBMSTablePKInfoRDBMSSchemaHandler. getRDBMSTablePKInfoForTable(Connection conn, Table table)Convenience method to get the PrimaryKey info for the specified table from the datastore.StringRDBMSSchemaHandler. 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 TableElementContainerStore. containerTableTable containing the link between owner and element.Methods in org.datanucleus.store.rdbms.scostore that return Table Modifier and Type Method Description TableElementContainerStore. getContainerTable()Methods in org.datanucleus.store.rdbms.scostore with parameters of type Table Modifier and Type Method Description protected static StringAbstractMapStore. getContainsValueStmt(JavaTypeMapping ownerMapping, JavaTypeMapping valueMapping, Table mapTable)Generate statement to check if a value is contained in the Map.protected org.datanucleus.metadata.AbstractMemberMetaDataArrayStoreIterator. getOwnerFieldMetaData(Table containerTable)protected org.datanucleus.metadata.AbstractMemberMetaDataListStoreIterator. getOwnerMemberMetaData(Table containerTable)protected StringJoinMapStore. getUpdateEmbeddedKeyStmt(JavaTypeMapping fieldMapping, JavaTypeMapping ownerMapping, JavaTypeMapping keyMapping, Table mapTable)Generate statement for update the field of an embedded key.protected StringJoinMapStore. 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 TableSQLTable. tableMethods in org.datanucleus.store.rdbms.sql that return Table Modifier and Type Method Description TableSQLTable. getTable()Methods in org.datanucleus.store.rdbms.sql with parameters of type Table Modifier and Type Method Description static SQLTableSQLStatementHelper. 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.StringSQLTableAlphaNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)StringSQLTableNameNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)StringSQLTableNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)Method to return the alias to use for the specified table.StringSQLTableTNamer. getAliasForTable(SQLStatement stmt, Table table, String groupName)SQLTableSQLStatement. getTable(Table table, String groupName)Accessor for the SQLTable object for the specified table (if defined for this statement) in the specified table group.SQLTableSQLStatement. getTableForDatastoreContainer(Table table)Convenience method to find a registered SQLTable that is for the specified tableSQLTableSelectStatement. 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)SQLTableSelectStatement. join(SQLJoin.JoinType joinType, SQLTable sourceTable, Table target, String targetAlias, String tableGrpName, BooleanExpression joinCondition, boolean applyToUnions)SQLTableSQLStatement. 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.SQLTableSQLStatement. 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.SQLTableSQLStatement. 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.SQLTableSQLStatement. 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.SQLTableSQLStatement. 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.SQLTableSQLStatement. 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 interfaceDatastoreClassRepresentation of a Java class in a datastore.interfaceSecondaryDatastoreClassSecondary 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 classAbstractClassTableAbstract representation of a table for a class.classAbstractTableAbstract implementation of a table in the datastore.classArrayTableRepresentation of a join table for an array.classClassTableTable representing a Java class (or classes) as a first class object (FCO).classClassViewRepresentation of an SQL View for a Class.classCollectionTableRepresentation of a join table for a Collection.classElementContainerTableRepresentation of a join table for a container of elements.classJoinTableAbstract class representing a field that maps to a table in the datastore.classMapTableRepresentation of a join table for a Map.classPersistableJoinTableRepresentation of a join table for the case where we have an N-1 unidirectional relation stored in a join table.classProbeTableUtility class used for detecting database schema existence and provides means of determining the schema name.classSecondaryTableRepresentation of a secondary table for a class.classTableImplClass representing a table in a datastore (RDBMS).classViewImplRepresentation of a View in a datastore (RDBMS).Fields in org.datanucleus.store.rdbms.table declared as Table Modifier and Type Field Description protected TableJoinTable. ownerTableTable of the owner of the member represented here.protected TableMapTable. ownerTableprotected TablePersistableJoinTable. ownerTableTable of the owner of this member.protected TableColumnImpl. tableTable containing this column in the datastore.Methods in org.datanucleus.store.rdbms.table that return Table Modifier and Type Method Description TableJoinTable. getOwnerTable()TableAbstractClassTable. getPrimaryTable()Convenience method to return the primary table.TableColumn. getTable()Accessor for the table for this columnTableColumnImpl. getTable()Methods in org.datanucleus.store.rdbms.table with parameters of type Table Modifier and Type Method Description static JavaTypeMappingColumnCreator. 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 JavaTypeMappingColumnCreator. 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 ColumnColumnCreator. 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 CandidateKeyTableUtils. getCandidateKeyForField(Table table, org.datanucleus.metadata.UniqueMetaData umd, JavaTypeMapping fieldMapping)Convenience method to return the candidate key (if any) for a field.static IndexTableUtils. 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 classSequenceTableClass defining a table for storing generated values for use with TableGenerator.
-