Package org.hibernate.sql.ast.tree.from
Class TableGroupJoin
java.lang.Object
org.hibernate.sql.ast.tree.from.TableGroupJoin
- All Implemented Interfaces:
DomainResultProducer
,TableJoin
,PredicateContainer
,SqlAstNode
public class TableGroupJoin
extends Object
implements TableJoin, PredicateContainer, DomainResultProducer
-
Constructor Summary
ConstructorsConstructorDescriptionTableGroupJoin
(NavigablePath navigablePath, SqlAstJoinType joinType, TableGroup joinedGroup) TableGroupJoin
(NavigablePath navigablePath, SqlAstJoinType joinType, TableGroup joinedGroup, Predicate predicate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) void
applyPredicate
(Predicate predicate) Apply a predicate to this containervoid
applySqlSelections
(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.createDomainResult
(String resultVariable, DomainResultCreationState creationState) Produce the domain queryboolean
boolean
void
setJoinType
(SqlAstJoinType joinType)
-
Constructor Details
-
Method Details
-
getJoinType
- Specified by:
getJoinType
in interfaceTableJoin
-
setJoinType
-
getJoinedGroup
-
getJoinedNode
- Specified by:
getJoinedNode
in interfaceTableJoin
-
getPredicate
- Specified by:
getPredicate
in interfaceTableJoin
-
applyPredicate
Description copied from interface:PredicateContainer
Apply a predicate to this container- Specified by:
applyPredicate
in interfacePredicateContainer
-
accept
- Specified by:
accept
in interfaceSqlAstNode
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceTableJoin
-
isImplicit
public boolean isImplicit() -
createDomainResult
public DomainResult createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducer
Produce the domain query- Specified by:
createDomainResult
in interfaceDomainResultProducer
-
applySqlSelections
Description copied from interface:DomainResultProducer
Used when this producer is a selection in a sub-query. The DomainResult is only needed for root query of a SELECT statement. This default impl assumes this producer is a true (Sql)Expression- Specified by:
applySqlSelections
in interfaceDomainResultProducer
-