K - The type of the map key.public static class MapKeyHelpers.MapKeyPath<K> extends AbstractPathImpl<K> implements PathImplementor<K>, java.io.Serializable
MapJoin.key()ParameterContainer.Helper| Constructor and Description |
|---|
MapKeyPath(CriteriaBuilderImpl criteriaBuilder,
MapKeyHelpers.MapKeySource<K,?> source,
MapKeyHelpers.MapKeyAttribute<K> mapKeyAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeDereferenced() |
MapKeyHelpers.MapKeyAttribute<K> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.Bindable<K> |
getModel() |
MapKeyHelpers.MapKeySource |
getPathSource() |
protected javax.persistence.metamodel.Attribute |
locateAttributeInternal(java.lang.String attributeName)
Get the attribute by name from the underlying model.
|
java.lang.String |
render(RenderingContext renderingContext)
Render clause
|
<T extends K> |
treatAs(java.lang.Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
get, get, get, get, getParentPath, getPathIdentifier, getPathSourceForSubPaths, illegalDereference, locateAttribute, prepareAlias, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttributeas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrenderGroupBy, renderProjectiongetPathIdentifier, prepareAliasget, get, get, get, getParentPath, typeas, in, in, in, in, isNotNull, isNullpublic MapKeyPath(CriteriaBuilderImpl criteriaBuilder, MapKeyHelpers.MapKeySource<K,?> source, MapKeyHelpers.MapKeyAttribute<K> mapKeyAttribute)
public MapKeyHelpers.MapKeySource getPathSource()
getPathSource in class AbstractPathImpl<K>public MapKeyHelpers.MapKeyAttribute<K> getAttribute()
PathImplementorgetAttribute in interface PathImplementor<K>protected boolean canBeDereferenced()
canBeDereferenced in class AbstractPathImpl<K>protected javax.persistence.metamodel.Attribute locateAttributeInternal(java.lang.String attributeName)
AbstractPathImplAbstractPathImpl.locateAttribute(java.lang.String)
which also applies nullness checking for proper error reporting.locateAttributeInternal in class AbstractPathImpl<K>attributeName - The name of the attribute to locatepublic javax.persistence.metamodel.Bindable<K> getModel()
getModel in interface javax.persistence.criteria.Path<K>public <T extends K> MapKeyHelpers.MapKeyPath<T> treatAs(java.lang.Class<T> treatAsType)
PathImplementortreatAs in interface PathImplementor<K>T - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.public java.lang.String render(RenderingContext renderingContext)
Renderablerender in interface Renderablerender in class AbstractPathImpl<K>renderingContext - contextCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.