Package org.hibernate.query.criteria
Interface JpaCollectionJoin<O,T>
- All Superinterfaces:
CollectionJoin<O,,T> Expression<T>,FetchParent<O,,T> From<O,,T> Join<O,,T> JpaCriteriaNode,JpaExpression<T>,JpaFetchParent<O,,T> JpaFrom<O,,T> JpaJoin<O,,T> JpaJoinedFrom<O,,T> JpaPath<T>,JpaPluralJoin<O,,Collection<T>, T> JpaSelection<T>,JpaTupleElement<T>,Path<T>,PluralJoin<O,,Collection<T>, T> Selection<T>,Serializable,TupleElement<T>
- All Known Implementing Classes:
SqmBagJoin,SqmCorrelatedBagJoin,SqmTreatedBagJoin
public interface JpaCollectionJoin<O,T>
extends JpaPluralJoin<O,Collection<T>,T>, CollectionJoin<O,T>
Specialization of
JpaJoin for Collection typed attribute joins- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionon(Expression<Boolean> restriction) Modify the join to restrict the result according to the specified ON condition and return the join object.Modify the join to restrict the result according to the specified ON condition and return the join object.on(JpaExpression<Boolean> restriction) on(JpaPredicate... restrictions) <S extends T>
JpaCollectionJoin<O,S> Support for JPA's explicit (TREAT) down-casting.<S extends T>
JpaCollectionJoin<O,S> treatAs(EntityDomainType<S> treatAsType) Support for JPA's explicit (TREAT) down-casting.Methods inherited from interface jakarta.persistence.criteria.CollectionJoin
getModelMethods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelatedMethods inherited from interface jakarta.persistence.criteria.Join
getJoinType, getOn, getParentMethods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNullMethods inherited from interface org.hibernate.query.criteria.JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface org.hibernate.query.criteria.JpaFrom
crossJoin, crossJoin, getCorrelationParent, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinLateral, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSetMethods inherited from interface org.hibernate.query.criteria.JpaJoinedFrom
getOnMethods inherited from interface org.hibernate.query.criteria.JpaPath
get, get, get, get, getLhs, getNavigablePath, getParentPath, typeMethods inherited from interface org.hibernate.query.criteria.JpaPluralJoin
getAttributeMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
on
- Specified by:
onin interfaceJpaJoin<O,T> - Specified by:
onin interfaceJpaJoinedFrom<O,T> - Specified by:
onin interfaceJpaPluralJoin<O,Collection<T>, T>
-
on
Description copied from interface:JoinModify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.- Specified by:
onin interfaceCollectionJoin<O,T> - Specified by:
onin interfaceJoin<O,T> - Specified by:
onin interfaceJpaJoin<O,T> - Specified by:
onin interfaceJpaJoinedFrom<O,T> - Specified by:
onin interfaceJpaPluralJoin<O,Collection<T>, T> - Parameters:
restriction- a simple or compound boolean expression- Returns:
- the modified join object
-
on
- Specified by:
onin interfaceJpaJoin<O,T> - Specified by:
onin interfaceJpaJoinedFrom<O,T> - Specified by:
onin interfaceJpaPluralJoin<O,Collection<T>, T>
-
on
Description copied from interface:JoinModify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.- Specified by:
onin interfaceCollectionJoin<O,T> - Specified by:
onin interfaceJoin<O,T> - Specified by:
onin interfaceJpaJoin<O,T> - Specified by:
onin interfaceJpaJoinedFrom<O,T> - Specified by:
onin interfaceJpaPluralJoin<O,Collection<T>, T> - Parameters:
restrictions- zero or more restriction predicates- Returns:
- the modified join object
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.
-