public class MapAttributeJoin<O,K,V> extends PluralAttributeJoinSupport<O,java.util.Map<K,V>,V> implements MapJoinImplementor<O,K,V>, java.io.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,
java.lang.Class<V> javaType,
PathSource<O> pathSource,
javax.persistence.metamodel.MapAttribute<? super O,K,V> joinAttribute,
javax.persistence.criteria.JoinType joinType) |
| Modifier and Type | Method and Description |
|---|---|
MapAttributeJoin<O,K,V> |
correlateTo(CriteriaSubqueryImpl subquery)
Refined return type
|
protected FromImplementor<O,V> |
createCorrelationDelegate() |
javax.persistence.criteria.Expression<java.util.Map.Entry<K,V>> |
entry() |
javax.persistence.metamodel.MapAttribute<? super O,K,V> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.MapAttribute<? super O,K,V> |
getModel() |
javax.persistence.criteria.Path<K> |
key() |
MapJoinImplementor<O,K,V> |
on(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
Coordinate return type between
Join.on(Expression) and Fetch#on(Expression) |
MapJoinImplementor<O,K,V> |
on(javax.persistence.criteria.Predicate... restrictions)
Coordinate return type between
Join.on(Predicate...) and Fetch#on(Predicate...) |
<T extends V> |
treatAs(java.lang.Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
javax.persistence.criteria.Path<V> |
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, renderget, 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, waitgetCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpressionasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrender, renderGroupBy, renderProjectiongetPathIdentifierpublic MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<V> javaType, PathSource<O> pathSource, javax.persistence.metamodel.MapAttribute<? super O,K,V> joinAttribute, javax.persistence.criteria.JoinType joinType)
public javax.persistence.metamodel.MapAttribute<? super O,K,V> getAttribute()
PathImplementorgetAttribute in interface javax.persistence.criteria.Fetch<O,V>getAttribute in interface javax.persistence.criteria.Join<O,V>getAttribute in interface PathImplementor<V>getAttribute in class PluralAttributeJoinSupport<O,java.util.Map<K,V>,V>public javax.persistence.metamodel.MapAttribute<? super O,K,V> getModel()
getModel in interface javax.persistence.criteria.MapJoin<O,K,V>getModel in interface javax.persistence.criteria.Path<V>getModel in interface javax.persistence.criteria.PluralJoin<O,java.util.Map<K,V>,V>getModel in class PluralAttributeJoinSupport<O,java.util.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 javax.persistence.criteria.Path<V> value()
public javax.persistence.criteria.Path<K> key()
public MapJoinImplementor<O,K,V> on(javax.persistence.criteria.Predicate... restrictions)
JoinImplementorJoin.on(Predicate...) and Fetch#on(Predicate...)on in interface javax.persistence.criteria.Join<O,V>on in interface javax.persistence.criteria.MapJoin<O,K,V>on in interface JoinImplementor<O,V>on in interface MapJoinImplementor<O,K,V>on in class PluralAttributeJoinSupport<O,java.util.Map<K,V>,V>public MapJoinImplementor<O,K,V> on(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
JoinImplementorJoin.on(Expression) and Fetch#on(Expression)on in interface javax.persistence.criteria.Join<O,V>on in interface javax.persistence.criteria.MapJoin<O,K,V>on in interface JoinImplementor<O,V>on in interface MapJoinImplementor<O,K,V>on in class PluralAttributeJoinSupport<O,java.util.Map<K,V>,V>public <T extends V> MapAttributeJoin<O,K,T> treatAs(java.lang.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 © 2001-2018 Red Hat, Inc. All Rights Reserved.