public class CollectionQuerySpaceImpl extends AbstractQuerySpace implements ExpandingCollectionQuerySpace
QuerySpace.Disposition| Constructor and Description |
|---|
CollectionQuerySpaceImpl(CollectionPersister persister,
java.lang.String uid,
ExpandingQuerySpaces querySpaces,
boolean canJoinsBeRequired) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJoin(Join join)
Adds a join with another query space for either a collection element or index.
|
void |
addJoin(JoinDefinedByMetadata join) |
CollectionPersister |
getCollectionPersister()
Retrieve the collection persister this QuerySpace refers to.
|
ExpandingQuerySpaces |
getExpandingQuerySpaces() |
PropertyMapping |
getPropertyMapping()
Get the
PropertyMapping for this QuerySpace. |
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..
|
canJoinsBeRequired, getDisposition, getJoins, getQuerySpaces, getUid, internalGetJoins, sessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanJoinsBeRequiredgetDisposition, getJoins, getQuerySpaces, getUidpublic CollectionQuerySpaceImpl(CollectionPersister persister, java.lang.String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
public CollectionPersister getCollectionPersister()
CollectionQuerySpacegetCollectionPersister in interface CollectionQuerySpacepublic 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 void addJoin(Join join)
ExpandingCollectionQuerySpacejoin is an instance of JoinDefinedByMetadata, then the only valid
values returned by JoinDefinedByMetadata.getJoinedPropertyName()
are "elements" and "indices" for the collection element or index, respectively.addJoin in interface ExpandingCollectionQuerySpaceaddJoin in interface ExpandingQuerySpacejoin - The element or index join to add.public ExpandingQuerySpaces getExpandingQuerySpaces()
getExpandingQuerySpaces in interface ExpandingQuerySpacegetExpandingQuerySpaces in class AbstractQuerySpacepublic void addJoin(JoinDefinedByMetadata join)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.