Package org.hibernate.sql.ast.tree.from
Class MappedByTableGroup
java.lang.Object
org.hibernate.sql.ast.tree.from.DelegatingTableGroup
org.hibernate.sql.ast.tree.from.MappedByTableGroup
- All Implemented Interfaces:
DomainResultProducer
,SqmPathInterpretation
,SqlSelectionProducer
,Expression
,ColumnReferenceQualifier
,TableGroup
,VirtualTableGroup
,SqlAstNode
-
Constructor Summary
ConstructorsConstructorDescriptionMappedByTableGroup
(NavigablePath navigablePath, TableGroupProducer producer, TableGroup underlyingTableGroup, boolean fetched, TableGroup parentTableGroup, LazyTableGroup.ParentTableGroupUseChecker parentTableGroupUseChecker) -
Method Summary
Modifier and TypeMethodDescriptionThe type for this expressionIf we want to use CTE for TableGroup rendering we will need to know the alias we can use for the groupprotected TableGroup
getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) Returns the table reference for the table expression, or null if not found.getTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) boolean
boolean
boolean
resolveTableReference
(NavigablePath navigablePath, String tableExpression) LikeColumnReferenceQualifier.getTableReference(NavigablePath, String, boolean)
, but will throw an exception if no table reference can be found, even after resolving possible table reference joins.resolveTableReference
(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression) void
visitNestedTableGroupJoins
(Consumer<TableGroupJoin> consumer) void
visitTableGroupJoins
(Consumer<TableGroupJoin> consumer) Methods inherited from class org.hibernate.sql.ast.tree.from.DelegatingTableGroup
accept, addNestedTableGroupJoin, addTableGroupJoin, applyAffectedTableNames, applySqlSelections, canUseInnerJoins, createDomainResult, createSqlSelection, getColumnReference, getPrimaryTableReference, getSourceAlias, getSqlExpression, isInitialized, prependTableGroupJoin
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.ast.tree.from.ColumnReferenceQualifier
getTableReference, getTableReference, resolveTableReference
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
Methods inherited from interface org.hibernate.query.sqm.sql.internal.SqmPathInterpretation
getSqlExpression
Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroup
accept, addNestedTableGroupJoin, addTableGroupJoin, applyAffectedTableNames, applySqlSelections, canUseInnerJoins, createDomainResult, findCompatibleJoin, findCompatibleJoinedGroup, findTableGroupJoin, findTableReference, getPrimaryTableReference, getSourceAlias, hasRealJoins, isInitialized, prependTableGroupJoin
Methods inherited from interface org.hibernate.sql.ast.tree.from.VirtualTableGroup
isVirtual
-
Constructor Details
-
Method Details
-
getTableGroup
- Specified by:
getTableGroup
in classDelegatingTableGroup
-
getUnderlyingTableGroup
- Specified by:
getUnderlyingTableGroup
in interfaceVirtualTableGroup
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
- Specified by:
getExpressionType
in interfaceSqmPathInterpretation
- Overrides:
getExpressionType
in classDelegatingTableGroup
-
getGroupAlias
Description copied from interface:TableGroup
If we want to use CTE for TableGroup rendering we will need to know the alias we can use for the group- Specified by:
getGroupAlias
in interfaceTableGroup
- Overrides:
getGroupAlias
in classDelegatingTableGroup
-
isFetched
public boolean isFetched()- Specified by:
isFetched
in interfaceTableGroup
- Overrides:
isFetched
in classDelegatingTableGroup
-
getModelPart
- Specified by:
getModelPart
in interfaceTableGroup
- Overrides:
getModelPart
in classDelegatingTableGroup
-
isRealTableGroup
public boolean isRealTableGroup()- Specified by:
isRealTableGroup
in interfaceTableGroup
- Overrides:
isRealTableGroup
in classDelegatingTableGroup
-
isLateral
public boolean isLateral()- Specified by:
isLateral
in interfaceTableGroup
- Overrides:
isLateral
in classDelegatingTableGroup
-
getTableGroupJoins
- Specified by:
getTableGroupJoins
in interfaceTableGroup
- Overrides:
getTableGroupJoins
in classDelegatingTableGroup
-
getNestedTableGroupJoins
- Specified by:
getNestedTableGroupJoins
in interfaceTableGroup
- Overrides:
getNestedTableGroupJoins
in classDelegatingTableGroup
-
visitTableGroupJoins
- Specified by:
visitTableGroupJoins
in interfaceTableGroup
- Overrides:
visitTableGroupJoins
in classDelegatingTableGroup
-
visitNestedTableGroupJoins
- Specified by:
visitNestedTableGroupJoins
in interfaceTableGroup
- Overrides:
visitNestedTableGroupJoins
in classDelegatingTableGroup
-
getTableReferenceJoins
- Specified by:
getTableReferenceJoins
in interfaceTableGroup
- Overrides:
getTableReferenceJoins
in classDelegatingTableGroup
-