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 a SqmPathSource by name relative to this source.Class<D>
getJavaType()
Type.PersistenceType
getPersistenceType()
-
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
getExpressibleJavaType, 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
-
DiscriminatorSqmPathSource
public DiscriminatorSqmPathSource(DomainType<D> discriminatorValueType, EntityDomainType<?> entityDomainType, EntityMappingType entityMapping)
-
-
Method Detail
-
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 a SqmPathSource by name relative to this source. returns null if the subPathSource is not found- Specified by:
findSubPathSource
in interfaceSqmPathSource<D>
-
getPersistenceType
public Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceType
in interfaceType<D>
-
getJavaType
public Class<D> getJavaType()
- Specified by:
getJavaType
in interfaceType<D>
-
-