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 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. |
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, sessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanJoinsBeRequiredgetDisposition, getJoins, getQuerySpaces, getUidpublic CollectionQuerySpaceImpl(CollectionPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
public CollectionPersister getCollectionPersister()
CollectionQuerySpacegetCollectionPersister in interface CollectionQuerySpacepublic PropertyMapping getPropertyMapping()
QuerySpacePropertyMapping for this QuerySpace.getPropertyMapping in interface QuerySpacepublic String[] toAliasedColumns(String alias, 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 CollectionPropertyNames.COLLECTION_ELEMENTS
and CollectionPropertyNames.COLLECTION_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-2015 Red Hat, Inc. All Rights Reserved.