Top Description Fields Constructors Methods
org.hibernate.query.sqm.tree.domain

public Class SqmFkExpression<T>

extends AbstractSqmExpression<T>
Class Inheritance
Imports
org.hibernate.metamodel.model.domain.IdentifiableDomainType, org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, .SqmExpressible, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.expression.AbstractSqmExpression, .SqmExpression

Reference to the key-side (as opposed to the target-side) of the foreign-key of a to-one association.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SqmEntityValuedSimplePath<?>

Constructor Summary

AccessConstructor and Description
public
SqmFkExpression(SqmEntityValuedSimplePath<?> toOnePath, NodeBuilder criteriaBuilder)

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 SqmExpression<T>
public SqmEntityValuedSimplePath<?>
private static IdentifiableDomainType<?>
Inherited from org.hibernate.query.sqm.tree.expression.AbstractSqmExpression:
aliasapplyInferableTypeasasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringequalToequalTogetJavaTypeDescriptorinininininternalApplyInferableTypeisNotNullisNullnodeBuilder

Field Detail

toOnePathback to summary
private final SqmEntityValuedSimplePath<?> toOnePath

Constructor Detail

SqmFkExpressionback to summary
public SqmFkExpression(SqmEntityValuedSimplePath<?> toOnePath, NodeBuilder criteriaBuilder)
Annotations
@SuppressWarnings:unchecked

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
copyback to summary
public SqmExpression<T> copy(SqmCopyContext context)

Implements 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
getToOnePathback to summary
public SqmEntityValuedSimplePath<?> getToOnePath()
pathDomainTypeback to summary
private static IdentifiableDomainType<?> pathDomainType(SqmEntityValuedSimplePath<?> toOnePath)