Class MapAttributeImpl<X,K,V>
java.lang.Object
org.hibernate.metamodel.model.domain.internal.AbstractAttribute<X,Map<K,V>,V>
org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute<X,Map<K,V>,V>
org.hibernate.metamodel.model.domain.internal.MapAttributeImpl<X,K,V>
- All Implemented Interfaces:
Attribute<X,,Map<K, V>> Bindable<V>,MapAttribute<X,,K, V> PluralAttribute<X,,Map<K, V>, V> Serializable,MapPersistentAttribute<X,,K, V> PathSource<V>,PersistentAttribute<X,,Map<K, V>> PluralPersistentAttribute<X,,Map<K, V>, V> SqmExpressible<V>,SqmJoinable<X,,V> SqmPathSource<V>,SqmMapPersistentAttribute<X,,K, V> SqmPersistentAttribute<X,,Map<K, V>> SqmPluralPersistentAttribute<X,,Map<K, V>, V> SqmExpressibleAccessor<V>
public class MapAttributeImpl<X,K,V>
extends AbstractPluralAttribute<X,Map<K,V>,V>
implements SqmMapPersistentAttribute<X,K,V>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.PluralAttribute
PluralAttribute.CollectionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmJoin(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) findSubPathSource(String name) Find aPathSourceby name relative to this source.findSubPathSource(String name, boolean includeSubtypes) Find aPathSourceby name relative to this source.getIntermediatePathSource(SqmPathSource<?> pathSource) Returns the intermediateSqmPathSourcefor a path source previously acquired viaSqmPathSource.findSubPathSource(String).Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute
createNavigablePath, createSqmPath, getBindableJavaType, getBindableType, getCollectionClassification, getElementPathSource, getElementType, getExpressibleJavaType, getJavaType, getPathName, getValueGraphType, isAssociation, isCollection, isGenericMethods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractAttribute
getAttributeClassification, getAttributeJavaType, getDeclaringType, getJavaMember, getName, getPathType, getPersistentAttributeType, toString, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.Attribute
getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollectionMethods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PathSource
getPathNameMethods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PluralPersistentAttribute
getCollectionClassification, getDeclaringType, getElementType, getValueGraphTypeMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, getTypeNameMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath, getNameMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, getExpressible, getPathType, getSqmType, getSubPathSource, getSubPathSource, isGenericMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPluralPersistentAttribute
getElementPathSource
-
Constructor Details
-
MapAttributeImpl
-
-
Method Details
-
getCollectionType
- Specified by:
getCollectionTypein interfacePluralAttribute<X,K, V> - Overrides:
getCollectionTypein classAbstractPluralAttribute<X,Map<K, V>, V>
-
getKeyJavaType
- Specified by:
getKeyJavaTypein interfaceMapAttribute<X,K, V>
-
getKeyPathSource
- Specified by:
getKeyPathSourcein interfaceMapPersistentAttribute<X,K, V>
-
getIndexPathSource
- Specified by:
getIndexPathSourcein interfacePluralPersistentAttribute<X,K, V>
-
findSubPathSource
Description copied from interface:PathSourceFind aPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfacePathSource<X>- Specified by:
findSubPathSourcein interfaceSqmPathSource<X>- Overrides:
findSubPathSourcein classAbstractPluralAttribute<X,Map<K, V>, V> - Parameters:
name- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
findSubPathSource
Description copied from interface:PathSourceFind aPathSourceby name relative to this source. IfincludeSubtypesis set totrueand this path source is polymorphic, also try finding subtype attributes.- Specified by:
findSubPathSourcein interfacePathSource<X>- Specified by:
findSubPathSourcein interfaceSqmPathSource<X>- Overrides:
findSubPathSourcein classAbstractPluralAttribute<X,Map<K, V>, V> - Parameters:
name- the name of the path source to findincludeSubtypes- flag indicating whether to consider subtype attributes- Returns:
- null if the subPathSource is not found
-
getIntermediatePathSource
Description copied from interface:SqmPathSourceReturns the intermediateSqmPathSourcefor a path source previously acquired viaSqmPathSource.findSubPathSource(String).- Specified by:
getIntermediatePathSourcein interfaceSqmPathSource<X>- Overrides:
getIntermediatePathSourcein classAbstractPluralAttribute<X,Map<K, V>, V>
-
getKeyType
- Specified by:
getKeyTypein interfaceMapAttribute<X,K, V> - Specified by:
getKeyTypein interfaceMapPersistentAttribute<X,K, V>
-
getKeyGraphType
- Specified by:
getKeyGraphTypein interfaceMapPersistentAttribute<X,K, V> - Specified by:
getKeyGraphTypein interfacePersistentAttribute<X,K> - Specified by:
getKeyGraphTypein interfacePluralPersistentAttribute<X,K, V> - Overrides:
getKeyGraphTypein classAbstractPluralAttribute<X,Map<K, V>, V>
-
createSqmJoin
public SqmAttributeJoin<X,V> createSqmJoin(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) - Specified by:
createSqmJoinin interfaceSqmJoinable<X,K>
-