public class EntityQuerySpaceImpl extends AbstractExpandingSourceQuerySpace implements ExpandingEntityQuerySpace
QuerySpace.Disposition
Constructor and Description |
---|
EntityQuerySpaceImpl(EntityPersister persister,
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() |
String[] |
toAliasedColumns(String alias,
String propertyName)
Get the aliased column names for the specified property in the query space..
|
addJoin, getExpandingQuerySpaces
canJoinsBeRequired, getDisposition, getJoins, getQuerySpaces, getUid, internalGetJoins
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addJoin, canJoinsBeRequired, getExpandingQuerySpaces
getDisposition, getJoins, getQuerySpaces, getUid
public EntityQuerySpaceImpl(EntityPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
protected SessionFactoryImplementor sessionFactory()
sessionFactory
in class AbstractQuerySpace
public PropertyMapping getPropertyMapping()
QuerySpace
PropertyMapping
for this QuerySpace.getPropertyMapping
in interface QuerySpace
public String[] toAliasedColumns(String alias, String propertyName)
QuerySpace
toAliasedColumns
in interface QuerySpace
alias
- - the table aliaspropertyName
- - the property namepublic EntityPersister getEntityPersister()
EntityQuerySpace
getEntityPersister
in interface EntityQuerySpace
public ExpandingCompositeQuerySpace makeCompositeIdentifierQuerySpace()
ExpandingEntityQuerySpace
makeCompositeIdentifierQuerySpace
in interface ExpandingEntityQuerySpace
Copyright © 2021 JBoss by Red Hat. All rights reserved.