Package org.hibernate.query.derived
Class AnonymousTupleSqmPathSource<J>
- java.lang.Object
-
- org.hibernate.query.derived.AnonymousTupleSqmPathSource<J>
-
- All Implemented Interfaces:
Bindable<J>,BindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmExpressibleAccessor<J>
- Direct Known Subclasses:
AnonymousTupleSqmAssociationPathSource
@Incubating public class AnonymousTupleSqmPathSource<J> extends Object implements SqmPathSource<J>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Constructor Summary
Constructors Constructor Description AnonymousTupleSqmPathSource(String localPathName, SqmPath<J> path)
-
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 typeBindable.BindableTypegetBindableType()JavaType<J>getExpressibleJavaType()The Java type descriptor for this expressibleStringgetPathName()The name of this thing.DomainType<J>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
getExpressible, getIntermediatePathSource, getSqmType, getSubPathSource, isGeneric
-
-
-
-
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<J> 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>
-
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>
-
-