public class CollectionQuerySpaceImpl extends AbstractQuerySpace implements ExpandingCollectionQuerySpace
QuerySpace.Disposition
Constructor and Description |
---|
CollectionQuerySpaceImpl(CollectionPersister persister,
String uid,
ExpandingQuerySpaces querySpaces,
boolean canJoinsBeRequired) |
Modifier and Type | Method and Description |
---|---|
void |
addJoin(Join join)
Adds a join with another query space.
|
CollectionPersister |
getCollectionPersister()
Retrieve the collection persister this QuerySpace refers to.
|
ExpandingQuerySpaces |
getExpandingQuerySpaces() |
PropertyMapping |
getPropertyMapping()
Get the
PropertyMapping for this QuerySpace. |
String[] |
toAliasedColumns(String alias,
String propertyName)
Get the aliased column names for the specified property in the query space..
|
canJoinsBeRequired, getDisposition, getJoins, getQuerySpaces, getUid, internalGetJoins, sessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canJoinsBeRequired
getDisposition, getJoins, getQuerySpaces, getUid
public CollectionQuerySpaceImpl(CollectionPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
public CollectionPersister getCollectionPersister()
CollectionQuerySpace
getCollectionPersister
in interface CollectionQuerySpace
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 void addJoin(Join join)
ExpandingQuerySpace
addJoin
in interface ExpandingQuerySpace
join
- The join to add.public ExpandingQuerySpaces getExpandingQuerySpaces()
getExpandingQuerySpaces
in interface ExpandingQuerySpace
getExpandingQuerySpaces
in class AbstractQuerySpace
Copyright © 2015. All rights reserved.