org.datanucleus.jpa.criteria
Class MapJoinImpl<Z,K,V>
java.lang.Object
org.datanucleus.jpa.criteria.ExpressionImpl<X>
org.datanucleus.jpa.criteria.PathImpl<Z,X>
org.datanucleus.jpa.criteria.FromImpl<Z,X>
org.datanucleus.jpa.criteria.JoinImpl<Z,E>
org.datanucleus.jpa.criteria.PluralJoinImpl<Z,java.util.Map<K,V>,V>
org.datanucleus.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:
- 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,java.util.Map<K,V>,V>, javax.persistence.criteria.Selection<V>, javax.persistence.TupleElement<V>
public class MapJoinImpl<Z,K,V>
- extends PluralJoinImpl<Z,java.util.Map<K,V>,V>
- implements javax.persistence.criteria.MapJoin<Z,K,V>
Implementation of JPA2 Criteria "MapJoin".
|
Method Summary |
javax.persistence.criteria.Expression<java.util.Map.Entry<K,V>> |
entry()
|
javax.persistence.metamodel.MapAttribute<? super Z,K,V> |
getModel()
|
javax.persistence.criteria.Join<java.util.Map<K,V>,K> |
joinKey()
|
javax.persistence.criteria.Join<java.util.Map<K,V>,K> |
joinKey(javax.persistence.criteria.JoinType arg0)
|
javax.persistence.criteria.Path<K> |
key()
|
javax.persistence.criteria.Path<V> |
value()
|
| Methods inherited from class org.datanucleus.jpa.criteria.FromImpl |
fetch, fetch, fetch, fetch, fetch, fetch, getAttributeForAttributeName, 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.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.Join |
getAttribute, getJoinType, getParent |
| 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.Path |
get, get, get, get, getParentPath, type |
| Methods inherited from interface javax.persistence.criteria.Expression |
as, in, in, in, in, isNotNull, isNull |
| Methods inherited from interface javax.persistence.criteria.Selection |
alias, getCompoundSelectionItems, isCompoundSelection |
| Methods inherited from interface javax.persistence.TupleElement |
getAlias, getJavaType |
| Methods inherited from interface javax.persistence.criteria.FetchParent |
fetch, fetch, fetch, fetch, fetch, fetch, getFetches |
MapJoinImpl
public MapJoinImpl(FromImpl parent,
PluralAttributeImpl attr,
javax.persistence.criteria.JoinType joinType)
- Parameters:
parent - attr - joinType -
getModel
public javax.persistence.metamodel.MapAttribute<? super Z,K,V> getModel()
- Specified by:
getModel in interface javax.persistence.criteria.MapJoin<Z,K,V>- Specified by:
getModel in interface javax.persistence.criteria.Path<V>- Specified by:
getModel in interface javax.persistence.criteria.PluralJoin<Z,java.util.Map<K,V>,V>- Overrides:
getModel in class PluralJoinImpl<Z,java.util.Map<K,V>,V>
entry
public javax.persistence.criteria.Expression<java.util.Map.Entry<K,V>> entry()
- Specified by:
entry in interface javax.persistence.criteria.MapJoin<Z,K,V>
joinKey
public javax.persistence.criteria.Join<java.util.Map<K,V>,K> joinKey()
joinKey
public javax.persistence.criteria.Join<java.util.Map<K,V>,K> joinKey(javax.persistence.criteria.JoinType arg0)
key
public javax.persistence.criteria.Path<K> key()
- Specified by:
key in interface javax.persistence.criteria.MapJoin<Z,K,V>
value
public javax.persistence.criteria.Path<V> value()
- Specified by:
value in interface javax.persistence.criteria.MapJoin<Z,K,V>
Copyright © 2011. All Rights Reserved.