Package | Description |
---|---|
javax.persistence.criteria |
Jakarta Persistence Criteria API
|
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionJoin<Z,E>
The
CollectionJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.Collection . |
interface |
ListJoin<Z,E>
The
ListJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.List . |
interface |
MapJoin<Z,K,V>
The
MapJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.Map . |
interface |
PluralJoin<Z,C,E>
The
PluralJoin interface defines functionality
that is common to joins to all collection types. |
interface |
SetJoin<Z,E>
The
SetJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.Set . |
Modifier and Type | Method and Description |
---|---|
<X,Y> Join<X,Y> |
Subquery.correlate(Join<X,Y> parentJoin)
Create a subquery join object correlated to a join object
of the enclosing query.
|
<Y> Join<X,Y> |
From.join(SingularAttribute<? super X,Y> attribute)
Create an inner join to the specified single-valued
attribute.
|
<Y> Join<X,Y> |
From.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> |
From.join(String attributeName)
Create an inner join to the specified attribute.
|
<X,Y> Join<X,Y> |
From.join(String attributeName,
JoinType jt)
Create a join to the specified attribute using the given
join type.
|
Join<Z,X> |
Join.on(Expression<Boolean> restriction)
Modify the join to restrict the result according to the
specified ON condition and return the join object.
|
Join<Z,X> |
Join.on(Predicate... restrictions)
Modify the join to restrict the result according to the
specified ON condition and return the join object.
|
<X,T,V extends T> |
CriteriaBuilder.treat(Join<X,T> join,
Class<V> type)
Downcast Join object to the specified type.
|
Modifier and Type | Method and Description |
---|---|
Set<Join<?,?>> |
Subquery.getCorrelatedJoins()
Return the correlated joins of the subquery.
|
Set<Join<X,?>> |
From.getJoins()
Return the joins that have been made from this bound type.
|
Modifier and Type | Method and Description |
---|---|
<X,Y> Join<X,Y> |
Subquery.correlate(Join<X,Y> parentJoin)
Create a subquery join object correlated to a join object
of the enclosing query.
|
<X,T,V extends T> |
CriteriaBuilder.treat(Join<X,T> join,
Class<V> type)
Downcast Join object to the specified type.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.