Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
Modifier and Type | Interface | 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 | 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,Y> Join<X,Y> |
From.join(java.lang.String attributeName) |
Create an inner join to the specified attribute.
|
<X,Y> Join<X,Y> |
From.join(java.lang.String attributeName,
JoinType jt) |
Create a join to the specified attribute using the given
join type.
|
<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.
|
Join<Z,X> |
Join.on(Expression<java.lang.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,
java.lang.Class<V> type) |
Downcast Join object to the specified type.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<Join<?,?>> |
Subquery.getCorrelatedJoins() |
Return the correlated joins of the subquery.
|
java.util.Set<Join<X,?>> |
From.getJoins() |
Return the joins that have been made from this bound type.
|
Modifier and Type | Method | 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,
java.lang.Class<V> type) |
Downcast Join object to the specified type.
|
Copyright © 2018. All rights reserved.