Package | Description |
---|---|
javax.persistence.criteria | |
org.hibernate.jpa.criteria | |
org.hibernate.jpa.criteria.path |
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.
|
Join<Z,X> |
Join.on(Predicate... restrictions)
Modify the join to restrict the result according to the
specified ON condition.
|
<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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionJoinImplementor<Z,X>
Specialization of
JoinImplementor for Collection typed attribute joins |
interface |
JoinImplementor<Z,X>
|
interface |
ListJoinImplementor<Z,X>
Specialization of
JoinImplementor for List typed attribute joins |
interface |
MapJoinImplementor<Z,K,V>
Specialization of
JoinImplementor for Map typed attribute joins |
interface |
SetJoinImplementor<Z,X>
Specialization of
JoinImplementor for Set typed attribute joins |
Modifier and Type | Method and Description |
---|---|
<X,Y> Join<X,Y> |
CriteriaSubqueryImpl.correlate(Join<X,Y> source) |
<X,T,V extends T> |
CriteriaBuilderImpl.treat(Join<X,T> join,
Class<V> type) |
Modifier and Type | Method and Description |
---|---|
Set<Join<?,?>> |
QueryStructure.collectCorrelatedJoins() |
Set<Join<?,?>> |
CriteriaSubqueryImpl.getCorrelatedJoins() |
Modifier and Type | Method and Description |
---|---|
<X,Y> Join<X,Y> |
CriteriaSubqueryImpl.correlate(Join<X,Y> source) |
<X,T,V extends T> |
CriteriaBuilderImpl.treat(Join<X,T> join,
Class<V> type) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJoinImpl<Z,X>
Convenience base class for various
Join implementations. |
class |
CollectionAttributeJoin<O,E>
Models a join based on a plural association attribute.
|
static class |
CollectionAttributeJoin.TreatedCollectionAttributeJoin<O,T> |
class |
ListAttributeJoin<O,E>
Models a join based on a list-style plural association attribute.
|
static class |
ListAttributeJoin.TreatedListAttributeJoin<O,T> |
class |
MapAttributeJoin<O,K,V>
Models a join based on a map-style plural association attribute.
|
static class |
MapAttributeJoin.TreatedMapAttributeJoin<O,K,T> |
class |
PluralAttributeJoinSupport<O,C,E>
Support for defining joins to plural attributes (JPA requires typing based on
the specific collection type so we cannot really implement all support in a
single class)
|
class |
SetAttributeJoin<O,E>
Models a join based on a set-style plural association attribute.
|
static class |
SetAttributeJoin.TreatedSetAttributeJoin<O,T> |
class |
SingularAttributeJoin<O,X>
Models a join based on a singular attribute
|
static class |
SingularAttributeJoin.TreatedSingularAttributeJoin<O,T> |
Modifier and Type | Method and Description |
---|---|
<Y> Join<X,Y> |
AbstractFromImpl.join(SingularAttribute<? super X,Y> singularAttribute) |
<Y> Join<X,Y> |
AbstractFromImpl.join(SingularAttribute<? super X,Y> attribute,
JoinType jt) |
<X,Y> Join<X,Y> |
AbstractFromImpl.join(String attributeName) |
<X,Y> Join<X,Y> |
AbstractFromImpl.join(String attributeName,
JoinType jt) |
Modifier and Type | Method and Description |
---|---|
Set<Join<X,?>> |
AbstractFromImpl.getJoins() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFromImpl.JoinScope.addJoin(Join<X,?> join) |
void |
AbstractFromImpl.BasicJoinScope.addJoin(Join<X,?> join) |
void |
AbstractFromImpl.CorrelationJoinScope.addJoin(Join<X,?> join) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.