Uses of Interface
org.datanucleus.store.rdbms.identifier.DatastoreIdentifier
-
Packages that use DatastoreIdentifier 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.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.mapping In an RDBMS datastore each class is represented as a Table (maybe shared with other classes).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 DatastoreIdentifier in org.datanucleus.store.rdbms
Fields in org.datanucleus.store.rdbms declared as DatastoreIdentifier Modifier and Type Field Description protected DatastoreIdentifier
RDBMSStoreData. tableIdentifier
Methods in org.datanucleus.store.rdbms that return DatastoreIdentifier Modifier and Type Method Description DatastoreIdentifier
RDBMSStoreData. getDatastoreIdentifier()
Accessor for the identifier for the table.Methods in org.datanucleus.store.rdbms with parameters of type DatastoreIdentifier Modifier and Type Method Description RDBMSColumnInfo
RDBMSStoreManager. getColumnInfoForColumnName(Table table, Connection conn, DatastoreIdentifier column)
Returns the column info for a column name.DatastoreClass
RDBMSStoreManager. getDatastoreClass(DatastoreIdentifier name)
Returns the datastore table having the given identifier.org.datanucleus.store.StoreData[]
RDBMSStoreManager. getStoreDataForDatastoreContainerObject(DatastoreIdentifier tableIdentifier)
Utility to return all StoreData for a Datastore Container identifier. -
Uses of DatastoreIdentifier in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type DatastoreIdentifier Modifier and Type Method Description String
BaseDatastoreAdapter. getCheckConstraintForValues(DatastoreIdentifier identifier, Object[] values, boolean nullable)
Creates a CHECK constraint definition based on the given values e.g.String
DatastoreAdapter. getCheckConstraintForValues(DatastoreIdentifier identifier, Object[] values, boolean nullable)
Creates a CHECK constraint definition based on the given values e.g. -
Uses of DatastoreIdentifier in org.datanucleus.store.rdbms.identifier
Classes in org.datanucleus.store.rdbms.identifier that implement DatastoreIdentifier Modifier and Type Class Description class
DatastoreIdentifierImpl
Implementation of a datastore identifier.Fields in org.datanucleus.store.rdbms.identifier with type parameters of type DatastoreIdentifier Modifier and Type Field Description protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. candidates
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. columns
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. foreignkeys
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. indexes
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. primarykeys
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. references
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. sequences
protected Map<String,DatastoreIdentifier>
AbstractIdentifierFactory. tables
Methods in org.datanucleus.store.rdbms.identifier that return DatastoreIdentifier Modifier and Type Method Description DatastoreIdentifier
DN2IdentifierFactory. newAdapterIndexFieldIdentifier()
Method to return an identifier for an adapter index column.DatastoreIdentifier
DNIdentifierFactory. newAdapterIndexFieldIdentifier()
Method to return an identifier for an adapter index column.DatastoreIdentifier
IdentifierFactory. newAdapterIndexFieldIdentifier()
Method to return an identifier for an adapter index column.DatastoreIdentifier
JPAIdentifierFactory. newAdapterIndexFieldIdentifier()
Method to return an identifier for an adapter index column.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. newColumnIdentifier(String identifierName)
Method to use to generate an identifier for a column.DatastoreIdentifier
AbstractIdentifierFactory. newColumnIdentifier(String javaName, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole, boolean custom)
Method to create an identifier for a column where we want the name based on the supplied java name, and the field has a particular role (and so could have its naming set according to the role).DatastoreIdentifier
IdentifierFactory. newColumnIdentifier(String identifierName)
Method to use to generate an identifier for a column with the supplied name.DatastoreIdentifier
IdentifierFactory. newColumnIdentifier(String javaName, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole, boolean custom)
Method to create an identifier for a column where we want the name based on the supplied java name, and the field has a particular role (and so could have its naming set according to the role).DatastoreIdentifier
DNIdentifierFactory. newDiscriminatorFieldIdentifier()
Method to return an identifier for a discriminator column.DatastoreIdentifier
IdentifierFactory. newDiscriminatorFieldIdentifier()
Method to return an identifier for a discriminator column.DatastoreIdentifier
JPAIdentifierFactory. newDiscriminatorFieldIdentifier()
Method to return an identifier for a discriminator column.DatastoreIdentifier
DN2IdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
DNIdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
IdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
JPAIdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.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. newIdentifier(DatastoreIdentifier identifier, String suffix)
Method to return a new Identifier based on the passed identifier, but adding on the passed suffixDatastoreIdentifier
AbstractIdentifierFactory. newIdentifier(IdentifierType identifierType, String name)
Method to generate an identifier based on the supplied name for the requested type of identifier.DatastoreIdentifier
IdentifierFactory. newIdentifier(DatastoreIdentifier identifier, String suffix)
Method to return a new Identifier based on the passed identifier, but adding on the passed suffixDatastoreIdentifier
IdentifierFactory. newIdentifier(IdentifierType identifierType, String identifierName)
To be called when we want an identifier name creating based on the identifier.DatastoreIdentifier
DN2IdentifierFactory. newIndexFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return an identifier for an index (ordering) column.DatastoreIdentifier
DNIdentifierFactory. newIndexFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return an identifier for an index (ordering) column.DatastoreIdentifier
IdentifierFactory. newIndexFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return an identifier for an index (ordering) column.DatastoreIdentifier
JPAIdentifierFactory. newIndexFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return an identifier for an index (ordering) column.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
DN2IdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
DNIdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
IdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
JPAIdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.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.DatastoreIdentifier
DNIdentifierFactory. newReferenceFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData refMetaData, org.datanucleus.metadata.AbstractClassMetaData implMetaData, DatastoreIdentifier implIdentifier, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate an identifier name for reference field, based on the metadata for the field, and the ClassMetaData for the implementation.DatastoreIdentifier
IdentifierFactory. newReferenceFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData refMetaData, org.datanucleus.metadata.AbstractClassMetaData implMetaData, DatastoreIdentifier implIdentifier, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate an identifier name for reference field, based on the metadata for the field, and the ClassMetaData for the implementation.DatastoreIdentifier
JPAIdentifierFactory. newReferenceFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData refMetaData, org.datanucleus.metadata.AbstractClassMetaData implMetaData, DatastoreIdentifier implIdentifier, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate an identifier name for reference field, based on the metadata for the field, and the ClassMetaData for the implementation.DatastoreIdentifier
AbstractIdentifierFactory. newSequenceIdentifier(String sequenceName)
Method to generate an identifier for a sequence using the passed name.DatastoreIdentifier
IdentifierFactory. newSequenceIdentifier(String sequenceName)
Method to generate an identifier for a sequence using the passed name.DatastoreIdentifier
AbstractIdentifierFactory. newTableIdentifier(String identifierName)
Method to use to generate an identifier for a column in the default catalog/schema.DatastoreIdentifier
AbstractIdentifierFactory. newTableIdentifier(String identifierName, String catalogName, String schemaName)
Method to use to generate an identifier for a column.DatastoreIdentifier
DNIdentifierFactory. newTableIdentifier(org.datanucleus.metadata.AbstractClassMetaData cmd)
Method to return a Table identifier for the specified class.DatastoreIdentifier
DNIdentifierFactory. newTableIdentifier(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return a Table identifier for the join table of the specified field.DatastoreIdentifier
IdentifierFactory. newTableIdentifier(String identifierName)
Method to use to generate an identifier for a table with the supplied name in the default catalog/schema.DatastoreIdentifier
IdentifierFactory. newTableIdentifier(String identifierName, String catalogName, String schemaName)
Method to use to generate an identifier for a table with the supplied name.DatastoreIdentifier
IdentifierFactory. newTableIdentifier(org.datanucleus.metadata.AbstractClassMetaData md)
Method to return a Table identifier for the specified class.DatastoreIdentifier
IdentifierFactory. newTableIdentifier(org.datanucleus.metadata.AbstractMemberMetaData fmd)
Method to return a Table identifier for the specified field.DatastoreIdentifier
JPAIdentifierFactory. newTableIdentifier(org.datanucleus.metadata.AbstractClassMetaData cmd)
Method to return a Table identifier for the specified class.DatastoreIdentifier
JPAIdentifierFactory. newTableIdentifier(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return a Table identifier for the join table of the specified field/property.DatastoreIdentifier
DN2IdentifierFactory. newVersionFieldIdentifier()
Method to return an identifier for a version column.DatastoreIdentifier
DNIdentifierFactory. newVersionFieldIdentifier()
Method to return an identifier for a version column.DatastoreIdentifier
IdentifierFactory. newVersionFieldIdentifier()
Method to return an identifier for a version column.DatastoreIdentifier
JPAIdentifierFactory. newVersionFieldIdentifier()
Method to return an identifier for a version column.Methods in org.datanucleus.store.rdbms.identifier with parameters of type DatastoreIdentifier Modifier and Type Method Description DatastoreIdentifier
DN2IdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
DNIdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
IdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
JPAIdentifierFactory. newForeignKeyFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a FK/FK-index field identifier.DatastoreIdentifier
AbstractIdentifierFactory. newIdentifier(DatastoreIdentifier identifier, String suffix)
Method to return a new Identifier based on the passed identifier, but adding on the passed suffixDatastoreIdentifier
IdentifierFactory. newIdentifier(DatastoreIdentifier identifier, String suffix)
Method to return a new Identifier based on the passed identifier, but adding on the passed suffixDatastoreIdentifier
DN2IdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
DNIdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
IdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
JPAIdentifierFactory. newJoinTableFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData ownerFmd, org.datanucleus.metadata.AbstractMemberMetaData relatedFmd, DatastoreIdentifier destinationId, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate a join-table identifier.DatastoreIdentifier
DNIdentifierFactory. newReferenceFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData refMetaData, org.datanucleus.metadata.AbstractClassMetaData implMetaData, DatastoreIdentifier implIdentifier, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate an identifier name for reference field, based on the metadata for the field, and the ClassMetaData for the implementation.DatastoreIdentifier
IdentifierFactory. newReferenceFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData refMetaData, org.datanucleus.metadata.AbstractClassMetaData implMetaData, DatastoreIdentifier implIdentifier, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate an identifier name for reference field, based on the metadata for the field, and the ClassMetaData for the implementation.DatastoreIdentifier
JPAIdentifierFactory. newReferenceFieldIdentifier(org.datanucleus.metadata.AbstractMemberMetaData refMetaData, org.datanucleus.metadata.AbstractClassMetaData implMetaData, DatastoreIdentifier implIdentifier, boolean embedded, org.datanucleus.metadata.FieldRole fieldRole)
Method to generate an identifier name for reference field, based on the metadata for the field, and the ClassMetaData for the implementation. -
Uses of DatastoreIdentifier in org.datanucleus.store.rdbms.mapping
Methods in org.datanucleus.store.rdbms.mapping with parameters of type DatastoreIdentifier Modifier and Type Method Description org.datanucleus.metadata.ColumnMetaData
CorrespondentColumnsMapper. getColumnMetaDataByIdentifier(DatastoreIdentifier name)
Accessor for the column MetaData in side A that maps to the side B identifier. -
Uses of DatastoreIdentifier in org.datanucleus.store.rdbms.sql
Fields in org.datanucleus.store.rdbms.sql declared as DatastoreIdentifier Modifier and Type Field Description protected DatastoreIdentifier
SQLColumn. alias
Alias for the column, for use in a SELECT clause.protected DatastoreIdentifier
SQLTable. alias
protected DatastoreIdentifier
AbstractSelectStatementGenerator. candidateTableAlias
Alias for the candidate table in the SQL statement.Methods in org.datanucleus.store.rdbms.sql that return DatastoreIdentifier Modifier and Type Method Description DatastoreIdentifier
SQLColumn. getAlias()
DatastoreIdentifier
SQLTable. getAlias()
Constructors in org.datanucleus.store.rdbms.sql with parameters of type DatastoreIdentifier Constructor Description AbstractSelectStatementGenerator(RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr, Class candidateType, boolean subclasses, DatastoreIdentifier candidateTableAlias, String candidateTableGroupName)
Constructor for the case where we select the candidate table.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)
Constructor, using the candidateTable as the primary table of the SQL SELECT.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)
Constructor, using the candidateTable as the primary table of the SQL SELECT.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.SQLColumn(SQLTable table, Column col, DatastoreIdentifier alias)
Constructor for a column reference.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)
Constructor using the candidateTable as the primary table.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 DatastoreIdentifier in org.datanucleus.store.rdbms.table
Fields in org.datanucleus.store.rdbms.table declared as DatastoreIdentifier Modifier and Type Field Description protected DatastoreIdentifier
AbstractTable. identifier
Identifier name for the table.protected DatastoreIdentifier
ColumnImpl. identifier
Identifier for the column in the datastore.Fields in org.datanucleus.store.rdbms.table with type parameters of type DatastoreIdentifier Modifier and Type Field Description protected Map<DatastoreIdentifier,Column>
AbstractTable. columnsByIdentifier
Index to the columns, keyed by name identifier.Methods in org.datanucleus.store.rdbms.table that return DatastoreIdentifier Modifier and Type Method Description DatastoreIdentifier
AbstractTable. getDatastoreIdentifierFullyQualified()
Method that operates like toString except it returns a fully-qualified name that will always be fully-qualified even when the user hasnt specified the catalog/schema in PMF or MetaData.DatastoreIdentifier
AbstractTable. getIdentifier()
Accessor for the SQL identifier (the table name).DatastoreIdentifier
Column. getIdentifier()
Accessor for the identifier for this object.DatastoreIdentifier
ColumnImpl. getIdentifier()
DatastoreIdentifier
Table. getIdentifier()
Accessor for the identifier for this object.Methods in org.datanucleus.store.rdbms.table with parameters of type DatastoreIdentifier Modifier and Type Method Description Column
AbstractTable. addColumn(String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd)
Creates a new column in the table.Column
Table. addColumn(String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, org.datanucleus.metadata.ColumnMetaData colmd)
Method to add a new column to the internal representation.Column
AbstractTable. getColumn(DatastoreIdentifier identifier)
Column
Table. getColumn(DatastoreIdentifier identifier)
Accessor for the column with the specified identifier.boolean
AbstractTable. hasColumn(DatastoreIdentifier identifier)
boolean
Table. hasColumn(DatastoreIdentifier identifier)
Checks if there is a column for the identifierprotected boolean
AbstractTable. hasColumnName(DatastoreIdentifier colName)
Utility to return if a column of this name exists.void
Column. setIdentifier(DatastoreIdentifier identifier)
Mutator for the identifier of the column.void
ColumnImpl. setIdentifier(DatastoreIdentifier identifier)
Constructors in org.datanucleus.store.rdbms.table with parameters of type DatastoreIdentifier Constructor Description AbstractClassTable(DatastoreIdentifier tableName, RDBMSStoreManager storeMgr)
Constructor.AbstractTable(DatastoreIdentifier identifier, RDBMSStoreManager storeMgr)
Constructor taking the table name and the RDBMSManager managing this table.ArrayTable(Table ownerTable, DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr)
Constructor.ClassTable(DatastoreIdentifier tableName, RDBMSStoreManager storeMgr, org.datanucleus.metadata.ClassMetaData cmd)
Constructor.ClassView(DatastoreIdentifier tableName, RDBMSStoreManager storeMgr, org.datanucleus.metadata.ClassMetaData cmd)
Constructor for class view.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.TableImpl(DatastoreIdentifier name, RDBMSStoreManager storeMgr)
Constructor.ViewImpl(DatastoreIdentifier name, RDBMSStoreManager storeMgr)
Constructor, taking the table identifier. -
Uses of DatastoreIdentifier in org.datanucleus.store.rdbms.valuegenerator
Methods in org.datanucleus.store.rdbms.valuegenerator with parameters of type DatastoreIdentifier Modifier and Type Method Description Long
SequenceTable. getNextVal(String sequenceName, org.datanucleus.store.connection.ManagedConnection conn, int incrementBy, DatastoreIdentifier tableIdentifier, String columnName, int initialValue)
Accessor for the nextval of a sequenceConstructors in org.datanucleus.store.rdbms.valuegenerator with parameters of type DatastoreIdentifier Constructor Description SequenceTable(DatastoreIdentifier identifier, RDBMSStoreManager storeMgr, String seqNameColName, String nextValColName)
Constructor
-