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>
- Author:
- Steve Ebersole
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested 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 aSqmPathSourceby name relative to this source.Return the represented Java type.Return the persistence type.JavaType<?>The type of path this source creates.booleanIndicates if this path source is generically typedtoString()Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
getBindableJavaType, getBindableType, getExpressibleJavaType, getPathNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTupleLengthMethods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getTypeName, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource
-
Constructor Details
-
BasicSqmPathSource
public BasicSqmPathSource(String localPathName, SqmPathSource<J> pathModel, BasicDomainType<J> domainType, JavaType<?> relationalJavaType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
-
Method Details
-
getSqmPathType
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getSqmPathTypein interfaceSqmPathSource<J>- Overrides:
getSqmPathTypein classAbstractSqmPathSource<J>
-
getSqmType
- Specified by:
getSqmTypein interfaceDomainType<J>- Specified by:
getSqmTypein interfaceSqmExpressible<J>- Specified by:
getSqmTypein interfaceSqmPathSource<J>
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfaceSqmPathSource<J>- Returns:
- null if the subPathSource is not found
-
createSqmPath
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left hand side- Specified by:
createSqmPathin interfaceSqmPathSource<J>
-
getPersistenceType
Description copied from interface:TypeReturn the persistence type.- Specified by:
getPersistenceTypein interfaceType<J>- Returns:
- persistence type
-
getJavaType
Description copied from interface:TypeReturn the represented Java type.- Specified by:
getJavaTypein interfaceType<J>- Returns:
- Java type
-
getRelationalJavaType
- Specified by:
getRelationalJavaTypein interfaceSqmExpressible<J>
-
isGeneric
public boolean isGeneric()Description copied from interface:SqmPathSourceIndicates if this path source is generically typed- Specified by:
isGenericin interfaceSqmPathSource<J>
-
toString
-