Top Description Fields Constructors Methods
org.hibernate.metamodel.model.domain.internal

public Class AnyDiscriminatorSqmPathSource<D>

extends AbstractSqmPathSource<D>
implements ReturnableType<D>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.ReturnableType, org.hibernate.metamodel.model.domain.SimpleDomainType, jakarta.persistence.metamodel.Type, org.hibernate.metamodel.model.domain.DomainType, org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.BindableType
Imports
org.hibernate.metamodel.model.domain.DomainType, .SimpleDomainType, org.hibernate.query.ReturnableType, org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.domain.SqmPath, org.hibernate.spi.NavigablePath, org.hibernate.type.BasicType, org.hibernate.type.descriptor.java.JavaType

SqmPathSource implementation for org.hibernate.annotations.AnyDiscriminator

Field Summary

Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
pathModel

Constructor Summary

AccessConstructor and Description
public
AnyDiscriminatorSqmPathSource(String localPathName, SqmPathSource<D> pathModel, SimpleDomainType<D> domainType, Bindable.BindableType jpaBindableType)

Method Summary

Modifier and TypeMethod and Description
public SqmPath<D>
createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)

Implements org.hibernate.query.sqm.SqmPathSource.createSqmPath.

Create an SQM path for this source relative to the given left hand side
public SqmPathSource<?>
findSubPathSource(String name)

Implements org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Find a SqmPathSource by name relative to this source.
public JavaType<D>
public Class<D>
getJavaType()

Implements jakarta.persistence.metamodel.Type.getJavaType.

Return the represented Java type.
public Type.PersistenceType
public BasicType<D>
public DomainType<D>
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource:
getBindableJavaTypegetBindableTypegetPathName

Constructor Detail

AnyDiscriminatorSqmPathSourceback to summary
public AnyDiscriminatorSqmPathSource(String localPathName, SqmPathSource<D> pathModel, SimpleDomainType<D> domainType, Bindable.BindableType jpaBindableType)

Method Detail

createSqmPathback to summary
public SqmPath<D> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)

Implements org.hibernate.query.sqm.SqmPathSource.createSqmPath.

Doc from org.hibernate.query.sqm.SqmPathSource.createSqmPath.

Create an SQM path for this source relative to the given left hand side

Annotations
@Override
findSubPathSourceback to summary
public SqmPathSource<?> findSubPathSource(String name)

Implements org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Doc from org.hibernate.query.sqm.SqmPathSource.findSubPathSource.

Find a SqmPathSource by name relative to this source.

Returns:SqmPathSource<?>

null if the subPathSource is not found

Annotations
@Override
getExpressibleJavaTypeback to summary
public JavaType<D> getExpressibleJavaType()

Overrides org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource.getExpressibleJavaType.

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

Doc from org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible

Annotations
@Override
getJavaTypeback to summary
public Class<D> getJavaType()

Implements jakarta.persistence.metamodel.Type.getJavaType.

Doc from jakarta.persistence.metamodel.Type.getJavaType.

Return the represented Java type.

Returns:Class<D>

Java type

Annotations
@Override
getPersistenceTypeback to summary
public Type.PersistenceType getPersistenceType()

Implements jakarta.persistence.metamodel.Type.getPersistenceType.

Doc from jakarta.persistence.metamodel.Type.getPersistenceType.

Return the persistence type.

Returns:Type.PersistenceType

persistence type

Annotations
@Override
getSqmPathTypeback to summary
public BasicType<D> getSqmPathType()

Overrides org.hibernate.metamodel.model.domain.internal.AbstractSqmPathSource.getSqmPathType.

Implements org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

Doc from org.hibernate.query.sqm.SqmPathSource.getSqmPathType.

The type of path this source creates.

Annotations
@Override
getSqmTypeback to summary
public DomainType<D> getSqmType()

Overrides default org.hibernate.metamodel.model.domain.DomainType.getSqmType, org.hibernate.query.sqm.SqmPathSource.getSqmType.

Annotations
@Override