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>,PathSource<D>,ReturnableType<D>,SimpleDomainType<D>,SqmBindableType<D>,SqmExpressible<D>,SqmPathSource<D>,SqmExpressibleAccessor<D>,BindableType<D>
public class AnyDiscriminatorSqmPathSource<D>
extends AbstractSqmPathSource<D>
implements ReturnableType<D>, SqmBindableType<D>
SqmPathSource implementation for AnyDiscriminator-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested 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
ConstructorsConstructorDescriptionAnyDiscriminatorSqmPathSource(String localPathName, SqmPathSource<D> pathModel, SimpleDomainType<D> domainType, Bindable.BindableType jpaBindableType) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource) Create an SQM path for this source relative to the given left hand sidefindSubPathSource(String name) Find aSqmPathSourceby name relative to this source.The Java type descriptor for this expressibleThe Java class which represents by this domain type.The type of path this source creates.The name of the type.Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource
getBindableJavaType, getBindableType, getPathNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGeneric
-
Constructor Details
-
AnyDiscriminatorSqmPathSource
public AnyDiscriminatorSqmPathSource(String localPathName, SqmPathSource<D> pathModel, SimpleDomainType<D> domainType, Bindable.BindableType jpaBindableType)
-
-
Method Details
-
createSqmPath
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left hand side- Specified by:
createSqmPathin interfaceSqmPathSource<D>
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfacePathSource<D>- Specified by:
findSubPathSourcein interfaceSqmPathSource<D>- Parameters:
name- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<D>
-
getJavaType
Description copied from interface:DomainTypeThe Java class which represents by this domain type.- Specified by:
getJavaTypein interfaceDomainType<D>- Specified by:
getJavaTypein interfaceSimpleDomainType<D>- Specified by:
getJavaTypein interfaceType<D>- See Also:
-
getSqmType
- Specified by:
getSqmTypein interfaceSqmExpressible<D>- Specified by:
getSqmTypein interfaceSqmPathSource<D>
-
getPathType
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getPathTypein interfacePathSource<D>- Specified by:
getPathTypein interfaceSqmPathSource<D>- Overrides:
getPathTypein classAbstractSqmPathSource<D>
-
getTypeName
Description copied from interface:DomainTypeThe name of the type. Usually, but not always, the name of a Java class.- Specified by:
getTypeNamein interfaceDomainType<D>- Specified by:
getTypeNamein interfaceSqmExpressible<D>- See Also:
-
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>
-