Class AbstractDiscriminatorSqmPathSource<D>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource<D>
-
- org.hibernate.metamodel.model.domain.internal.AbstractDiscriminatorSqmPathSource<D>
-
- All Implemented Interfaces:
Bindable<D>
,Type<D>
,DomainType<D>
,SimpleDomainType<D>
,BindableType<D>
,ReturnableType<D>
,SqmExpressible<D>
,SqmPathSource<D>
,SqmExpressibleAccessor<D>
- Direct Known Subclasses:
EmbeddedDiscriminatorSqmPathSource
,EntityDiscriminatorSqmPathSource
public abstract class AbstractDiscriminatorSqmPathSource<D> extends AbstractSqmPathSource<D> implements ReturnableType<D>
Abstract SqmPathSource implementation for discriminators
-
-
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 AbstractDiscriminatorSqmPathSource(DomainType<D> domainType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmPathSource<?>
findSubPathSource(String name)
Find aSqmPathSource
by name relative to this source.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
createSqmPath, findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGeneric
-
-
-
-
Constructor Detail
-
AbstractDiscriminatorSqmPathSource
public AbstractDiscriminatorSqmPathSource(DomainType<D> domainType)
-
-
Method Detail
-
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>
-
-