Top Fields Constructors Methods
org.hibernate.query.sqm.tree.expression

public Class SqmAnyDiscriminatorValue<T>

extends AbstractSqmExpression<T>
implements SqmSelectableNode<T>, SemanticPathPart
Class Inheritance
All Implemented Interfaces
org.hibernate.query.hql.spi.SemanticPathPart, 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.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.sqm.tree.SqmExpressibleAccessor, org.hibernate.query.criteria.JpaSelection, jakarta.persistence.criteria.Selection, jakarta.persistence.TupleElement, org.hibernate.query.criteria.JpaTupleElement
Imports
org.hibernate.metamodel.model.domain.EntityDomainType, org.hibernate.query.hql.HqlInterpretationException, org.hibernate.query.hql.spi.SemanticPathPart, .SqmCreationState, org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.domain.SqmPath, org.hibernate.query.sqm.tree.select.SqmSelectableNode, org.hibernate.type.BasicType

Field Summary

Modifier and TypeField and Description
private final BasicType<T>
private final String
private final EntityDomainType<J>

Constructor Summary

AccessConstructor and Description
public
SqmAnyDiscriminatorValue(String pathName, EntityDomainType<J> entityValue, BasicType<T> domainType, 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 void
public String
public SqmAnyDiscriminatorValue<T>
public BasicType<T>
public EntityDomainType<J>
public String
public SqmPath<?>
public SemanticPathPart
Inherited from org.hibernate.query.sqm.tree.expression.AbstractSqmExpression:
aliasapplyInferableTypeasasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringequalToequalTogetJavaTypeDescriptorinininininternalApplyInferableTypeisNotNullisNullnodeBuilder

Field Detail

domainTypeback to summary
private final BasicType<T> domainType
pathNameback to summary
private final String pathName
valueback to summary
private final EntityDomainType<J> value

Constructor Detail

SqmAnyDiscriminatorValueback to summary
public SqmAnyDiscriminatorValue(String pathName, EntityDomainType<J> entityValue, BasicType<T> domainType, 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
appendHqlStringback to summary
public void appendHqlString(StringBuilder sb)

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

Annotations
@Override
asLoggableTextback to summary
public String asLoggableText()

Overrides default org.hibernate.query.sqm.tree.SqmNode.asLoggableText.

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

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

Annotations
@Override
getDomainTypeback to summary
public BasicType<T> getDomainType()
getEntityValueback to summary
public EntityDomainType<J> getEntityValue()
getPathNameback to summary
public String getPathName()
resolveIndexedAccessback to summary
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)

Implements org.hibernate.query.hql.spi.SemanticPathPart.resolveIndexedAccess.

Annotations
@Override
resolvePathPartback to summary
public SemanticPathPart resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)

Implements org.hibernate.query.hql.spi.SemanticPathPart.resolvePathPart.

Annotations
@Override