Package org.hibernate.query.criteria
Interface JpaJoin<O,T>
-
- All Superinterfaces:
Expression<T>
,FetchParent<O,T>
,From<O,T>
,Join<O,T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaFetchParent<O,T>
,JpaFrom<O,T>
,JpaJoinedFrom<O,T>
,JpaPath<T>
,JpaSelection<T>
,JpaTupleElement<T>
,Path<T>
,Selection<T>
,Serializable
,TupleElement<T>
- All Known Subinterfaces:
JpaCollectionJoin<O,T>
,JpaListJoin<O,T>
,JpaMapJoin<O,K,V>
,JpaPluralJoin<O,C,E>
,JpaSetJoin<O,T>
,SqmAttributeJoin<O,T>
- All Known Implementing Classes:
AbstractSqmAttributeJoin
,AbstractSqmPluralJoin
,SqmBagJoin
,SqmCorrelatedBagJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmListJoin
,SqmMapJoin
,SqmSetJoin
,SqmSingularJoin
,SqmTreatedBagJoin
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedSetJoin
,SqmTreatedSingularJoin
public interface JpaJoin<O,T> extends JpaJoinedFrom<O,T>, Join<O,T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PersistentAttribute<? super O,?>
getAttribute()
JpaJoin<O,T>
on(Expression<Boolean> restriction)
JpaJoin<O,T>
on(Predicate... restrictions)
JpaJoin<O,T>
on(JpaExpression<Boolean> restriction)
JpaJoin<O,T>
on(JpaPredicate... restrictions)
<S extends T>
JpaJoin<O,S>treatAs(Class<S> treatAsType)
Support for JPA's explicit (TREAT) down-casting.<S extends T>
JpaJoin<O,S>treatAs(EntityDomainType<S> treatAsType)
Support for JPA's explicit (TREAT) down-casting.-
Methods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelated
-
Methods inherited from interface jakarta.persistence.criteria.Join
getJoinType, getOn, getParent
-
Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull
-
Methods inherited from interface org.hibernate.query.criteria.JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods 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, joinSet
-
Methods inherited from interface org.hibernate.query.criteria.JpaJoinedFrom
getOn
-
Methods inherited from interface org.hibernate.query.criteria.JpaPath
get, get, get, get, getLhs, getNavigablePath, getParentPath, type
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
-
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnum
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Method Detail
-
getAttribute
PersistentAttribute<? super O,?> getAttribute()
- Specified by:
getAttribute
in interfaceJoin<O,T>
-
on
JpaJoin<O,T> on(JpaExpression<Boolean> restriction)
- Specified by:
on
in interfaceJpaJoinedFrom<O,T>
-
on
JpaJoin<O,T> on(Expression<Boolean> restriction)
-
on
JpaJoin<O,T> on(JpaPredicate... restrictions)
- Specified by:
on
in interfaceJpaJoinedFrom<O,T>
-
treatAs
<S extends T> JpaJoin<O,S> treatAs(Class<S> treatAsType)
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.
-
-