Package org.hibernate.query.derived
Class AnonymousTupleSimpleSqmPathSource<J>
- java.lang.Object
-
- org.hibernate.query.derived.AnonymousTupleSimpleSqmPathSource<J>
-
- All Implemented Interfaces:
jakarta.persistence.metamodel.Bindable<J>,BindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmExpressibleAccessor<J>
public class AnonymousTupleSimpleSqmPathSource<J> extends Object implements SqmPathSource<J>
-
-
Constructor Summary
Constructors Constructor Description AnonymousTupleSimpleSqmPathSource(String localPathName, DomainType<J> domainType, jakarta.persistence.metamodel.Bindable.BindableType jpaBindableType)
-
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 a SqmPathSource by name relative to this source.Class<J>getBindableJavaType()The expected Java typejakarta.persistence.metamodel.Bindable.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
isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
getExpressible, getIntermediatePathSource, getSubPathSource
-
-
-
-
Constructor Detail
-
AnonymousTupleSimpleSqmPathSource
public AnonymousTupleSimpleSqmPathSource(String localPathName, DomainType<J> domainType, jakarta.persistence.metamodel.Bindable.BindableType jpaBindableType)
-
-
Method Detail
-
getBindableJavaType
public Class<J> getBindableJavaType()
Description copied from interface:BindableTypeThe expected Java type- Specified by:
getBindableJavaTypein interfacejakarta.persistence.metamodel.Bindable<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 jakarta.persistence.metamodel.Bindable.BindableType getBindableType()
- Specified by:
getBindableTypein interfacejakarta.persistence.metamodel.Bindable<J>
-
getExpressibleJavaType
public JavaType<J> getExpressibleJavaType()
Description copied from interface:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<J>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSourceFind a SqmPathSource by name relative to this source. returns null if the subPathSource is not found- Specified by:
findSubPathSourcein interfaceSqmPathSource<J>
-
createSqmPath
public SqmPath<J> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left-hand side- Specified by:
createSqmPathin interfaceSqmPathSource<J>
-
-