Interface BlazeCollectionJoin<Z,E>
- Type Parameters:
Z
- the source type of the joinE
- the element type of the targetCollection
- All Superinterfaces:
BlazeExpression<E>
,BlazeFetchParent<Z,E>
,BlazeFrom<Z,E>
,BlazeJoin<Z,E>
,BlazePath<E>
,CollectionJoin<Z,E>
,Expression<E>
,Fetch<Z,E>
,FetchParent<Z,E>
,From<Z,E>
,Join<Z,E>
,Path<E>
,PluralJoin<Z,Collection<E>,E>
,Selection<E>
,TupleElement<E>
public interface BlazeCollectionJoin<Z,E> extends CollectionJoin<Z,E>, BlazeJoin<Z,E>
An extended version of
CollectionJoin
.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description BlazeCollectionJoin<Z,E>
on(Expression<Boolean> restriction)
Modify the join to restrict the result according to the specified ON condition.BlazeCollectionJoin<Z,E>
on(Predicate... restrictions)
Modify the join to restrict the result according to the specified ON condition.<T extends E>
BlazeCollectionJoin<Z,T>treatAs(Class<T> type)
LikeBlazeJoin.treatAs(java.lang.Class<T>)
but returns the subtypeBlazeCollectionJoin
instead.Methods inherited from interface com.blazebit.persistence.criteria.BlazeFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch
Methods inherited from interface com.blazebit.persistence.criteria.BlazeFrom
getBlazeJoins, getCorrelationParent, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinCollection, joinCollection, joinList, joinList, joinList, joinList, joinMap, joinMap, joinMap, joinMap, joinSet, joinSet, joinSet, joinSet
Methods inherited from interface com.blazebit.persistence.criteria.BlazePath
get, get, get, get, getParentPath, type
Methods inherited from interface javax.persistence.criteria.Expression
in, in, in, in, isNotNull, isNull
Methods inherited from interface javax.persistence.criteria.Fetch
getAttribute, getJoinType, getParent
Methods inherited from interface javax.persistence.criteria.Join
getAttribute, getJoinType, getParent
Methods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
-
Method Details
-
treatAs
LikeBlazeJoin.treatAs(java.lang.Class<T>)
but returns the subtypeBlazeCollectionJoin
instead. -
on
Modify the join to restrict the result according to the specified ON condition. Replaces the previous ON condition, if any. Return the join object -
on
Modify the join to restrict the result according to the specified ON condition. Replaces the previous ON condition, if any. Return the join object
-