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>
,PathSource<J>
,ReturnableType<J>
,SimpleDomainType<J>
,SqmExpressible<J>
,SqmPathSource<J>
,SqmExpressibleAccessor<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
ConstructorsConstructorDescriptionBasicSqmPathSource
(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmPath
(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource) Create an SQM path for this source relative to the given left hand sidefindSubPathSource
(String name) Find aSqmPathSource
by name relative to this source.The Java class which represents by this domain type.JavaType<?>
Usually the same asSqmExpressible.getExpressibleJavaType()
.The name of the type.boolean
Indicates if this path source is generically typedtoString()
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
getBindableJavaType, getBindableType, getExpressibleJavaType, getPathName, getPathType
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
getExpressibleJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSqmType, getSubPathSource, getSubPathSource
-
Constructor Details
-
BasicSqmPathSource
public BasicSqmPathSource(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
-
Method Details
-
getTypeName
Description copied from interface:DomainType
The name of the type. Usually, but not always, the name of a Java class.- Specified by:
getTypeName
in interfaceDomainType<J>
- Specified by:
getTypeName
in interfaceSqmExpressible<J>
- See Also:
-
findSubPathSource
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfacePathSource<J>
- Specified by:
findSubPathSource
in interfaceSqmPathSource<J>
- Parameters:
name
- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
createSqmPath
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
- Specified by:
getPersistenceType
in interfaceType<J>
-
getJavaType
Description copied from interface:DomainType
The Java class which represents by this domain type.- Specified by:
getJavaType
in interfaceDomainType<J>
- Specified by:
getJavaType
in interfaceSimpleDomainType<J>
- Specified by:
getJavaType
in interfaceType<J>
- See Also:
-
getRelationalJavaType
Description copied from interface:SqmExpressible
Usually the same asSqmExpressible.getExpressibleJavaType()
. But for types with value conversion, the Java type of the converted value.- 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>
-
toString
-