Class AbstractSqmPathSource<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<J>
-
- All Implemented Interfaces:
Bindable<J>,BindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmExpressibleAccessor<J>
- Direct Known Subclasses:
AnyDiscriminatorSqmPathSource,AnyMappingSqmPathSource,BasicSqmPathSource,DiscriminatorSqmPathSource,EmbeddedSqmPathSource,EntitySqmPathSource,MappedSuperclassSqmPathSource,NonAggregatedCompositeSqmPathSource
public abstract class AbstractSqmPathSource<J> extends Object implements SqmPathSource<J>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Field Summary
Fields Modifier and Type Field Description protected SqmPathSource<J>pathModel
-
Constructor Summary
Constructors Constructor Description AbstractSqmPathSource(String localPathName, SqmPathSource<J> pathModel, DomainType<J> domainType, Bindable.BindableType jpaBindableType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<J>getBindableJavaType()The expected Java typeBindable.BindableTypegetBindableType()JavaType<J>getExpressibleJavaType()The Java type descriptor for this expressibleStringgetPathName()The name of this thing.DomainType<?>getSqmPathType()The type of SqmPaths this source creates.-
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.SqmPathSource
createSqmPath, findSubPathSource, getExpressible, getIntermediatePathSource, getSqmType, getSubPathSource, isGeneric
-
-
-
-
Field Detail
-
pathModel
protected final SqmPathSource<J> pathModel
-
-
Constructor Detail
-
AbstractSqmPathSource
public AbstractSqmPathSource(String localPathName, SqmPathSource<J> pathModel, DomainType<J> domainType, Bindable.BindableType jpaBindableType)
-
-
Method Detail
-
getBindableJavaType
public Class<J> getBindableJavaType()
Description copied from interface:BindableTypeThe expected Java type- Specified by:
getBindableJavaTypein interfaceBindable<J>- Specified by:
getBindableJavaTypein interfaceBindableType<J>
-
getPathName
public String getPathName()
Description copied from interface:SqmPathSourceThe name of this thing. Mainly used in logging and when creating aNavigablePath- Specified by:
getPathNamein interfaceSqmPathSource<J>
-
getSqmPathType
public DomainType<?> getSqmPathType()
Description copied from interface:SqmPathSourceThe type of SqmPaths this source creates. Corollary to JPA'sBindable.getBindableJavaType()- Specified by:
getSqmPathTypein interfaceSqmPathSource<J>
-
getBindableType
public Bindable.BindableType getBindableType()
- Specified by:
getBindableTypein interfaceBindable<J>
-
getExpressibleJavaType
public JavaType<J> getExpressibleJavaType()
Description copied from interface:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<J>
-
-