Class DiscriminatorSqmPathSource<D>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<D>
-
- org.hibernate.metamodel.model.domain.internal.DiscriminatorSqmPathSource<D>
-
- All Implemented Interfaces:
Bindable<D>
,Type<D>
,DomainType<D>
,SimpleDomainType<D>
,BindableType<D>
,ReturnableType<D>
,SqmExpressible<D>
,SqmPathSource<D>
,SqmExpressibleAccessor<D>
public class DiscriminatorSqmPathSource<D> extends AbstractSqmPathSource<D> implements ReturnableType<D>
SqmPathSource implementation for entity discriminator
-
-
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 DiscriminatorSqmPathSource(DomainType<D> discriminatorValueType, EntityDomainType<?> entityDomainType, EntityMappingType entityMapping)
-
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 aSqmPathSource
by name relative to this source.EntityDomainType<?>
getEntityDomainType()
EntityMappingType
getEntityMapping()
Class<D>
getJavaType()
Type.PersistenceType
getPersistenceType()
DomainType<D>
getSqmType()
-
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
getBindableJavaType, getBindableType, getExpressibleJavaType, getPathName, getSqmPathType
-
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
getTupleLength
-
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
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, getSubPathSource, getSubPathSource, isGeneric
-
-
-
-
Constructor Detail
-
DiscriminatorSqmPathSource
public DiscriminatorSqmPathSource(DomainType<D> discriminatorValueType, EntityDomainType<?> entityDomainType, EntityMappingType entityMapping)
-
-
Method Detail
-
getEntityDomainType
public EntityDomainType<?> getEntityDomainType()
-
getEntityMapping
public EntityMappingType getEntityMapping()
-
createSqmPath
public SqmPath<D> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Description copied from interface:SqmPathSource
Create an SQM path for this source relative to the given left hand side- Specified by:
createSqmPath
in interfaceSqmPathSource<D>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<D>
- Returns:
- null if the subPathSource is not found
-
getPersistenceType
public Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceType
in interfaceType<D>
-
getJavaType
public Class<D> getJavaType()
- Specified by:
getJavaType
in interfaceType<D>
-
getSqmType
public DomainType<D> getSqmType()
- Specified by:
getSqmType
in interfaceDomainType<D>
- Specified by:
getSqmType
in interfaceSqmExpressible<D>
- Specified by:
getSqmType
in interfaceSqmPathSource<D>
-
-