Package org.hibernate.query.criteria
Interface JpaFrom<O,T>
- All Superinterfaces:
Expression<T>,FetchParent<O,,T> From<O,,T> JpaCriteriaNode,JpaExpression<T>,JpaFetchParent<O,,T> JpaPath<T>,JpaSelection<T>,JpaTupleElement<T>,Path<T>,Selection<T>,Serializable,TupleElement<T>
- All Known Subinterfaces:
JpaCollectionJoin<O,,T> JpaCrossJoin<T>,JpaDerivedFrom<T>,JpaDerivedJoin<T>,JpaDerivedRoot<T>,JpaEntityJoin<T>,JpaJoin<O,,T> JpaJoinedFrom<O,,T> JpaListJoin<O,,T> JpaMapJoin<O,,K, V> JpaPluralJoin<O,,C, E> JpaRoot<T>,JpaSetJoin<O,,T> SqmAttributeJoin<O,,T> SqmCorrelation<O,,T> SqmFrom<O,,T> SqmJoin<O,,T> SqmQualifiedJoin<O,T>
- All Known Implementing Classes:
AbstractSqmAttributeJoin,AbstractSqmFrom,AbstractSqmJoin,AbstractSqmPluralJoin,AbstractSqmQualifiedJoin,SqmBagJoin,SqmCorrelatedBagJoin,SqmCorrelatedCrossJoin,SqmCorrelatedEntityJoin,SqmCorrelatedListJoin,SqmCorrelatedMapJoin,SqmCorrelatedPluralPartJoin,SqmCorrelatedRoot,SqmCorrelatedRootJoin,SqmCorrelatedSetJoin,SqmCorrelatedSingularJoin,SqmCrossJoin,SqmCteJoin,SqmCteRoot,SqmDerivedJoin,SqmDerivedRoot,SqmEntityJoin,SqmListJoin,SqmMapJoin,SqmPluralPartJoin,SqmRoot,SqmSetJoin,SqmSingularJoin,SqmTreatedBagJoin,SqmTreatedCrossJoin,SqmTreatedEntityJoin,SqmTreatedListJoin,SqmTreatedMapJoin,SqmTreatedPluralPartJoin,SqmTreatedRoot,SqmTreatedSetJoin,SqmTreatedSingularJoin
API extension to the JPA
From contract- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescription<X> JpaCrossJoin<X><X> JpaCrossJoin<X>crossJoin(EntityDomainType<X> entity) Returns the parentFromobject from which the correlatedFromobject has been obtained through correlation (use of aSubquerycorrelatemethod).<X> JpaDerivedJoin<X><X> JpaDerivedJoin<X>join(Subquery<X> subquery, SqmJoinType joinType) <X> JpaDerivedJoin<X>join(Subquery<X> subquery, SqmJoinType joinType, boolean lateral) <Y> JpaCollectionJoin<T,Y> join(CollectionAttribute<? super T, Y> collection) Create an inner join to the specified Collection-valued attribute.<Y> JpaCollectionJoin<T,Y> join(CollectionAttribute<? super T, Y> collection, JoinType jt) Create a join to the specified Collection-valued attribute using the given join type.<Y> JpaListJoin<T,Y> join(ListAttribute<? super T, Y> list) Create an inner join to the specified List-valued attribute.<Y> JpaListJoin<T,Y> join(ListAttribute<? super T, Y> list, JoinType jt) Create a join to the specified List-valued attribute using the given join type.<K,V> JpaMapJoin<T, K, V> join(MapAttribute<? super T, K, V> map) Create an inner join to the specified Map-valued attribute.<K,V> JpaMapJoin<T, K, V> join(MapAttribute<? super T, K, V> map, JoinType jt) Create a join to the specified Map-valued attribute using the given join type.<Y> JpaSetJoin<T,Y> join(SetAttribute<? super T, Y> set) Create an inner join to the specified Set-valued attribute.<Y> JpaSetJoin<T,Y> join(SetAttribute<? super T, Y> set, JoinType jt) Create a join to the specified Set-valued attribute using the given join type.join(SingularAttribute<? super T, Y> attribute) Create an inner join to the specified single-valued attribute.join(SingularAttribute<? super T, Y> attribute, JoinType jt) Create a join to the specified single-valued attribute using the given join type.<X> JpaEntityJoin<X><X> JpaEntityJoin<X>join(Class<X> entityJavaType, SqmJoinType joinType) <X,Y> JpaJoin<X, Y> Create an inner join to the specified attribute.<X,Y> JpaJoin<X, Y> Create a join to the specified attribute using the given join type.<X> JpaEntityJoin<X>join(EntityDomainType<X> entity) <X> JpaEntityJoin<X>join(EntityDomainType<X> entity, SqmJoinType joinType) <X> JpaJoinedFrom<?,X> join(JpaCteCriteria<X> cte) <X> JpaJoinedFrom<?,X> join(JpaCteCriteria<X> cte, SqmJoinType joinType) <X,Y> JpaCollectionJoin<X, Y> joinCollection(String attributeName) Create an inner join to the specified Collection-valued attribute.<X,Y> JpaCollectionJoin<X, Y> joinCollection(String attributeName, JoinType jt) Create a join to the specified Collection-valued attribute using the given join type.<X> JpaDerivedJoin<X>joinLateral(Subquery<X> subquery) <X> JpaDerivedJoin<X>joinLateral(Subquery<X> subquery, SqmJoinType joinType) <X,Y> JpaListJoin<X, Y> Create an inner join to the specified List-valued attribute.<X,Y> JpaListJoin<X, Y> Create a join to the specified List-valued attribute using the given join type.<X,K, V> JpaMapJoin<X, K, V> Create an inner join to the specified Map-valued attribute.<X,K, V> JpaMapJoin<X, K, V> Create a join to the specified Map-valued attribute using the given join type.<X,Y> JpaSetJoin<X, Y> Create an inner join to the specified Set-valued attribute.<X,Y> JpaSetJoin<X, Y> Create a join to the specified Set-valued attribute using the given join type.Methods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelatedMethods 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.JpaPath
get, get, get, get, getLhs, getNavigablePath, getParentPath, treatAs, treatAs, typeMethods 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
-
getCorrelationParent
Description copied from interface:FromReturns the parentFromobject from which the correlatedFromobject has been obtained through correlation (use of aSubquerycorrelatemethod).- Specified by:
getCorrelationParentin interfaceFrom<O,T> - Returns:
- the parent of the correlated From object
-
join
-
join
-
join
-
join
-
join
-
join
-
joinLateral
-
joinLateral
-
join
-
join
-
join
-
crossJoin
-
crossJoin
-
join
Description copied from interface:FromCreate an inner join to the specified single-valued attribute. -
join
Description copied from interface:FromCreate a join to the specified single-valued attribute using the given join type. -
join
Description copied from interface:FromCreate an inner join to the specified Collection-valued attribute. -
join
Description copied from interface:FromCreate an inner join to the specified Set-valued attribute. -
join
Description copied from interface:FromCreate an inner join to the specified List-valued attribute. -
join
Description copied from interface:FromCreate an inner join to the specified Map-valued attribute. -
join
Description copied from interface:FromCreate a join to the specified Collection-valued attribute using the given join type. -
join
Description copied from interface:FromCreate a join to the specified Set-valued attribute using the given join type. -
join
Description copied from interface:FromCreate a join to the specified List-valued attribute using the given join type. -
join
Description copied from interface:FromCreate a join to the specified Map-valued attribute using the given join type. -
join
Description copied from interface:FromCreate an inner join to the specified attribute. -
joinCollection
Description copied from interface:FromCreate an inner join to the specified Collection-valued attribute.- Specified by:
joinCollectionin interfaceFrom<O,T> - Parameters:
attributeName- name of the attribute for the target of the join- Returns:
- the resulting join
-
joinSet
Description copied from interface:FromCreate an inner join to the specified Set-valued attribute. -
joinList
Description copied from interface:FromCreate an inner join to the specified List-valued attribute. -
joinMap
Description copied from interface:FromCreate an inner join to the specified Map-valued attribute. -
join
Description copied from interface:FromCreate a join to the specified attribute using the given join type. -
joinCollection
Description copied from interface:FromCreate a join to the specified Collection-valued attribute using the given join type.- Specified by:
joinCollectionin interfaceFrom<O,T> - Parameters:
attributeName- name of the attribute for the target of the joinjt- join type- Returns:
- the resulting join
-
joinSet
Description copied from interface:FromCreate a join to the specified Set-valued attribute using the given join type. -
joinList
Description copied from interface:FromCreate a join to the specified List-valued attribute using the given join type. -
joinMap
Description copied from interface:FromCreate a join to the specified Map-valued attribute using the given join type.
-