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 aSqmPathSource
by name relative to this source.JavaType<D>
getExpressibleJavaType()
The Java type descriptor for this expressibleClass<D>
getJavaType()
Type.PersistenceType
getPersistenceType()
BasicType<D>
getSqmPathType()
The type of path 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
getTupleLength
-
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
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
-
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: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>
-
getSqmPathType
public BasicType<D> getSqmPathType()
Description copied from interface:SqmPathSource
The type of path this source creates.- Specified by:
getSqmPathType
in interfaceSqmPathSource<D>
- Overrides:
getSqmPathType
in classAbstractSqmPathSource<D>
-
getSqmType
public DomainType<D> getSqmType()
- Specified by:
getSqmType
in interfaceDomainType<D>
- Specified by:
getSqmType
in interfaceSqmExpressible<D>
- Specified by:
getSqmType
in interfaceSqmPathSource<D>
-
getExpressibleJavaType
public JavaType<D> getExpressibleJavaType()
Description copied from interface:SqmExpressible
The Java type descriptor for this expressible- Specified by:
getExpressibleJavaType
in interfaceSqmExpressible<D>
- Overrides:
getExpressibleJavaType
in classAbstractSqmPathSource<D>
-
-