public interface ExpandingCollectionQuerySpace extends CollectionQuerySpace, ExpandingQuerySpace
CollectionQuerySpace
.Join
QuerySpace.Disposition
Modifier and Type | Method and Description |
---|---|
void |
addJoin(Join join)
Adds a join with another query space for either a collection element or index.
|
getCollectionPersister
canJoinsBeRequired, getExpandingQuerySpaces
getDisposition, getJoins, getPropertyMapping, getQuerySpaces, getUid, toAliasedColumns
void addJoin(Join join)
join
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 ExpandingQuerySpace
join
- The element or index join to add.IllegalArgumentException
- if join
is an instance of JoinDefinedByMetadata
and join.getJoinedPropertyName() is neither {@link CollectionPropertyNames#COLLECTION_ELEMENTS}
nor {@link CollectionPropertyNames#COLLECTION_INDICES}
.IllegalStateException
- if there is already an existing join with the same joined property name.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.