类 MapKeyHelpers.MapKeyPath<K>
- 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<K>
-
- org.hibernate.query.criteria.internal.path.MapKeyHelpers.MapKeyPath<K>
-
- 类型参数:
K- The type of the map key.
- 所有已实现的接口:
Serializable,javax.persistence.criteria.Expression<K>,javax.persistence.criteria.Path<K>,javax.persistence.criteria.Selection<K>,javax.persistence.TupleElement<K>,ExpressionImplementor<K>,ParameterContainer,PathImplementor<K>,PathSource<K>,Renderable,SelectionImplementor<K>,TupleElementImplementor<K>
- 封闭类:
- MapKeyHelpers
public static class MapKeyHelpers.MapKeyPath<K> extends AbstractPathImpl<K> implements PathImplementor<K>, Serializable
Models a path to a map key. This is the actual return used fromMapJoin.key()- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.query.criteria.internal.ParameterContainer
ParameterContainer.Helper
-
-
构造器概要
构造器 构造器 说明 MapKeyPath(CriteriaBuilderImpl criteriaBuilder, MapKeyHelpers.MapKeySource<K,?> source, MapKeyHelpers.MapKeyAttribute<K> mapKeyAttribute)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleancanBeDereferenced()MapKeyHelpers.MapKeyAttribute<K>getAttribute()Retrieve reference to the attribute this path represents.javax.persistence.metamodel.Bindable<K>getModel()MapKeyHelpers.MapKeySourcegetPathSource()protected javax.persistence.metamodel.AttributelocateAttributeInternal(String attributeName)Get the attribute by name from the underlying model.Stringrender(RenderingContext renderingContext)Perform the rendering, returning the rendition<T extends K>
MapKeyHelpers.MapKeyPath<T>treatAs(Class<T> treatAsType)Defines handling for the JPA 2.1 TREAT down-casting feature.-
从类继承的方法 org.hibernate.query.criteria.internal.path.AbstractPathImpl
get, get, get, get, getParentPath, getPathIdentifier, getPathSourceForSubPaths, illegalDereference, locateAttribute, prepareAlias, 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, getAlias, 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
-
从接口继承的方法 org.hibernate.query.criteria.internal.PathSource
getPathIdentifier, prepareAlias
-
从接口继承的方法 org.hibernate.query.criteria.internal.SelectionImplementor
getValueHandlers
-
从接口继承的方法 org.hibernate.query.criteria.internal.TupleElementImplementor
getValueHandler
-
-
-
-
构造器详细资料
-
MapKeyPath
public MapKeyPath(CriteriaBuilderImpl criteriaBuilder, MapKeyHelpers.MapKeySource<K,?> source, MapKeyHelpers.MapKeyAttribute<K> mapKeyAttribute)
-
-
方法详细资料
-
getPathSource
public MapKeyHelpers.MapKeySource getPathSource()
- 覆盖:
getPathSource在类中AbstractPathImpl<K>
-
getAttribute
public MapKeyHelpers.MapKeyAttribute<K> getAttribute()
从接口复制的说明:PathImplementorRetrieve reference to the attribute this path represents.- 指定者:
getAttribute在接口中PathImplementor<K>- 返回:
- The metamodel attribute.
-
canBeDereferenced
protected boolean canBeDereferenced()
- 指定者:
canBeDereferenced在类中AbstractPathImpl<K>
-
locateAttributeInternal
protected javax.persistence.metamodel.Attribute locateAttributeInternal(String attributeName)
从类复制的说明:AbstractPathImplGet the attribute by name from the underlying model. This allows subclasses to define exactly how the attribute is derived. Called fromAbstractPathImpl.locateAttribute(java.lang.String)which also applies nullness checking for proper error reporting.- 指定者:
locateAttributeInternal在类中AbstractPathImpl<K>- 参数:
attributeName- The name of the attribute to locate- 返回:
- The attribute; may be null.
-
getModel
public javax.persistence.metamodel.Bindable<K> getModel()
- 指定者:
getModel在接口中javax.persistence.criteria.Path<K>
-
treatAs
public <T extends K> MapKeyHelpers.MapKeyPath<T> treatAs(Class<T> treatAsType)
从接口复制的说明:PathImplementorDefines handling for the JPA 2.1 TREAT down-casting feature.- 指定者:
treatAs在接口中PathImplementor<K>- 类型参数:
T- The parameterized type representation of treatAsType.- 参数:
treatAsType- The type to treat the path as.- 返回:
- The properly typed view of this path.
-
render
public String render(RenderingContext renderingContext)
从接口复制的说明:RenderablePerform the rendering, returning the rendition- 指定者:
render在接口中Renderable- 覆盖:
render在类中AbstractPathImpl<K>
-
-