Package org.datanucleus.api.jpa.criteria
Class ListJoinImpl<Z,E>
- java.lang.Object
-
- org.datanucleus.api.jpa.criteria.ExpressionImpl<X>
-
- org.datanucleus.api.jpa.criteria.PathImpl<Z,X>
-
- org.datanucleus.api.jpa.criteria.FromImpl<Z,X>
-
- org.datanucleus.api.jpa.criteria.JoinImpl<Z,E>
-
- org.datanucleus.api.jpa.criteria.PluralJoinImpl<Z,List<E>,E>
-
- org.datanucleus.api.jpa.criteria.ListJoinImpl<Z,E>
-
- Type Parameters:
Z
- The source type of the joinE
- The element type of the target List
- All Implemented Interfaces:
Serializable
,javax.persistence.criteria.Expression<E>
,javax.persistence.criteria.FetchParent<Z,E>
,javax.persistence.criteria.From<Z,E>
,javax.persistence.criteria.Join<Z,E>
,javax.persistence.criteria.ListJoin<Z,E>
,javax.persistence.criteria.Path<E>
,javax.persistence.criteria.PluralJoin<Z,List<E>,E>
,javax.persistence.criteria.Selection<E>
,javax.persistence.TupleElement<E>
public class ListJoinImpl<Z,E> extends PluralJoinImpl<Z,List<E>,E> implements javax.persistence.criteria.ListJoin<Z,E>
Implementation of JPA2 Criteria "ListJoin".- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datanucleus.api.jpa.criteria.FromImpl
fetchJoins, joins, type
-
Fields inherited from class org.datanucleus.api.jpa.criteria.ExpressionImpl
cb
-
-
Constructor Summary
Constructors Constructor Description ListJoinImpl(CriteriaBuilderImpl cb, FromImpl<?,Z> parent, ListAttributeImpl attr, javax.persistence.criteria.JoinType joinType)
Constructor for a list join.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.persistence.metamodel.ListAttribute<? super Z,E>
getModel()
javax.persistence.criteria.Expression<Integer>
index()
javax.persistence.criteria.ListJoin<Z,E>
on(javax.persistence.criteria.Expression<Boolean> restriction)
javax.persistence.criteria.ListJoin<Z,E>
on(javax.persistence.criteria.Predicate... restrictions)
-
Methods inherited from class org.datanucleus.api.jpa.criteria.JoinImpl
getAttribute, getJoinType, getOn, getParent
-
Methods inherited from class org.datanucleus.api.jpa.criteria.FromImpl
fetch, fetch, fetch, fetch, fetch, fetch, getAttributeType, getCorrelationParent, getFetches, getJoins, getQueryExpression, getQueryExpression, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, toString, toString
-
Methods inherited from class org.datanucleus.api.jpa.criteria.PathImpl
get, get, get, get, getParentPath, getType, type
-
Methods inherited from class org.datanucleus.api.jpa.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
-
Methods inherited from interface javax.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface javax.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
-
Methods inherited from interface javax.persistence.criteria.Join
getAttribute, getJoinType, getOn, getParent
-
Methods inherited from interface javax.persistence.criteria.Path
get, get, get, get, getParentPath, type
-
-
-
-
Constructor Detail
-
ListJoinImpl
public ListJoinImpl(CriteriaBuilderImpl cb, FromImpl<?,Z> parent, ListAttributeImpl attr, javax.persistence.criteria.JoinType joinType)
Constructor for a list join.- Parameters:
cb
- Criteria Builderparent
- The parentattr
- The attribute being joinedjoinType
- Type of join
-
-