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

public Class SqmCrossJoin<T>

extends AbstractSqmFrom<T, T>
implements JpaCrossJoin<T>, SqmJoin<T, T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.from.SqmJoin, org.hibernate.query.sqm.tree.from.SqmFrom, org.hibernate.query.criteria.JpaFrom, jakarta.persistence.criteria.From, jakarta.persistence.criteria.FetchParent, jakarta.persistence.criteria.Path, jakarta.persistence.criteria.Expression, jakarta.persistence.criteria.Selection, jakarta.persistence.TupleElement, org.hibernate.query.criteria.JpaFetchParent, org.hibernate.query.criteria.JpaPath, 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.sqm.tree.domain.SqmPath, 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, org.hibernate.query.criteria.JpaCrossJoin
Known Direct Subclasses
org.hibernate.query.sqm.tree.domain.SqmCorrelatedCrossJoin, org.hibernate.query.sqm.tree.domain.SqmTreatedCrossJoin
Imports
org.hibernate.metamodel.model.domain.EntityDomainType, org.hibernate.query.criteria.JpaCrossJoin, org.hibernate.spi.NavigablePath, org.hibernate.query.PathException, org.hibernate.query.hql.spi.SqmCreationProcessingState, .SqmPathRegistry, org.hibernate.query.sqm.SemanticQueryWalker, org.hibernate.query.sqm.tree.SqmCopyContext, .SqmJoinType, org.hibernate.query.sqm.tree.domain.AbstractSqmFrom, .SqmCorrelatedCrossJoin, .SqmPath, .SqmTreatedCrossJoin

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SqmRoot<?>

Constructor Summary

AccessConstructor and Description
public
SqmCrossJoin(EntityDomainType<T> joinedEntityDescriptor, String alias, SqmRoot<?> sqmRoot)

protected
SqmCrossJoin(NavigablePath navigablePath, EntityDomainType<T> joinedEntityDescriptor, String alias, SqmRoot<?> sqmRoot)

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 SqmCrossJoin<T>
public SqmCorrelatedCrossJoin<T>
public SqmRoot<?>
public String
public SqmPath<?>
public EntityDomainType<T>
getReferencedPathSource()

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

Implements org.hibernate.query.sqm.tree.from.SqmFrom.getReferencedPathSource, org.hibernate.query.sqm.tree.domain.SqmPath.getReferencedPathSource.

The Navigable for an SqmFrom will always be a NavigableContainer The path source that this path refers to (and that most likely created it).
public SqmRoot<?>
public SqmJoinType
getSqmJoinType()

Implements org.hibernate.query.sqm.tree.from.SqmJoin.getSqmJoinType.

The type of join - inner, cross, etc
public boolean
isImplicitlySelectable()

Implements org.hibernate.query.sqm.tree.from.SqmJoin.isImplicitlySelectable.

When applicable, whether this join should be included in an implicit select clause
public SqmCrossJoin<T>
makeCopy(SqmCreationProcessingState creationProcessingState)

public <S extends T> SqmTreatedCrossJoin<T, S>
public <S extends T> SqmTreatedCrossJoin<T, S>
public <S extends T> SqmFrom<?, S>
public <S extends T> SqmFrom<?, S>
Inherited from org.hibernate.query.sqm.tree.domain.AbstractSqmFrom:
addSqmJoinaddTreataliasappendHqlStringcopyTocrossJoincrossJoinfetchfetchfetchfetchfetchfetchfindTreatgetCorrelationParentgetExplicitAliasgetFetchesgetJoinsgetParentPathgetSqmJoinsgetSqmTreatshasJoinshasTreatsisCorrelatedjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinCollectionjoinCollectionjoinLateraljoinLateraljoinListjoinListjoinMapjoinMapjoinSetjoinSetresolvePathPartsetExplicitAliasvisitSqmJoins

Field Detail

sqmRootback to summary
private final SqmRoot<?> sqmRoot

Constructor Detail

