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

public Class SqmCorrelatedBagJoin<O, T>

extends SqmBagJoin<O, T>
implements SqmCorrelation<O, T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.domain.SqmCorrelation, org.hibernate.query.sqm.tree.domain.SqmPathWrapper, 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, org.hibernate.query.sqm.tree.from.SqmFrom, org.hibernate.query.criteria.JpaFrom, jakarta.persistence.criteria.From, jakarta.persistence.criteria.FetchParent, org.hibernate.query.criteria.JpaFetchParent
Imports
org.hibernate.metamodel.model.domain.BagPersistentAttribute, org.hibernate.query.hql.spi.SqmCreationProcessingState, .SqmPathRegistry, org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, org.hibernate.query.sqm.tree.SqmCopyContext, .SqmJoinType, org.hibernate.query.sqm.tree.from.SqmFrom, .SqmRoot

Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final SqmCorrelatedRootJoin<O>
private final SqmBagJoin<O, T>

Constructor Summary

AccessConstructor and Description
public
SqmCorrelatedBagJoin(SqmBagJoin<O, T> correlationParent)

private
SqmCorrelatedBagJoin(SqmFrom<?, O> lhs, BagPersistentAttribute<O, T> attribute, String alias, SqmJoinType sqmJoinType, boolean fetched, NodeBuilder nodeBuilder, SqmCorrelatedRootJoin<O> correlatedRootJoin, SqmBagJoin<O, T> correlationParent)

Method Summary

Modifier and TypeMethod and Description
public <X> X
public SqmCorrelatedBagJoin<O, T>
public SqmRoot<O>
public SqmBagJoin<O, T>
public SqmPath<T>
public boolean
isCorrelated()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmFrom.isCorrelated.

Implements jakarta.persistence.criteria.From.isCorrelated.

Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method).
public SqmCorrelatedBagJoin<O, T>
Inherited from org.hibernate.query.sqm.tree.domain.SqmBagJoin:
createCorrelationgetAttributegetModelonononontreatAstreatAstreatAstreatAstreatAstreatAs

Field Detail

correlatedRootJoinback to summary
private final SqmCorrelatedRootJoin<O> correlatedRootJoin
correlationParentback to summary
private final SqmBagJoin<O, T> correlationParent

Constructor Detail

SqmCorrelatedBagJoinback to summary
public SqmCorrelatedBagJoin(SqmBagJoin<O, T> correlationParent)
SqmCorrelatedBagJoinback to summary
private SqmCorrelatedBagJoin(SqmFrom<?, O> lhs, BagPersistentAttribute<O, T> attribute, String alias, SqmJoinType sqmJoinType, boolean fetched, NodeBuilder nodeBuilder, SqmCorrelatedRootJoin<O> correlatedRootJoin, SqmBagJoin<O, T> correlationParent)

Method Detail

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

Overrides org.hibernate.query.sqm.tree.domain.SqmBagJoin.accept.

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 SqmCorrelatedBagJoin<O, T> copy(SqmCopyContext context)

Overrides org.hibernate.query.sqm.tree.domain.SqmBagJoin.copy.

Implements org.hibernate.query.sqm.tree.from.SqmFrom.copy, org.hibernate.query.sqm.tree.domain.SqmPath.copy, org.hibernate.query.sqm.tree.from.SqmJoin.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
getCorrelatedRootback to summary
public SqmRoot<O> getCorrelatedRoot()

Implements org.hibernate.query.sqm.tree.domain.SqmCorrelation.getCorrelatedRoot.

Annotations
@Override
getCorrelationParentback to summary
public SqmBagJoin<O, T> getCorrelationParent()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmFrom.getCorrelationParent.

Implements org.hibernate.query.sqm.tree.from.SqmFrom.getCorrelationParent, org.hibernate.query.criteria.JpaFrom.getCorrelationParent, jakarta.persistence.criteria.From.getCorrelationParent.

Doc from jakarta.persistence.criteria.From.getCorrelationParent.

Returns the parent From object from which the correlated From object has been obtained through correlation (use of a Subquery correlate method).

Returns:SqmBagJoin<O, T>

the parent of the correlated From object

Annotations
@Override
getWrappedPathback to summary
public SqmPath<T> getWrappedPath()

Implements org.hibernate.query.sqm.tree.domain.SqmPathWrapper.getWrappedPath.

Doc from org.hibernate.query.sqm.tree.domain.SqmPathWrapper.getWrappedPath.

Access the wrapped SqmPath.

Annotations
@Override
isCorrelatedback to summary
public boolean isCorrelated()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmFrom.isCorrelated.

Implements jakarta.persistence.criteria.From.isCorrelated.

Doc from jakarta.persistence.criteria.From.isCorrelated.

Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method).

Returns:boolean

boolean indicating whether the object has been obtained through correlation

Annotations
@Override
makeCopyback to summary
public SqmCorrelatedBagJoin<O, T> makeCopy(SqmCreationProcessingState creationProcessingState)

Overrides org.hibernate.query.sqm.tree.domain.SqmBagJoin.makeCopy.

Implements org.hibernate.query.sqm.tree.from.SqmAttributeJoin.makeCopy.

Annotations
@Override