Z
- the type from which being joinedK
- the type of the the map attribute keysV
- the type of the the map attribute valuesstatic class Joins.Map<Z,K,V> extends Joins.AbstractCollection<Z,Map<K,V>,V> implements javax.persistence.criteria.MapJoin<Z,K,V>
Constructor and Description |
---|
Joins.Map(FromImpl<?,Z> parent,
Members.MapAttributeImpl<? super Z,K,V> member,
javax.persistence.criteria.JoinType jt) |
Modifier and Type | Method and Description |
---|---|
javax.persistence.criteria.Expression<Map.Entry<K,V>> |
entry() |
javax.persistence.metamodel.MapAttribute<? super Z,K,V> |
getModel()
Returns the bindable object that corresponds to the path expression.
|
javax.persistence.criteria.Join<Map<K,V>,K> |
joinKey() |
javax.persistence.criteria.Join<Map<K,V>,K> |
joinKey(javax.persistence.criteria.JoinType jt)
Create a pseudo-attribute of a pseudo-managed type for java.util.Map<K,V>
to represent its keys of type java.util.Set<V>.
|
javax.persistence.criteria.Path<K> |
key() |
Expression |
toKernelExpression(ExpressionFactory factory,
CriteriaQueryImpl<?> c)
Convert this path to a join expression.
|
javax.persistence.criteria.Path<V> |
value() |
asVariable, getAttribute, getJoinType, getMemberClassMetaData, getParent, toValue
acceptVisit, assertJoinable, fetch, fetch, fetch, fetch, fetch, fetch, getCorrelationParent, getFetches, getJoins, getType, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
asValue, get, get, get, get, getCorrelatedJoin, getCorrelatedPath, getCorrelatedRoot, getEmbeddedFieldMetaData, getInnermostMember, getInnermostParentPath, getMember, getParentPath, inSubquery, isCorrelated, setCorrelatedPath, traversePath, type
as, in, in, in, in, isNotNull, isNull
alias, asProjection, assertValidName, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAlias
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getJoinType, getParent
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
get, get, get, get, getParentPath, type
as, in, in, in, in, isNotNull, isNull
public javax.persistence.metamodel.MapAttribute<? super Z,K,V> getModel()
PathImpl
getModel
in interface javax.persistence.criteria.MapJoin<Z,K,V>
getModel
in interface javax.persistence.criteria.Path<V>
getModel
in interface javax.persistence.criteria.PluralJoin<Z,Map<K,V>,V>
getModel
in class Joins.AbstractCollection<Z,Map<K,V>,V>
public javax.persistence.criteria.Join<Map<K,V>,K> joinKey(javax.persistence.criteria.JoinType jt)
public javax.persistence.criteria.Path<K> key()
public javax.persistence.criteria.Path<V> value()
public Expression toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
Joins.AbstractCollection
toKernelExpression
in class Joins.AbstractCollection<Z,Map<K,V>,V>
factory
- creates the kernel expressionc
- the query definition context of this expressionCopyright © 2006–2013 Apache Software Foundation. All rights reserved.