SqmCrossJoinback to summary
public SqmCrossJoin(EntityDomainType<T> joinedEntityDescriptor, String alias, SqmRoot<?> sqmRoot)
SqmCrossJoinback to summary
protected SqmCrossJoin(NavigablePath navigablePath, EntityDomainType<T> joinedEntityDescriptor, String alias, SqmRoot<?> sqmRoot)

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 SqmCrossJoin<T> copy(SqmCopyContext context)

Implements org.hibernate.query.sqm.tree.from.SqmJoin.copy, org.hibernate.query.sqm.tree.from.SqmFrom.copy, 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
createCorrelationback to summary
public SqmCorrelatedCrossJoin<T> createCorrelation()

Implements abstract org.hibernate.query.sqm.tree.domain.AbstractSqmFrom.createCorrelation.

Annotations
@Override
findRootback to summary
public SqmRoot<?> findRoot()

Overrides default org.hibernate.query.sqm.tree.domain.SqmPath.findRoot.

Annotations
@Override
getEntityNameback to summary
public String getEntityName()
getLhsback to summary
public SqmPath<?> getLhs()

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

Implements org.hibernate.query.criteria.JpaPath.getLhs, org.hibernate.query.sqm.tree.domain.SqmPath.getLhs.

Doc from org.hibernate.query.criteria.JpaPath.getLhs.

The source (think "left hand side") of this path

Annotations
@Override
getReferencedPathSourceback to summary
public EntityDomainType<T> getReferencedPathSource()

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

Implements org.hibernate.query.sqm.tree.from.SqmFrom.getReferencedPathSource, org.hibernate.query.sqm.tree.domain.SqmPath.getReferencedPathSource.

Doc from org.hibernate.query.sqm.tree.from.SqmFrom.getReferencedPathSource.

The Navigable for an SqmFrom will always be a NavigableContainer The path source that this path refers to (and that most likely created it).

Annotations
@Override
getRootback to summary
public SqmRoot<?> getRoot()
getSqmJoinTypeback to summary
public SqmJoinType getSqmJoinType()

Implements org.hibernate.query.sqm.tree.from.SqmJoin.getSqmJoinType.

Doc from org.hibernate.query.sqm.tree.from.SqmJoin.getSqmJoinType.

The type of join - inner, cross, etc

Annotations
@Override
isImplicitlySelectableback to summary
public boolean isImplicitlySelectable()

Implements org.hibernate.query.sqm.tree.from.SqmJoin.isImplicitlySelectable.

Doc from org.hibernate.query.sqm.tree.from.SqmJoin.isImplicitlySelectable.

When applicable, whether this join should be included in an implicit select clause

Annotations
@Override
makeCopyback to summary
public SqmCrossJoin<T> makeCopy(SqmCreationProcessingState creationProcessingState)
treatAsback to summary
public <S extends T> SqmTreatedCrossJoin<T, S> treatAs(Class<S> treatJavaType) throws PathException

Implements org.hibernate.query.criteria.JpaPath.treatAs, org.hibernate.query.sqm.tree.from.SqmFrom.treatAs, org.hibernate.query.sqm.tree.domain.SqmPath.treatAs.

Doc from org.hibernate.query.criteria.JpaPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.

Annotations
@Override
treatAsback to summary
public <S extends T> SqmTreatedCrossJoin<T, S> treatAs(EntityDomainType<S> treatTarget) throws PathException

Implements org.hibernate.query.criteria.JpaPath.treatAs, org.hibernate.query.sqm.tree.from.SqmFrom.treatAs, org.hibernate.query.sqm.tree.domain.SqmPath.treatAs.

Doc from org.hibernate.query.criteria.JpaPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.

Annotations
@Override
treatAsback to summary
public <S extends T> SqmFrom<?, S> treatAs(Class<S> treatJavaType, String alias)

Implements org.hibernate.query.sqm.tree.from.SqmFrom.treatAs.

Annotations
@Override
treatAsback to summary
public <S extends T> SqmFrom<?, S> treatAs(EntityDomainType<S> treatTarget, String alias)

Implements org.hibernate.query.sqm.tree.from.SqmFrom.treatAs.

Annotations
@Override