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

public Class EntityDiscriminatorSqmPath<T>

extends AbstractSqmPath<T>
implements DiscriminatorSqmPath<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.model.domain.DiscriminatorSqmPath, org.hibernate.query.sqm.tree.domain.SqmPath, org.hibernate.query.criteria.JpaPath, jakarta.persistence.criteria.Path, jakarta.persistence.criteria.Expression, jakarta.persistence.criteria.Selection, jakarta.persistence.TupleElement, org.hibernate.query.criteria.JpaExpression, org.hibernate.query.criteria.JpaSelection, org.hibernate.query.criteria.JpaTupleElement, org.hibernate.query.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.hql.spi.SemanticPathPart, org.hibernate.query.sqm.tree.expression.SqmExpression, org.hibernate.query.sqm.tree.select.SqmSelectableNode, org.hibernate.query.sqm.tree.SqmTypedNode, org.hibernate.query.sqm.tree.SqmVisitableNode, org.hibernate.query.sqm.tree.SqmNode, org.hibernate.query.sqm.tree.SqmExpressibleAccessor
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
org.hibernate.metamodel.mapping.EntityMappingType, org.hibernate.metamodel.model.domain.DiscriminatorSqmPath, .EntityDomainType, org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, .SqmPathSource, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.domain.AbstractSqmPath, .SqmPath, org.hibernate.query.sqm.tree.expression.SqmLiteralEntityType, org.hibernate.spi.NavigablePath

SqmPath specialization for an entity discriminator
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final EntityMappingType
private final EntityDomainType<J>

Constructor Summary

AccessConstructor and Description
protected
EntityDiscriminatorSqmPath(NavigablePath navigablePath, SqmPathSource<J> referencedPathSource, SqmPath<?> lhs, EntityDomainType<J> entityDomainType, EntityMappingType entityDescriptor, NodeBuilder nodeBuilder)

Method Summary

Modifier and TypeMethod and Description
public <X> X
accept(SemanticQueryWalker<X> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation
public EntityDiscriminatorSqmPath<T>
public EntityMappingType
public EntityDomainType<J>
public DiscriminatorSqmPathSource<D>
Inherited from org.hibernate.query.sqm.tree.domain.AbstractSqmPath:
copyTogetgetgetgetgetExplicitAliasgetLhsgetModelgetNavigablePathgetNavigablePathCopygetNodeTypegetReferencedPathSourcegetResolvedModelgetReusablePathgetReusablePathsgetTreatedPathregisterReusablePathresolvePathresolvePathsetExplicitAliastoStringtypevisitReusablePaths

Field Detail

entityDescriptorback to summary
private final EntityMappingType entityDescriptor
entityDomainTypeback to summary
private final EntityDomainType<J> entityDomainType

Constructor Detail

EntityDiscriminatorSqmPathback to summary
protected EntityDiscriminatorSqmPath(NavigablePath navigablePath, SqmPathSource<J> referencedPathSource, SqmPath<?> lhs, EntityDomainType<J> entityDomainType, EntityMappingType entityDescriptor, NodeBuilder nodeBuilder)

Method Detail

acceptback to summary
public <X> X accept(SemanticQueryWalker<X> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Doc from org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation

Annotations
@Override
copyback to summary
public EntityDiscriminatorSqmPath<T> copy(SqmCopyContext context)

Implements org.hibernate.query.sqm.tree.domain.SqmPath.copy, org.hibernate.query.sqm.tree.expression.SqmExpression.copy, org.hibernate.query.sqm.tree.select.SqmSelectableNode.copy, org.hibernate.query.sqm.tree.SqmNode.copy.

Annotations
@Override
getEntityDescriptorback to summary
public EntityMappingType getEntityDescriptor()
getEntityDomainTypeback to summary
public EntityDomainType<J> getEntityDomainType()
getExpressibleback to summary
public DiscriminatorSqmPathSource<D> getExpressible()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmPath.getExpressible.

Overrides default org.hibernate.query.sqm.tree.SqmTypedNode.getExpressible.

Annotations
@Override