Class MappedSuperclassSqmPathSource<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<J>
-
- org.hibernate.metamodel.model.domain.internal.MappedSuperclassSqmPathSource<J>
-
- All Implemented Interfaces:
Bindable<J>
,BindableType<J>
,SqmExpressible<J>
,SqmJoinable<Object,J>
,SqmPathSource<J>
,SqmExpressibleAccessor<J>
public class MappedSuperclassSqmPathSource<J> extends AbstractSqmPathSource<J> implements SqmJoinable<Object,J>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Field Summary
-
Fields inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
pathModel
-
-
Constructor Summary
Constructors Constructor Description MappedSuperclassSqmPathSource(String localPathName, SqmPathSource<J> pathModel, MappedSuperclassDomainType<J> domainType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmPluralPartJoin<Object,J>
createSqmJoin(SqmFrom<?,Object> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)
SqmPath<J>
createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Create an SQM path for this source relative to the given left-hand sideSqmPathSource<?>
findSubPathSource(String name)
Find a SqmPathSource by name relative to this source.String
getName()
MappedSuperclassDomainType<J>
getSqmPathType()
The type of SqmPaths this source creates.boolean
isGeneric()
Indicates if this path source is generically typed-
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
getBindableJavaType, getBindableType, getExpressibleJavaType, getPathName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
getExpressible, getIntermediatePathSource, getSubPathSource
-
-
-
-
Constructor Detail
-
MappedSuperclassSqmPathSource
public MappedSuperclassSqmPathSource(String localPathName, SqmPathSource<J> pathModel, MappedSuperclassDomainType<J> domainType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
-
Method Detail
-
getSqmPathType
public MappedSuperclassDomainType<J> getSqmPathType()
Description copied from interface:SqmPathSource
The type of SqmPaths this source creates. Corollary to JPA'sBindable.getBindableJavaType()
- Specified by:
getSqmPathType
in interfaceSqmPathSource<J>
- Overrides:
getSqmPathType
in classAbstractSqmPathSource<J>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSource
Find a SqmPathSource by name relative to this source. returns null if the subPathSource is not found- Specified by:
findSubPathSource
in interfaceSqmPathSource<J>
-
isGeneric
public boolean isGeneric()
Description copied from interface:SqmPathSource
Indicates if this path source is generically typed- Specified by:
isGeneric
in interfaceSqmPathSource<J>
-
createSqmPath
public SqmPath<J> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Description copied from interface:SqmPathSource
Create an SQM path for this source relative to the given left-hand side- Specified by:
createSqmPath
in interfaceSqmPathSource<J>
-
createSqmJoin
public SqmPluralPartJoin<Object,J> createSqmJoin(SqmFrom<?,Object> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)
- Specified by:
createSqmJoin
in interfaceSqmJoinable<Object,J>
-
getName
public String getName()
- Specified by:
getName
in interfaceSqmJoinable<Object,J>
-
-