Class AnyDiscriminatorSqmPathSource<D>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<D>
-
- org.hibernate.metamodel.model.domain.internal.AnyDiscriminatorSqmPathSource<D>
-
- All Implemented Interfaces:
Bindable<D>,Type<D>,DomainType<D>,SimpleDomainType<D>,BindableType<D>,ReturnableType<D>,SqmExpressible<D>,SqmPathSource<D>,SqmExpressibleAccessor<D>
public class AnyDiscriminatorSqmPathSource<D> extends AbstractSqmPathSource<D> implements ReturnableType<D>
SqmPathSource implementation forAnyDiscriminator
-
-
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
Constructors Constructor Description AnyDiscriminatorSqmPathSource(String localPathName, SqmPathSource<D> pathModel, SimpleDomainType<D> domainType, Bindable.BindableType jpaBindableType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmPath<D>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.JavaType<D>getExpressibleJavaType()The Java type descriptor for this expressibleClass<D>getJavaType()Type.PersistenceTypegetPersistenceType()BasicType<D>getSqmPathType()The type of SqmPaths this source creates.DomainType<D>getSqmType()-
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
getBindableJavaType, getBindableType, getPathName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTypeName
-
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaType
-
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, getSubPathSource, isGeneric
-
-
-
-
Constructor Detail
-
AnyDiscriminatorSqmPathSource
public AnyDiscriminatorSqmPathSource(String localPathName, SqmPathSource<D> pathModel, SimpleDomainType<D> domainType, Bindable.BindableType jpaBindableType)
-
-
Method Detail
-
createSqmPath
public SqmPath<D> 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<D>
-
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<D>
-
getPersistenceType
public Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceTypein interfaceType<D>
-
getJavaType
public Class<D> getJavaType()
- Specified by:
getJavaTypein interfaceType<D>
-
getSqmPathType
public BasicType<D> getSqmPathType()
Description copied from interface:SqmPathSourceThe type of SqmPaths this source creates. Corollary to JPA'sBindable.getBindableJavaType()- Specified by:
getSqmPathTypein interfaceSqmPathSource<D>- Overrides:
getSqmPathTypein classAbstractSqmPathSource<D>
-
getSqmType
public DomainType<D> getSqmType()
- Specified by:
getSqmTypein interfaceDomainType<D>- Specified by:
getSqmTypein interfaceSqmExpressible<D>- Specified by:
getSqmTypein interfaceSqmPathSource<D>
-
getExpressibleJavaType
public JavaType<D> getExpressibleJavaType()
Description copied from interface:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceDomainType<D>- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<D>- Overrides:
getExpressibleJavaTypein classAbstractSqmPathSource<D>- See Also:
DomainType.getTypeName()
-
-