Package org.hibernate.query.criteria
Interface JpaMapJoin<O,K,V>
- All Superinterfaces:
Expression<V>,FetchParent<O,,V> From<O,,V> Join<O,,V> JpaCriteriaNode,JpaExpression<V>,JpaFetchParent<O,,V> JpaFrom<O,,V> JpaJoin<O,,V> JpaJoinedFrom<O,,V> JpaPath<V>,JpaPluralJoin<O,,Map<K, V>, V> JpaSelection<V>,JpaTupleElement<V>,MapJoin<O,,K, V> Path<V>,PluralJoin<O,,Map<K, V>, V> Selection<V>,Serializable,TupleElement<V>
- All Known Implementing Classes:
SqmCorrelatedMapJoin,SqmMapJoin,SqmTreatedMapJoin
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionJpaMapJoin<O,K, V> on(Expression<Boolean> restriction) Modify the join to restrict the result according to the specified ON condition and return the join object.JpaMapJoin<O,K, V> Modify the join to restrict the result according to the specified ON condition and return the join object.JpaMapJoin<O,K, V> on(JpaExpression<Boolean> restriction) JpaMapJoin<O,K, V> on(JpaPredicate... restrictions) <S extends V>
JpaMapJoin<O,K, S> Support for JPA's explicit (TREAT) down-casting.<S extends V>
JpaMapJoin<O,K, S> treatAs(EntityDomainType<S> treatJavaType) Support for JPA's explicit (TREAT) down-casting.Methods 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
-
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 interfaceJoin<O,K> - Specified by:
onin interfaceJpaJoin<O,K> - Specified by:
onin interfaceJpaJoinedFrom<O,K> - Specified by:
onin interfaceJpaPluralJoin<O,K, V> - Specified by:
onin interfaceMapJoin<O,K, V> - Parameters:
restriction- a simple or compound boolean expression- Returns:
- the modified join object
-
on
-
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 interfaceJoin<O,K> - Specified by:
onin interfaceJpaJoin<O,K> - Specified by:
onin interfaceJpaJoinedFrom<O,K> - Specified by:
onin interfaceJpaPluralJoin<O,K, V> - Specified by:
onin interfaceMapJoin<O,K, V> - 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.
-