public class EntityQuerySpaceImpl extends AbstractExpandingSourceQuerySpace implements ExpandingEntityQuerySpace
QuerySpace.Disposition| Constructor and Description |
|---|
EntityQuerySpaceImpl(EntityPersister persister,
java.lang.String uid,
ExpandingQuerySpaces querySpaces,
boolean canJoinsBeRequired) |
| Modifier and Type | Method and Description |
|---|---|
EntityPersister |
getEntityPersister()
Retrieve the EntityPersister that this QuerySpace refers to.
|
PropertyMapping |
getPropertyMapping()
Get the
PropertyMapping for this QuerySpace. |
ExpandingCompositeQuerySpace |
makeCompositeIdentifierQuerySpace()
Builds a composite query space that allows adding joins used if
the entity has a composite entity identifier.
|
protected SessionFactoryImplementor |
sessionFactory() |
java.lang.String[] |
toAliasedColumns(java.lang.String alias,
java.lang.String propertyName)
Get the aliased column names for the specified property in the query space..
|
addJoin, getExpandingQuerySpacescanJoinsBeRequired, getDisposition, getJoins, getQuerySpaces, getUid, internalGetJoinsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJoin, canJoinsBeRequired, getExpandingQuerySpacesgetDisposition, getJoins, getQuerySpaces, getUidpublic EntityQuerySpaceImpl(EntityPersister persister, java.lang.String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
protected SessionFactoryImplementor sessionFactory()
sessionFactory in class AbstractQuerySpacepublic PropertyMapping getPropertyMapping()
QuerySpacePropertyMapping for this QuerySpace.getPropertyMapping in interface QuerySpacepublic java.lang.String[] toAliasedColumns(java.lang.String alias,
java.lang.String propertyName)
QuerySpacetoAliasedColumns in interface QuerySpacealias - - the table aliaspropertyName - - the property namepublic EntityPersister getEntityPersister()
EntityQuerySpacegetEntityPersister in interface EntityQuerySpacepublic ExpandingCompositeQuerySpace makeCompositeIdentifierQuerySpace()
ExpandingEntityQuerySpacemakeCompositeIdentifierQuerySpace in interface ExpandingEntityQuerySpaceCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.