Class EmbeddedSqmPathSource<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<J>
-
- org.hibernate.metamodel.model.domain.internal.EmbeddedSqmPathSource<J>
-
- All Implemented Interfaces:
Bindable<J>,CompositeSqmPathSource<J>,BindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmExpressibleAccessor<J>
public class EmbeddedSqmPathSource<J> extends AbstractSqmPathSource<J> implements CompositeSqmPathSource<J>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Field Summary
-
Fields inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
pathModel
-
-
Constructor Summary
Constructors Constructor Description EmbeddedSqmPathSource(String localPathName, SqmPathSource<J> pathModel, EmbeddableDomainType<J> domainType, 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 aSqmPathSourceby name relative to this source.EmbeddableDomainType<J>getSqmPathType()The type of path this source creates.booleanisGeneric()Indicates if this path source is generically typed-
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, toString, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, 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, getPathName, getSqmType, getSubPathSource, getSubPathSource
-
-
-
-
Constructor Detail
-
EmbeddedSqmPathSource
public EmbeddedSqmPathSource(String localPathName, SqmPathSource<J> pathModel, EmbeddableDomainType<J> domainType, Bindable.BindableType jpaBindableType, boolean isGeneric)
-
-
Method Detail
-
getSqmPathType
public EmbeddableDomainType<J> getSqmPathType()
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getSqmPathTypein interfaceSqmPathSource<J>- Overrides:
getSqmPathTypein classAbstractSqmPathSource<J>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfaceSqmPathSource<J>- Returns:
- null if the subPathSource is not found
-
isGeneric
public boolean isGeneric()
Description copied from interface:SqmPathSourceIndicates if this path source is generically typed- Specified by:
isGenericin 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>
-
-