public class MapAttributeJoin<O,K,V> extends PluralAttributeJoinSupport<O,Map<K,V>,V> implements MapJoinImplementor<O,K,V>, Serializable
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>
ParameterContainer.Helper
DEFAULT_JOIN_TYPE
Constructor and Description |
---|
MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
Class<V> javaType,
PathSource<O> pathSource,
MapAttribute<? super O,K,V> joinAttribute,
JoinType joinType) |
Modifier and Type | Method and Description |
---|---|
MapAttributeJoin<O,K,V> |
correlateTo(CriteriaSubqueryImpl subquery)
Refined return type
|
protected FromImplementor<O,V> |
createCorrelationDelegate() |
Expression<Map.Entry<K,V>> |
entry()
Create an expression that corresponds to the map entry.
|
MapAttribute<? super O,K,V> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
MapAttribute<? super O,K,V> |
getModel()
Return the metamodel representation for the collection-valued
attribute corresponding to the join.
|
Path<K> |
key()
Create a path expression that corresponds to the map key.
|
Path<V> |
value()
Create a path expression that corresponds to the map value.
|
canBeDereferenced, canBeJoinSource, isBasicCollection, locateManagedType
getJoinType, getParent, renderTableExpression
canBeFetchSource, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getCorrelationParent, getFetches, getJoins, getPathIdentifier, getPathSource, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, locateAttributeInternal, prepareAlias, prepareCorrelationDelegate, render, renderProjection
get, get, get, get, getParentPath, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttribute
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJoinType, getParent
getCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
getValueHandlers
getValueHandler
render, renderProjection
getPathIdentifier
getJoinType, getParent
getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
public MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<V> javaType, PathSource<O> pathSource, MapAttribute<? super O,K,V> joinAttribute, JoinType joinType)
public MapAttribute<? super O,K,V> getAttribute()
AbstractJoinImpl
getAttribute
in interface Fetch<O,V>
getAttribute
in interface Join<O,V>
getAttribute
in interface PathImplementor<V>
getAttribute
in class PluralAttributeJoinSupport<O,Map<K,V>,V>
public MapAttribute<? super O,K,V> getModel()
PluralJoin
getModel
in interface MapJoin<O,K,V>
getModel
in interface Path<V>
getModel
in interface PluralJoin<O,Map<K,V>,V>
getModel
in class PluralAttributeJoinSupport<O,Map<K,V>,V>
public final MapAttributeJoin<O,K,V> correlateTo(CriteriaSubqueryImpl subquery)
JoinImplementor
correlateTo
in interface FromImplementor<O,V>
correlateTo
in interface JoinImplementor<O,V>
correlateTo
in interface MapJoinImplementor<O,K,V>
correlateTo
in class AbstractJoinImpl<O,V>
protected FromImplementor<O,V> createCorrelationDelegate()
createCorrelationDelegate
in class AbstractFromImpl<O,V>
public Path<V> value()
public Expression<Map.Entry<K,V>> entry()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.