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

public Class SqmTreatedSetJoin<O, T, S extends T>

extends SqmSetJoin<O, S extends T>
implements SqmTreatedPath<T, S extends T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.domain.SqmTreatedPath, 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
Imports
org.hibernate.metamodel.mapping.CollectionPart, org.hibernate.metamodel.model.domain.EntityDomainType, .SetPersistentAttribute, org.hibernate.query.hql.spi.SqmCreationProcessingState, org.hibernate.query.sqm.SqmPathSource, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.from.SqmAttributeJoin, org.hibernate.spi.NavigablePath

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final EntityDomainType<S>
private final SqmSetJoin<O, T>

Constructor Summary

AccessConstructor and Description
public
SqmTreatedSetJoin(SqmSetJoin<O, T> wrappedPath, EntityDomainType<S> treatTarget, String alias)

public
SqmTreatedSetJoin(SqmSetJoin<O, T> wrappedPath, EntityDomainType<S> treatTarget, String alias, boolean fetched)

private
SqmTreatedSetJoin(NavigablePath navigablePath, SqmSetJoin<O, T> wrappedPath, EntityDomainType<S> treatTarget, String alias, boolean fetched)

Method Summary

Modifier and TypeMethod and Description
public void
public SqmTreatedSetJoin<O, T, S>
public SqmPathSource<S>
public EntityDomainType<S>
public SqmPathSource<?>
getResolvedModel()

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

Implements org.hibernate.query.sqm.tree.domain.SqmPath.getResolvedModel.

Get this path's actual resolved model, i.e. the concrete type for generic attributes.
public EntityDomainType<S>
public SqmSetJoin<O, T>
public SqmAttributeJoin<O, S>
Inherited from org.hibernate.query.sqm.tree.domain.SqmSetJoin:
acceptcreateCorrelationfetchgetAttributegetModelonononontreatAstreatAstreatAstreatAstreatAstreatAs

Field Detail

treatTargetback to summary
private final EntityDomainType<S> treatTarget
wrappedPathback to summary
private final SqmSetJoin<O, T> wrappedPath

Constructor Detail

SqmTreatedSetJoinback to summary
public SqmTreatedSetJoin(SqmSetJoin<O, T> wrappedPath, EntityDomainType<S> treatTarget, String alias)
SqmTreatedSetJoinback to summary
public SqmTreatedSetJoin(SqmSetJoin<O, T> wrappedPath, EntityDomainType<S> treatTarget, String alias, boolean fetched)
SqmTreatedSetJoinback to summary
private SqmTreatedSetJoin(NavigablePath navigablePath, SqmSetJoin<O, T> wrappedPath, EntityDomainType<S> treatTarget, String alias, boolean fetched)

Method Detail

appendHqlStringback to summary
public void appendHqlString(StringBuilder sb)

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

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

Annotations
@Override
copyback to summary
public SqmTreatedSetJoin<O, T, S> copy(SqmCopyContext context)

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

Implements org.hibernate.query.sqm.tree.domain.SqmPath.copy, org.hibernate.query.sqm.tree.from.SqmJoin.copy, org.hibernate.query.sqm.tree.from.SqmFrom.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
getNodeTypeback to summary
public SqmPathSource<S> getNodeType()

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

Implements org.hibernate.query.sqm.tree.domain.SqmPath.getNodeType, org.hibernate.query.sqm.tree.expression.SqmExpression.getNodeType, org.hibernate.query.sqm.tree.SqmTypedNode.getNodeType.

Doc from org.hibernate.query.sqm.tree.domain.SqmPath.getNodeType.

This node's type is its "referenced path source"

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

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

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

Doc from org.hibernate.query.sqm.tree.domain.SqmPath.getReferencedPathSource.

The path source that this path refers to (and that most likely created it).

Annotations
@Override
getResolvedModelback to summary
public SqmPathSource<?> getResolvedModel()

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

Implements org.hibernate.query.sqm.tree.domain.SqmPath.getResolvedModel.

Doc from org.hibernate.query.sqm.tree.domain.SqmPath.getResolvedModel.

Get this path's actual resolved model, i.e. the concrete type for generic attributes.

Annotations
@Override
getTreatTargetback to summary
public EntityDomainType<S> getTreatTarget()

Implements org.hibernate.query.sqm.tree.domain.SqmTreatedPath.getTreatTarget.

Annotations
@Override
getWrappedPathback to summary
public SqmSetJoin<O, T> getWrappedPath()

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

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

Access the wrapped SqmPath.

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

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

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

Annotations
@Override