Modifier and Type | Field and Description |
---|---|
protected DbEntity |
OptimisticLockException.rootEntity |
Modifier and Type | Field and Description |
---|---|
protected List<DbEntity> |
DbGenerator.dbEntitiesInInsertOrder
Contains all DbEntities ordered considering their interdependencies.
|
protected List<DbEntity> |
DbGenerator.dbEntitiesRequiringAutoPK |
Modifier and Type | Method and Description |
---|---|
Map<DbPath,Map<String,DbEntity>> |
DbLoader.getTables(DbLoaderConfiguration config,
String[] types)
Returns all tables for given combination of the criteria.
|
List<DbEntity> |
DbLoader.loadDbEntities(DataMap map,
DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables)
Loads dbEntities for the specified tables.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
DbGenerator.createConstraintsQueries(DbEntity table)
Creates FK and UNIQUE constraint statements for a given table.
|
void |
DbLoaderDelegate.dbEntityAdded(DbEntity entity) |
void |
DbLoaderDelegate.dbEntityRemoved(DbEntity entity) |
boolean |
DbLoaderDelegate.dbRelationship(DbEntity entity)
Called before relationship loading for db-entity
|
boolean |
DbLoaderDelegate.dbRelationshipLoaded(DbEntity entity,
DbRelationship relationship)
Called before relationship will be added into db-entity but after it was loaded from db
|
void |
DataPortDelegate.didCleanData(DataPort portTool,
DbEntity entity,
int rowCount)
Deprecated.
Invoked by DataPort right after the end of data cleanup for a given entity.
|
void |
DataPortDelegate.didPortEntity(DataPort portTool,
DbEntity entity,
int rowCount)
Deprecated.
Invoked by DataPort right after the end of data port for a given entity.
|
Query |
DataPortDelegate.willCleanData(DataPort portTool,
DbEntity entity,
Query query)
Deprecated.
Invoked by DataPort right before the start of data cleanup for a given entity.
|
Query |
DataPortDelegate.willPortEntity(DataPort portTool,
DbEntity entity,
Query query)
Deprecated.
Invoked by DataPort right before the start of data port for a given entity.
|
Modifier and Type | Method and Description |
---|---|
List<DbEntity> |
DbLoader.loadDbEntities(DataMap map,
DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables)
Loads dbEntities for the specified tables.
|
protected void |
DbLoader.loadDbRelationships(DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables) |
Collection<ObjEntity> |
DbLoader.loadObjEntities(DataMap map,
DbLoaderConfiguration config,
Collection<DbEntity> entities)
Creates an ObjEntity for each DbEntity in the map.
|
static Collection<ObjEntity> |
DbLoader.loadObjEntities(DataMap map,
DbLoaderConfiguration config,
Collection<DbEntity> entities,
ObjectNameGenerator nameGenerator) |
void |
DbLoader.prepareObjLayer(DataMap dataMap,
DbLoaderConfiguration config,
Collection<DbEntity> entities) |
Constructor and Description |
---|
OptimisticLockException(ObjectId id,
DbEntity rootEntity,
String querySQL,
Map qualifierSnapshot) |
Constructor and Description |
---|
DbGenerator(DbAdapter adapter,
DataMap map,
Collection<DbEntity> excludedEntities,
DataDomain domain,
JdbcEventLogger logger)
Creates and initializes new DbGenerator instance.
|
DbGenerator(DbAdapter adapter,
DataMap map,
JdbcEventLogger logger,
Collection<DbEntity> excludedEntities) |
Modifier and Type | Field and Description |
---|---|
protected DbEntity |
SQLTemplateAction.dbEntity |
protected DbEntity |
DistinctResultIterator.defaultEntity |
Constructor and Description |
---|
DistinctResultIterator(ResultIterator<T> delegate,
DbEntity defaultEntity,
boolean compareFullRows)
Creates new DistinctResultIterator wrapping another ResultIterator.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultDbLoaderDelegate.dbEntityAdded(DbEntity entity) |
void |
LoggingDbLoaderDelegate.dbEntityAdded(DbEntity entity) |
void |
DefaultDbLoaderDelegate.dbEntityRemoved(DbEntity entity) |
void |
LoggingDbLoaderDelegate.dbEntityRemoved(DbEntity entity) |
boolean |
DefaultDbLoaderDelegate.dbRelationship(DbEntity entity) |
boolean |
LoggingDbLoaderDelegate.dbRelationship(DbEntity entity) |
boolean |
DefaultDbLoaderDelegate.dbRelationshipLoaded(DbEntity entity,
DbRelationship relationship) |
boolean |
LoggingDbLoaderDelegate.dbRelationshipLoaded(DbEntity entity,
DbRelationship relationship) |
Modifier and Type | Method and Description |
---|---|
Filter<DbEntity> |
EntityFilters.tableFilter() |
Modifier and Type | Method and Description |
---|---|
static DbPath |
DbPath.build(DbEntity entity) |
Modifier and Type | Field and Description |
---|---|
protected DbEntity |
EJBQLDbPathTranslator.currentEntity |
Modifier and Type | Method and Description |
---|---|
DbEntity |
QueryAssemblerHelper.getDbEntity() |
DbEntity |
QueryAssembler.getRootDbEntity() |
Modifier and Type | Field and Description |
---|---|
protected Map<DbEntity,org.apache.cayenne.ashwood.AshwoodEntitySorter.ComponentRecord> |
AshwoodEntitySorter.components |
protected Comparator<DbEntity> |
AshwoodEntitySorter.dbEntityComparator |
protected Map<DbEntity,List<DbRelationship>> |
AshwoodEntitySorter.reflexiveDbEntities |
Modifier and Type | Method and Description |
---|---|
protected Comparator<DbEntity> |
AshwoodEntitySorter.getDbEntityComparator(boolean dependantFirst) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AshwoodEntitySorter.isReflexive(DbEntity metadata) |
Modifier and Type | Method and Description |
---|---|
void |
AshwoodEntitySorter.sortDbEntities(List<DbEntity> dbEntities,
boolean deleteOrder) |
Modifier and Type | Method and Description |
---|---|
T |
BaseConfigurationNodeVisitor.visitDbEntity(DbEntity entity) |
T |
ConfigurationNodeVisitor.visitDbEntity(DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
String |
AutoAdapter.createTable(DbEntity entity) |
String |
DbAdapter.createTable(DbEntity entity)
Returns a SQL string that can be used to create database table
corresponding to
entity parameter. |
String |
JdbcAdapter.createTable(DbEntity entity)
Returns a SQL string that can be used to create database table
corresponding to
ent parameter. |
protected void |
JdbcAdapter.createTableAppendPKClause(StringBuffer sqlBuffer,
DbEntity entity) |
String |
AutoAdapter.createUniqueConstraint(DbEntity source,
Collection<DbAttribute> columns) |
String |
DbAdapter.createUniqueConstraint(DbEntity source,
Collection<DbAttribute> columns)
Returns a DDL string to create a unique constraint over a set of columns,
or null if the unique constraints are not supported.
|
String |
JdbcAdapter.createUniqueConstraint(DbEntity source,
Collection<DbAttribute> columns)
Returns a DDL string to create a unique constraint over a set of columns.
|
Collection<String> |
AutoAdapter.dropTableStatements(DbEntity table) |
Collection<String> |
DbAdapter.dropTableStatements(DbEntity table)
Returns a collection of SQL statements needed to drop a database table.
|
Collection<String> |
JdbcAdapter.dropTableStatements(DbEntity table) |
protected long |
JdbcPkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity)
Performs primary key generation ignoring cache.
|
String |
DefaultQuotingStrategy.quotedFullyQualifiedName(DbEntity entity) |
String |
QuotingStrategy.quotedFullyQualifiedName(DbEntity entity)
Builds a fully qualified name from catalog, schema, name parts of
DbEntity, inclosing them in quotations according to this strategy
algorithm.
|
String |
DefaultQuotingStrategy.quoteFullyQualifiedName(DbEntity entity)
Deprecated.
|
String |
QuotingStrategy.quoteFullyQualifiedName(DbEntity entity)
Deprecated.
since 4.0 renamed to
QuotingStrategy.quotedFullyQualifiedName(DbEntity) . |
Modifier and Type | Method and Description |
---|---|
void |
JdbcPkGenerator.createAutoPk(DataNode node,
List<DbEntity> dbEntities) |
void |
PkGenerator.createAutoPk(DataNode node,
List<DbEntity> dbEntities)
Generates necessary database objects to provide automatic primary key support.
|
List<String> |
JdbcPkGenerator.createAutoPkStatements(List<DbEntity> dbEntities) |
List<String> |
PkGenerator.createAutoPkStatements(List<DbEntity> dbEntities)
Returns a list of SQL strings needed to generates database objects to provide
automatic primary support for the list of entities.
|
void |
JdbcPkGenerator.dropAutoPk(DataNode node,
List<DbEntity> dbEntities)
Drops table named "AUTO_PK_SUPPORT" if it exists in the database.
|
void |
PkGenerator.dropAutoPk(DataNode node,
List<DbEntity> dbEntities)
Drops any common database objects associated with automatic primary key generation
process.
|
List<String> |
JdbcPkGenerator.dropAutoPkStatements(List<DbEntity> dbEntities) |
List<String> |
PkGenerator.dropAutoPkStatements(List<DbEntity> dbEntities)
Returns SQL string needed to drop database objects associated with automatic
primary key generation.
|
protected String |
JdbcPkGenerator.pkDeleteString(List<DbEntity> dbEntities) |
Modifier and Type | Method and Description |
---|---|
protected String |
DB2PkGenerator.createSequenceString(DbEntity entity)
Returns CREATE SEQUENCE statement for entity.
|
MergerToken |
DB2MergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
String |
DB2Adapter.createTable(DbEntity ent)
Returns a SQL string that can be used to create database table corresponding to
ent parameter. |
protected String |
DB2PkGenerator.dropSequenceString(DbEntity entity)
Returns DROP SEQUENCE statement.
|
protected long |
DB2PkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
protected String |
DB2PkGenerator.sequenceName(DbEntity entity)
Returns default sequence name for DbEntity.
|
Modifier and Type | Method and Description |
---|---|
void |
DB2PkGenerator.createAutoPk(DataNode node,
List<DbEntity> dbEntities) |
List<String> |
DB2PkGenerator.createAutoPkStatements(List<DbEntity> dbEntities)
Creates a list of CREATE SEQUENCE statements for the list of DbEntities.
|
void |
DB2PkGenerator.dropAutoPk(DataNode node,
List<DbEntity> dbEntities)
Drops PK sequences for all specified DbEntities.
|
List<String> |
DB2PkGenerator.dropAutoPkStatements(List<DbEntity> dbEntities)
Creates a list of DROP SEQUENCE statements for the list of DbEntities.
|
Modifier and Type | Method and Description |
---|---|
MergerToken |
DerbyMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
DerbyMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
DerbyMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
protected long |
DerbyPkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
MergerToken |
FirebirdMergerFactory.createAddColumnToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
FirebirdMergerFactory.createDropColumnToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
FirebirdMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
FirebirdMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
Modifier and Type | Method and Description |
---|---|
String |
FrontBaseAdapter.createTable(DbEntity ent)
Customizes table creating procedure for FrontBase.
|
Collection<String> |
FrontBaseAdapter.dropTableStatements(DbEntity table)
Adds the CASCADE option to the DROP TABLE clause.
|
protected long |
FrontBasePkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
void |
FrontBasePkGenerator.createAutoPk(DataNode node,
List<DbEntity> dbEntities) |
List<String> |
FrontBasePkGenerator.createAutoPkStatements(List<DbEntity> dbEntities) |
void |
FrontBasePkGenerator.dropAutoPk(DataNode node,
List<DbEntity> dbEntities) |
protected String |
FrontBasePkGenerator.pkDeleteString(List<DbEntity> dbEntities) |
Modifier and Type | Method and Description |
---|---|
protected String |
H2PkGenerator.createSequenceString(DbEntity ent) |
MergerToken |
H2MergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
H2MergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
H2MergerFactory.createSetPrimaryKeyToDb(DbEntity entity,
Collection<DbAttribute> primaryKeyOriginal,
Collection<DbAttribute> primaryKeyNew,
String detectedPrimaryKeyName) |
protected long |
H2PkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
MergerToken |
HSQLMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
HSQLMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
HSQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity,
Collection<DbAttribute> primaryKeyOriginal,
Collection<DbAttribute> primaryKeyNew,
String detectedPrimaryKeyName) |
String |
HSQLDBAdapter.createTable(DbEntity ent)
Uses "CREATE CACHED TABLE" instead of "CREATE TABLE".
|
String |
HSQLDBNoSchemaAdapter.createTable(DbEntity ent)
Uses unqualified entity names.
|
String |
HSQLDBAdapter.createUniqueConstraint(DbEntity source,
Collection<DbAttribute> columns)
Returns a DDL string to create a unique constraint over a set of columns.
|
Collection<String> |
HSQLDBNoSchemaAdapter.dropTableStatements(DbEntity table) |
protected String |
HSQLDBAdapter.getSchemaName(DbEntity entity)
Returns DbEntity schema name for 1.8 and on.
|
protected String |
HSQLDBNoSchemaAdapter.getSchemaName(DbEntity entity)
Returns NULL.
|
protected String |
HSQLDBAdapter.getTableName(DbEntity entity)
Generate fully-qualified name for 1.8 and on.
|
protected String |
HSQLDBNoSchemaAdapter.getTableName(DbEntity entity)
Generate unqualified name without schema.
|
Modifier and Type | Method and Description |
---|---|
MergerToken |
IngresMergerFactory.createAddRelationshipToDb(DbEntity entity,
DbRelationship rel) |
MergerToken |
IngresMergerFactory.createDropColumnToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
IngresMergerFactory.createDropRelationshipToDb(DbEntity entity,
DbRelationship rel) |
MergerToken |
IngresMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
IngresMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
IngresMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
protected long |
IngresPkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
MergerToken |
MySQLMergerFactory.createDropRelationshipToDb(DbEntity entity,
DbRelationship rel) |
MergerToken |
MySQLMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
MySQLMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
MySQLMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
MySQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity,
Collection<DbAttribute> primaryKeyOriginal,
Collection<DbAttribute> primaryKeyNew,
String detectedPrimaryKeyName) |
String |
MySQLAdapter.createTable(DbEntity entity)
Overrides super implementation to explicitly set table engine to InnoDB
if FK constraints are supported by this adapter.
|
protected void |
MySQLAdapter.createTableAppendPKClause(StringBuffer sqlBuffer,
DbEntity entity)
Customizes PK clause semantics to ensure that generated columns are in
the beginning of the PK definition, as this seems to be a requirement for
InnoDB tables.
|
Collection<String> |
MySQLAdapter.dropTableStatements(DbEntity table) |
protected long |
MySQLPkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity)
Overrides superclass's implementation to perform locking of the primary key lookup
table.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OpenBasePkGenerator.canCreatePK(DbEntity entity) |
MergerToken |
OpenBaseMergerFactory.createCreateTableToDb(DbEntity entity) |
MergerToken |
OpenBaseMergerFactory.createDropRelationshipToDb(DbEntity entity,
DbRelationship rel) |
protected String |
OpenBasePkGenerator.createPKString(DbEntity entity)
Returns a String to create PK support for an entity.
|
MergerToken |
OpenBaseMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
OpenBaseMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
OpenBaseMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
String |
OpenBaseAdapter.createTable(DbEntity ent)
Returns a SQL string that can be used to create database table corresponding to
ent parameter. |
protected String |
OpenBasePkGenerator.createUniquePKIndexString(DbEntity entity)
Returns a String to create a unique index on table primary key columns per OpenBase
recommendations.
|
protected long |
OpenBasePkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity)
Generates new (unique and non-repeating) primary key for specified DbEntity.
|
protected String |
OpenBasePkGenerator.newIDString(DbEntity ent)
Returns SQL string that can generate new (unique and non-repeating) primary key for
specified DbEntity.
|
Modifier and Type | Method and Description |
---|---|
MergerToken |
OracleMergerFactory.createAddColumnToDb(DbEntity entity,
DbAttribute column) |
protected String |
OraclePkGenerator.createSequenceString(DbEntity ent) |
MergerToken |
OracleMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
OracleMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
OracleMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
protected String |
OraclePkGenerator.dropSequenceString(DbEntity ent)
Returns a SQL string needed to drop any database objects associated with
automatic primary key generation process for a specific DbEntity.
|
Collection<String> |
OracleAdapter.dropTableStatements(DbEntity table)
Returns a query string to drop a table corresponding to
ent DbEntity. |
protected long |
OraclePkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity)
Generates primary key by calling Oracle sequence corresponding to the
dbEntity . |
protected int |
OraclePkGenerator.pkCacheSize(DbEntity entity) |
protected String |
OraclePkGenerator.sequenceName(DbEntity entity)
Returns expected primary key sequence name for a DbEntity.
|
Modifier and Type | Method and Description |
---|---|
protected String |
PostgresPkGenerator.createSequenceString(DbEntity ent) |
MergerToken |
PostgresMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
String |
PostgresAdapter.createTable(DbEntity ent)
Customizes table creating procedure for PostgreSQL.
|
Collection<String> |
PostgresAdapter.dropTableStatements(DbEntity table)
Adds the CASCADE option to the DROP TABLE clause.
|
protected long |
PostgresPkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLiteAdapter.createTableAppendPKClause(StringBuffer sqlBuffer,
DbEntity entity) |
String |
SQLiteAdapter.createUniqueConstraint(DbEntity source,
Collection<DbAttribute> columns) |
Modifier and Type | Method and Description |
---|---|
MergerToken |
SQLServerMergerFactory.createAddColumnToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
SQLServerMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
SQLServerMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
SQLServerMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
Modifier and Type | Method and Description |
---|---|
MergerToken |
SybaseMergerFactory.createAddColumnToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
SybaseMergerFactory.createDropColumnToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
SybaseMergerFactory.createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
SybaseMergerFactory.createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
SybaseMergerFactory.createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
protected long |
SybasePkGenerator.longPkFromDatabase(DataNode node,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
void |
SybasePkGenerator.createAutoPk(DataNode node,
List<DbEntity> dbEntities)
Generates database objects to provide automatic primary key support.
|
List<String> |
SybasePkGenerator.createAutoPkStatements(List<DbEntity> dbEntities) |
void |
SybasePkGenerator.dropAutoPk(DataNode node,
List<DbEntity> dbEntities)
Drops database objects related to automatic primary key support.
|
List<String> |
SybasePkGenerator.dropAutoPkStatements(List<DbEntity> dbEntities) |
Modifier and Type | Class and Description |
---|---|
class |
DetectedDbEntity
A
DbEntity subclass used to hold extra JDBC metadata. |
Modifier and Type | Field and Description |
---|---|
protected DbEntity |
DbKeyGenerator.dbEntity |
Modifier and Type | Method and Description |
---|---|
DbEntity |
DbKeyGenerator.getDbEntity() |
DbEntity |
ObjEntity.getDbEntity()
Returns a DbEntity associated with this ObjEntity.
|
DbEntity |
DataMap.getDbEntity(String dbEntityName)
Returns DbEntity matching the
name parameter. |
DbEntity |
EntityResolver.getDbEntity(String name) |
DbEntity |
MappingNamespace.getDbEntity(String name)
Returns DbEntity for a given name, or null if no such DbEntity is found
in the MappingNamespace.
|
DbEntity |
DbAttribute.getEntity() |
DbEntity |
DbRelationship.getSourceEntity() |
DbEntity |
DbRelationship.getTargetEntity()
Returns a target of this relationship.
|
Modifier and Type | Method and Description |
---|---|
Collection<DbEntity> |
DataMap.getDbEntities()
Returns all DbEntities in this DataMap.
|
Collection<DbEntity> |
EntityResolver.getDbEntities()
Returns all DbEntities.
|
Collection<DbEntity> |
MappingNamespace.getDbEntities()
Returns all DbEntities in the namespace.
|
SortedMap<String,DbEntity> |
DataMap.getDbEntityMap()
Returns a sorted unmodifiable map of DbEntities contained in this
DataMap, keyed by DbEntity name.
|
Modifier and Type | Method and Description |
---|---|
void |
DataMap.addDbEntity(DbEntity entity)
Adds a new DbEntity to this DataMap.
|
Collection<ObjEntity> |
DataMap.getMappedEntities(DbEntity dbEntity)
Returns all ObjEntities mapped to the given DbEntity.
|
void |
DbKeyGenerator.setDbEntity(DbEntity dbEntity) |
void |
ObjEntity.setDbEntity(DbEntity dbEntity)
Sets the DbEntity used by this ObjEntity.
|
Modifier and Type | Method and Description |
---|---|
void |
EntitySorter.sortDbEntities(List<DbEntity> dbEntities,
boolean deleteOrder)
Sorts a list of DbEntities.
|
Constructor and Description |
---|
DbAttribute(String name,
int type,
DbEntity entity) |
Modifier and Type | Method and Description |
---|---|
String |
LegacyNameGenerator.createObjEntityName(DbEntity dbEntity) |
String |
ObjectNameGenerator.createObjEntityName(DbEntity entity)
Creates new name for ObjEntity
|
Modifier and Type | Method and Description |
---|---|
List<MergerToken> |
DbMerger.createMergeTokens(Collection<DbEntity> existing,
Collection<DbEntity> loadedFromDb,
DbLoaderConfiguration config) |
List<MergerToken> |
DbMerger.createMergeTokens(Collection<DbEntity> existing,
Collection<DbEntity> loadedFromDb,
DbLoaderConfiguration config) |
Modifier and Type | Field and Description |
---|---|
protected DbEntity |
BatchQuery.dbEntity |
Modifier and Type | Method and Description |
---|---|
DbEntity |
BatchQuery.getDbEntity()
Returns a DbEntity associated with this batch.
|
DbEntity |
QueryMetadata.getDbEntity()
Returns a DbEntity associated with a query or null if no such entity exists.
|
Constructor and Description |
---|
BatchQuery(DbEntity dbEntity,
List<DbAttribute> dbAttributes,
int batchCapacity) |
DeleteBatchQuery(DbEntity dbEntity,
List<DbAttribute> qualifierAttributes,
Collection<String> nullQualifierNames,
int batchCapacity)
Creates new DeleteBatchQuery.
|
InsertBatchQuery(DbEntity entity,
int batchCapacity)
Creates new InsertBatchQuery for a given DbEntity and estimated capacity.
|
SelectQuery(DbEntity root)
Creates a SelectQuery for the specified DbEntity.
|
SelectQuery(DbEntity root,
Expression qualifier)
Creates a SelectQuery for the specified DbEntity with the given
qualifier.
|
SelectQuery(DbEntity root,
Expression qualifier,
List<? extends Ordering> orderings)
Creates a SelectQuery for the specified DbEntity with the given qualifier
and orderings.
|
SQLTemplate(DbEntity rootEntity,
String defaultTemplate) |
UpdateBatchQuery(DbEntity dbEntity,
List<DbAttribute> qualifierAttributes,
List<DbAttribute> updatedAttributes,
Collection<String> nullQualifierNames,
int batchCapacity)
Creates new UpdateBatchQuery.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<DbEntity> |
PersistentDescriptor.rootDbEntities |
Modifier and Type | Method and Description |
---|---|
Collection<DbEntity> |
ClassDescriptor.getRootDbEntities()
Returns a collection of DbEntities that are the root tables for this descriptor's
ObjEntity.
|
Collection<DbEntity> |
LazyClassDescriptorDecorator.getRootDbEntities() |
Collection<DbEntity> |
PersistentDescriptor.getRootDbEntities() |
Modifier and Type | Method and Description |
---|---|
void |
PersistentDescriptor.addRootDbEntity(DbEntity dbEntity)
Adds a root DbEntity to the list of roots, filtering duplicates.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
EntityMergeSupport.removeFK(DbEntity dbEntity) |
protected boolean |
EntityMergeSupport.removePK(DbEntity dbEntity) |
Copyright © 2001–2015 Apache Cayenne. All rights reserved.