Class MapAttributeImpl<X,K,V>
java.lang.Object
org.hibernate.metamodel.model.domain.internal.AbstractAttribute<D,C,E>
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> PersistentAttribute<X,
,Map<K, V>> PluralPersistentAttribute<X,
,Map<K, V>, V> BindableType<V>
,SqmExpressible<V>
,SqmJoinable<X,
,V> SqmPathSource<V>
,SqmExpressibleAccessor<V>
public class MapAttributeImpl<X,K,V>
extends AbstractPluralAttribute<X,Map<K,V>,V>
implements MapPersistentAttribute<X,K,V>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.PluralAttribute
PluralAttribute.CollectionType
-
Constructor Summary
ConstructorsConstructorDescriptionMapAttributeImpl
(PluralAttributeBuilder<X, Map<K, V>, V, K> xceBuilder, MetadataContext metadataContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmJoin
(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) findSubPathSource
(String name) Find aSqmPathSource
by name relative to this source.findSubPathSource
(String name, JpaMetamodelImplementor metamodel) Find aSqmPathSource
by name relative to this source.getIntermediatePathSource
(SqmPathSource<?> pathSource) Returns the intermediateSqmPathSource
for 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, isGeneric
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractAttribute
getAttributeClassification, getAttributeJavaType, getDeclaringType, getJavaMember, getName, getPersistentAttributeType, getSqmPathType, toString, writeReplace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.persistence.metamodel.Attribute
getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
Methods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaType
Methods inherited from interface org.hibernate.metamodel.model.domain.PluralPersistentAttribute
getCollectionClassification, getDeclaringType, getElementPathSource, getElementType, getValueGraphType
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, getTypeName, isInstance, resolveExpressible
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath, getName
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, getExpressible, getPathName, getSqmPathType, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
Constructor Details
-
MapAttributeImpl
public MapAttributeImpl(PluralAttributeBuilder<X, Map<K, V>, V, K> xceBuilder, MetadataContext metadataContext)
-
-
Method Details
-
getCollectionType
- Specified by:
getCollectionType
in interfacePluralAttribute<X,
K, V> - Overrides:
getCollectionType
in classAbstractPluralAttribute<X,
Map<K, V>, V>
-
getKeyJavaType
- Specified by:
getKeyJavaType
in interfaceMapAttribute<X,
K, V>
-
getKeyPathSource
- Specified by:
getKeyPathSource
in interfaceMapPersistentAttribute<X,
K, V>
-
getIndexPathSource
- Specified by:
getIndexPathSource
in interfacePluralPersistentAttribute<X,
K, V>
-
findSubPathSource
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<X>
- Overrides:
findSubPathSource
in classAbstractPluralAttribute<X,
Map<K, V>, V> - Returns:
- null if the subPathSource is not found
-
findSubPathSource
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<X>
- Overrides:
findSubPathSource
in classAbstractPluralAttribute<X,
Map<K, V>, V> - Returns:
- null if the subPathSource is not found
-
getIntermediatePathSource
Description copied from interface:SqmPathSource
Returns the intermediateSqmPathSource
for a path source previously acquired viaSqmPathSource.findSubPathSource(String)
.- Specified by:
getIntermediatePathSource
in interfaceSqmPathSource<X>
- Overrides:
getIntermediatePathSource
in classAbstractPluralAttribute<X,
Map<K, V>, V>
-
getKeyType
- Specified by:
getKeyType
in interfaceMapAttribute<X,
K, V> - Specified by:
getKeyType
in interfaceMapPersistentAttribute<X,
K, V>
-
getKeyGraphType
- Specified by:
getKeyGraphType
in interfacePersistentAttribute<X,
K> - Specified by:
getKeyGraphType
in interfacePluralPersistentAttribute<X,
K, V> - Overrides:
getKeyGraphType
in 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:
createSqmJoin
in interfaceSqmJoinable<X,
K>
-