Package org.datanucleus.api.jpa.criteria
Class MapJoinImpl<Z,K,V>
- 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,Map<K,V>,V>
-
- org.datanucleus.api.jpa.criteria.MapJoinImpl<Z,K,V>
-
- Type Parameters:
Z
- The source type of the joinK
- The type of the target Map keyV
- The type of the target Map value
- All Implemented Interfaces:
Serializable
,javax.persistence.criteria.Expression<V>
,javax.persistence.criteria.FetchParent<Z,V>
,javax.persistence.criteria.From<Z,V>
,javax.persistence.criteria.Join<Z,V>
,javax.persistence.criteria.MapJoin<Z,K,V>
,javax.persistence.criteria.Path<V>
,javax.persistence.criteria.PluralJoin<Z,Map<K,V>,V>
,javax.persistence.criteria.Selection<V>
,javax.persistence.TupleElement<V>
public class MapJoinImpl<Z,K,V> extends PluralJoinImpl<Z,Map<K,V>,V> implements javax.persistence.criteria.MapJoin<Z,K,V>
Implementation of JPA2 Criteria "MapJoin".- 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 MapJoinImpl(CriteriaBuilderImpl cb, FromImpl parent, PluralAttributeImpl attr, javax.persistence.criteria.JoinType joinType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.persistence.criteria.Expression<Map.Entry<K,V>>
entry()
javax.persistence.metamodel.MapAttribute<? super Z,K,V>
getModel()
javax.persistence.criteria.Join<Map<K,V>,K>
joinKey()
javax.persistence.criteria.Join<Map<K,V>,K>
joinKey(javax.persistence.criteria.JoinType arg0)
javax.persistence.criteria.Path<K>
key()
javax.persistence.criteria.MapJoin<Z,K,V>
on(javax.persistence.criteria.Expression<Boolean> restriction)
javax.persistence.criteria.MapJoin<Z,K,V>
on(javax.persistence.criteria.Predicate... restrictions)
javax.persistence.criteria.Path<V>
value()
-
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
-
MapJoinImpl
public MapJoinImpl(CriteriaBuilderImpl cb, FromImpl parent, PluralAttributeImpl attr, javax.persistence.criteria.JoinType joinType)
-
-
Method Detail
-
joinKey
public javax.persistence.criteria.Join<Map<K,V>,K> joinKey(javax.persistence.criteria.JoinType arg0)
-
key
public javax.persistence.criteria.Path<K> key()
-
value
public javax.persistence.criteria.Path<V> value()
-
on
public javax.persistence.criteria.MapJoin<Z,K,V> on(javax.persistence.criteria.Expression<Boolean> restriction)
-
-