public class MapAttributeJoin<O,K,V> extends PluralAttributeJoinSupport<O,Map<K,V>,V> implements MapJoinImplementor<O,K,V>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MapAttributeJoin.TreatedMapAttributeJoin<O,K,T> |
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>ParameterContainer.HelperDEFAULT_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.
|
MapJoinImplementor<O,K,V> |
on(Expression<Boolean> restriction)
Coordinate return type between
Join.on(Expression) and Fetch#on(Expression) |
MapJoinImplementor<O,K,V> |
on(Predicate... restrictions)
Coordinate return type between
Join.on(Predicate...) and Fetch#on(Predicate...) |
<T extends V> |
treatAs(Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
Path<V> |
value()
Create a path expression that corresponds to the map value.
|
canBeDereferenced, canBeJoinSource, isBasicCollection, locateManagedTypegetJoinType, getOn, getParent, renderTableExpressioncanBeFetchSource, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getCorrelationParent, getFetches, getJoins, getPathIdentifier, getPathSource, illegalFetch, illegalJoin, 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, renderProjectionget, get, get, get, getParentPath, getPathSourceForSubPaths, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttributeas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJoinType, getParentgetCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpressionasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrender, renderProjectiongetPathIdentifiergetJoinType, getOn, getParentgetJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetfetch, fetch, fetch, fetch, fetch, fetch, getFetchespublic MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<V> javaType, PathSource<O> pathSource, MapAttribute<? super O,K,V> joinAttribute, JoinType joinType)
public MapAttribute<? super O,K,V> getAttribute()
PathImplementorgetAttribute 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()
PluralJoingetModel 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)
JoinImplementorcorrelateTo 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()
MapJoinpublic Expression<Map.Entry<K,V>> entry()
MapJoinpublic Path<K> key()
MapJoinpublic MapJoinImplementor<O,K,V> on(Predicate... restrictions)
JoinImplementorJoin.on(Predicate...) and Fetch#on(Predicate...)on in interface Join<O,V>on in interface MapJoin<O,K,V>on in interface JoinImplementor<O,V>on in interface MapJoinImplementor<O,K,V>on in class PluralAttributeJoinSupport<O,Map<K,V>,V>restrictions - zero or more restriction predicatespublic MapJoinImplementor<O,K,V> on(Expression<Boolean> restriction)
JoinImplementorJoin.on(Expression) and Fetch#on(Expression)on in interface Join<O,V>on in interface MapJoin<O,K,V>on in interface JoinImplementor<O,V>on in interface MapJoinImplementor<O,K,V>on in class PluralAttributeJoinSupport<O,Map<K,V>,V>restriction - a simple or compound boolean expressionpublic <T extends V> MapAttributeJoin<O,K,T> treatAs(Class<T> treatAsType)
PathImplementortreatAs in interface JoinImplementor<O,V>treatAs in interface MapJoinImplementor<O,K,V>treatAs in interface PathImplementor<V>T - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.Copyright © 2017 JBoss by Red Hat. All rights reserved.