类 MapAttributeJoin<O,K,V>
- java.lang.Object
-
- org.hibernate.query.criteria.internal.AbstractNode
-
- org.hibernate.query.criteria.internal.expression.AbstractTupleElement<X>
-
- org.hibernate.query.criteria.internal.expression.SelectionImpl<T>
-
- org.hibernate.query.criteria.internal.expression.ExpressionImpl<X>
-
- org.hibernate.query.criteria.internal.path.AbstractPathImpl<X>
-
- org.hibernate.query.criteria.internal.path.AbstractFromImpl<Z,X>
-
- org.hibernate.query.criteria.internal.path.AbstractJoinImpl<O,E>
-
- org.hibernate.query.criteria.internal.path.PluralAttributeJoinSupport<O,Map<K,V>,V>
-
- org.hibernate.query.criteria.internal.path.MapAttributeJoin<O,K,V>
-
- 所有已实现的接口:
Serializable,javax.persistence.criteria.Expression<V>,javax.persistence.criteria.Fetch<O,V>,javax.persistence.criteria.FetchParent<O,V>,javax.persistence.criteria.From<O,V>,javax.persistence.criteria.Join<O,V>,javax.persistence.criteria.MapJoin<O,K,V>,javax.persistence.criteria.Path<V>,javax.persistence.criteria.PluralJoin<O,Map<K,V>,V>,javax.persistence.criteria.Selection<V>,javax.persistence.TupleElement<V>,ExpressionImplementor<V>,FromImplementor<O,V>,JoinImplementor<O,V>,MapJoinImplementor<O,K,V>,ParameterContainer,PathImplementor<V>,PathSource<V>,Renderable,SelectionImplementor<V>,TupleElementImplementor<V>
public class MapAttributeJoin<O,K,V> extends PluralAttributeJoinSupport<O,Map<K,V>,V> implements MapJoinImplementor<O,K,V>, Serializable
Models a join based on a map-style plural association attribute.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMapAttributeJoin.TreatedMapAttributeJoin<O,K,T>-
从类继承的嵌套类/接口 org.hibernate.query.criteria.internal.path.AbstractFromImpl
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>
-
从接口继承的嵌套类/接口 org.hibernate.query.criteria.internal.ParameterContainer
ParameterContainer.Helper
-
-
字段概要
-
从类继承的字段 org.hibernate.query.criteria.internal.path.AbstractFromImpl
DEFAULT_JOIN_TYPE
-
-
构造器概要
构造器 构造器 说明 MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<V> javaType, PathSource<O> pathSource, javax.persistence.metamodel.MapAttribute<? super O,K,V> joinAttribute, javax.persistence.criteria.JoinType joinType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 MapAttributeJoin<O,K,V>correlateTo(CriteriaSubqueryImpl subquery)Refined return typeprotected FromImplementor<O,V>createCorrelationDelegate()javax.persistence.criteria.Expression<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<Boolean> restriction)Coordinate return type betweenJoin.on(Expression)andFetch#on(Expression)MapJoinImplementor<O,K,V>on(javax.persistence.criteria.Predicate... restrictions)Coordinate return type betweenJoin.on(Predicate...)andFetch#on(Predicate...)<T extends V>
MapAttributeJoin<O,K,T>treatAs(Class<T> treatAsType)Defines handling for the JPA 2.1 TREAT down-casting feature.javax.persistence.criteria.Path<V>value()-
从类继承的方法 org.hibernate.query.criteria.internal.path.PluralAttributeJoinSupport
canBeDereferenced, canBeJoinSource, isBasicCollection, locateManagedType
-
从类继承的方法 org.hibernate.query.criteria.internal.path.AbstractJoinImpl
getJoinType, getOn, getParent, renderTableExpression
-
从类继承的方法 org.hibernate.query.criteria.internal.path.AbstractFromImpl
canBeFetchSource, 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
-
从类继承的方法 org.hibernate.query.criteria.internal.path.AbstractPathImpl
get, get, get, get, getParentPath, getPathSourceForSubPaths, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttribute
-
从类继承的方法 org.hibernate.query.criteria.internal.expression.ExpressionImpl
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
-
从类继承的方法 org.hibernate.query.criteria.internal.expression.SelectionImpl
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
-
从类继承的方法 org.hibernate.query.criteria.internal.expression.AbstractTupleElement
forceConversion, getJavaType, getValueHandler, resetJavaType, setAlias
-
从类继承的方法 org.hibernate.query.criteria.internal.AbstractNode
criteriaBuilder
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.query.criteria.internal.ExpressionImplementor
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
-
从接口继承的方法 javax.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
从接口继承的方法 javax.persistence.criteria.From
getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
-
从接口继承的方法 org.hibernate.query.criteria.internal.FromImplementor
getCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpression
-
从接口继承的方法 org.hibernate.query.criteria.internal.PathSource
getPathIdentifier
-
从接口继承的方法 org.hibernate.query.criteria.internal.Renderable
render
-
从接口继承的方法 org.hibernate.query.criteria.internal.SelectionImplementor
getValueHandlers
-
从接口继承的方法 org.hibernate.query.criteria.internal.TupleElementImplementor
getValueHandler
-
-
-
-
构造器详细资料
-
MapAttributeJoin
public MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<V> javaType, PathSource<O> pathSource, javax.persistence.metamodel.MapAttribute<? super O,K,V> joinAttribute, javax.persistence.criteria.JoinType joinType)
-
-
方法详细资料
-
getAttribute
public javax.persistence.metamodel.MapAttribute<? super O,K,V> getAttribute()
从接口复制的说明:PathImplementorRetrieve reference to the attribute this path represents.- 指定者:
getAttribute在接口中javax.persistence.criteria.Fetch<O,K>- 指定者:
getAttribute在接口中javax.persistence.criteria.Join<O,K>- 指定者:
getAttribute在接口中PathImplementor<O>- 覆盖:
getAttribute在类中PluralAttributeJoinSupport<O,Map<K,V>,V>- 返回:
- The metamodel attribute.
-
correlateTo
public final MapAttributeJoin<O,K,V> correlateTo(CriteriaSubqueryImpl subquery)
从接口复制的说明:JoinImplementorRefined return type- 指定者:
correlateTo在接口中FromImplementor<O,K>- 指定者:
correlateTo在接口中JoinImplementor<O,K>- 指定者:
correlateTo在接口中MapJoinImplementor<O,K,V>- 覆盖:
correlateTo在类中AbstractJoinImpl<O,V>
-
createCorrelationDelegate
protected FromImplementor<O,V> createCorrelationDelegate()
- 指定者:
createCorrelationDelegate在类中AbstractFromImpl<O,V>
-
value
public javax.persistence.criteria.Path<V> value()
-
key
public javax.persistence.criteria.Path<K> key()
-
on
public MapJoinImplementor<O,K,V> on(javax.persistence.criteria.Predicate... restrictions)
从接口复制的说明:JoinImplementorCoordinate return type betweenJoin.on(Predicate...)andFetch#on(Predicate...)
-
on
public MapJoinImplementor<O,K,V> on(javax.persistence.criteria.Expression<Boolean> restriction)
从接口复制的说明:JoinImplementorCoordinate return type betweenJoin.on(Expression)andFetch#on(Expression)
-
treatAs
public <T extends V> MapAttributeJoin<O,K,T> treatAs(Class<T> treatAsType)
从接口复制的说明:PathImplementorDefines handling for the JPA 2.1 TREAT down-casting feature.- 指定者:
treatAs在接口中JoinImplementor<O,K>- 指定者:
treatAs在接口中MapJoinImplementor<O,K,V>- 指定者:
treatAs在接口中PathImplementor<O>- 类型参数:
T- The parameterized type representation of treatAsType.- 参数:
treatAsType- The type to treat the path as.- 返回:
- The properly typed view of this path.
-
-