Z
- the source typeX
- the target typepublic interface From<Z,X> extends Path<X>, FetchParent<Z,X>
Serves as a factory for Joins of associations, embeddables, and collections belonging to the type, and for Paths of attributes belonging to the type.
Modifier and Type | Method and Description |
---|---|
From<Z,X> |
getCorrelationParent()
Returns the parent
From object from which the correlated
From object has been obtained through correlation (use
of a Subquery correlate method). |
Set<Join<X,?>> |
getJoins()
Return the joins that have been made from this bound type.
|
boolean |
isCorrelated()
Whether the
From object has been obtained as a result of
correlation (use of a Subquery correlate
method). |
<Y> CollectionJoin<X,Y> |
join(CollectionAttribute<? super X,Y> collection)
Create an inner join to the specified Collection-valued
attribute.
|
<Y> CollectionJoin<X,Y> |
join(CollectionAttribute<? super X,Y> collection,
JoinType jt)
Create a join to the specified Collection-valued attribute
using the given join type.
|
<Y> ListJoin<X,Y> |
join(ListAttribute<? super X,Y> list)
Create an inner join to the specified List-valued attribute.
|
<Y> ListJoin<X,Y> |
join(ListAttribute<? super X,Y> list,
JoinType jt)
Create a join to the specified List-valued attribute using
the given join type.
|
<K,V> MapJoin<X,K,V> |
join(MapAttribute<? super X,K,V> map)
Create an inner join to the specified Map-valued attribute.
|
<K,V> MapJoin<X,K,V> |
join(MapAttribute<? super X,K,V> map,
JoinType jt)
Create a join to the specified Map-valued attribute using
the given join type.
|
<Y> SetJoin<X,Y> |
join(SetAttribute<? super X,Y> set)
Create an inner join to the specified Set-valued attribute.
|
<Y> SetJoin<X,Y> |
join(SetAttribute<? super X,Y> set,
JoinType jt)
Create a join to the specified Set-valued attribute using
the given join type.
|
<Y> Join<X,Y> |
join(SingularAttribute<? super X,Y> attribute)
Create an inner join to the specified single-valued
attribute.
|
<Y> Join<X,Y> |
join(SingularAttribute<? super X,Y> attribute,
JoinType jt)
Create a join to the specified single-valued attribute
using the given join type.
|
<X,Y> Join<X,Y> |
join(String attributeName)
Create an inner join to the specified attribute.
|
<X,Y> Join<X,Y> |
join(String attributeName,
JoinType jt)
Create a join to the specified attribute using the given
join type.
|
<X,Y> CollectionJoin<X,Y> |
joinCollection(String attributeName)
Create an inner join to the specified Collection-valued
attribute.
|
<X,Y> CollectionJoin<X,Y> |
joinCollection(String attributeName,
JoinType jt)
Create a join to the specified Collection-valued attribute
using the given join type.
|
<X,Y> ListJoin<X,Y> |
joinList(String attributeName)
Create an inner join to the specified List-valued attribute.
|
<X,Y> ListJoin<X,Y> |
joinList(String attributeName,
JoinType jt)
Create a join to the specified List-valued attribute using
the given join type.
|
<X,K,V> MapJoin<X,K,V> |
joinMap(String attributeName)
Create an inner join to the specified Map-valued attribute.
|
<X,K,V> MapJoin<X,K,V> |
joinMap(String attributeName,
JoinType jt)
Create a join to the specified Map-valued attribute using
the given join type.
|
<X,Y> SetJoin<X,Y> |
joinSet(String attributeName)
Create an inner join to the specified Set-valued attribute.
|
<X,Y> SetJoin<X,Y> |
joinSet(String attributeName,
JoinType jt)
Create a join to the specified Set-valued attribute using
the given join type.
|
get, get, get, get, getModel, getParentPath, type
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
Set<Join<X,?>> getJoins()
boolean isCorrelated()
From
object has been obtained as a result of
correlation (use of a Subquery
correlate
method).From<Z,X> getCorrelationParent()
From
object from which the correlated
From
object has been obtained through correlation (use
of a Subquery
correlate
method).IllegalStateException
- if the From object has
not been obtained through correlation<Y> Join<X,Y> join(SingularAttribute<? super X,Y> attribute)
attribute
- target of the join<Y> Join<X,Y> join(SingularAttribute<? super X,Y> attribute, JoinType jt)
attribute
- target of the joinjt
- join type<Y> CollectionJoin<X,Y> join(CollectionAttribute<? super X,Y> collection)
collection
- target of the join<Y> SetJoin<X,Y> join(SetAttribute<? super X,Y> set)
set
- target of the join<Y> ListJoin<X,Y> join(ListAttribute<? super X,Y> list)
list
- target of the join<K,V> MapJoin<X,K,V> join(MapAttribute<? super X,K,V> map)
map
- target of the join<Y> CollectionJoin<X,Y> join(CollectionAttribute<? super X,Y> collection, JoinType jt)
collection
- target of the joinjt
- join type<Y> SetJoin<X,Y> join(SetAttribute<? super X,Y> set, JoinType jt)
set
- target of the joinjt
- join type<Y> ListJoin<X,Y> join(ListAttribute<? super X,Y> list, JoinType jt)
list
- target of the joinjt
- join type<K,V> MapJoin<X,K,V> join(MapAttribute<? super X,K,V> map, JoinType jt)
map
- target of the joinjt
- join type<X,Y> Join<X,Y> join(String attributeName)
attributeName
- name of the attribute for the
target of the joinIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> CollectionJoin<X,Y> joinCollection(String attributeName)
attributeName
- name of the attribute for the
target of the joinIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> SetJoin<X,Y> joinSet(String attributeName)
attributeName
- name of the attribute for the
target of the joinIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> ListJoin<X,Y> joinList(String attributeName)
attributeName
- name of the attribute for the
target of the joinIllegalArgumentException
- if attribute of the given
name does not exist<X,K,V> MapJoin<X,K,V> joinMap(String attributeName)
attributeName
- name of the attribute for the
target of the joinIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> Join<X,Y> join(String attributeName, JoinType jt)
attributeName
- name of the attribute for the
target of the joinjt
- join typeIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> CollectionJoin<X,Y> joinCollection(String attributeName, JoinType jt)
attributeName
- name of the attribute for the
target of the joinjt
- join typeIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> SetJoin<X,Y> joinSet(String attributeName, JoinType jt)
attributeName
- name of the attribute for the
target of the joinjt
- join typeIllegalArgumentException
- if attribute of the given
name does not exist<X,Y> ListJoin<X,Y> joinList(String attributeName, JoinType jt)
attributeName
- name of the attribute for the
target of the joinjt
- join typeIllegalArgumentException
- if attribute of the given
name does not exist<X,K,V> MapJoin<X,K,V> joinMap(String attributeName, JoinType jt)
attributeName
- name of the attribute for the
target of the joinjt
- join typeIllegalArgumentException
- if attribute of the given
name does not existCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.