Class BasicSqmPathSource<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<J>
-
- org.hibernate.metamodel.model.domain.internal.BasicSqmPathSource<J>
-
- All Implemented Interfaces:
Bindable<J>
,Type<J>
,DomainType<J>
,SimpleDomainType<J>
,BindableType<J>
,ReturnableType<J>
,SqmExpressible<J>
,SqmPathSource<J>
,SqmExpressibleAccessor<J>
public class BasicSqmPathSource<J> extends AbstractSqmPathSource<J> implements ReturnableType<J>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
-
Field Summary
-
Fields inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
pathModel
-
-
Constructor Summary
Constructors Constructor Description BasicSqmPathSource(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 aSqmPathSource
by name relative to this source.Class<J>
getJavaType()
Type.PersistenceType
getPersistenceType()
JavaType<?>
getRelationalJavaType()
BasicDomainType<J>
getSqmPathType()
The type of path this source creates.DomainType<J>
getSqmType()
boolean
isGeneric()
Indicates if this path source is generically typedString
toString()
-
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, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTupleLength
-
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getTypeName, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource
-
-
-
-
Constructor Detail
-
BasicSqmPathSource
public BasicSqmPathSource(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
-
Method Detail
-
getSqmPathType
public BasicDomainType<J> getSqmPathType()
Description copied from interface:SqmPathSource
The type of path this source creates.- Specified by:
getSqmPathType
in interfaceSqmPathSource<J>
- Overrides:
getSqmPathType
in classAbstractSqmPathSource<J>
-
getSqmType
public DomainType<J> getSqmType()
- Specified by:
getSqmType
in interfaceDomainType<J>
- Specified by:
getSqmType
in interfaceSqmExpressible<J>
- Specified by:
getSqmType
in interfaceSqmPathSource<J>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<J>
- Returns:
- null if the subPathSource is not found
-
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>
-
getPersistenceType
public Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceType
in interfaceType<J>
-
getJavaType
public Class<J> getJavaType()
- Specified by:
getJavaType
in interfaceType<J>
-
getRelationalJavaType
public JavaType<?> getRelationalJavaType()
- Specified by:
getRelationalJavaType
in interfaceSqmExpressible<J>
-
isGeneric
public boolean isGeneric()
Description copied from interface:SqmPathSource
Indicates if this path source is generically typed- Specified by:
isGeneric
in interfaceSqmPathSource<J>
-
-