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 TableGroupgetTableReference(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) booleanbooleanbooleanresolveTableReference(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) voidvisitNestedTableGroupJoins(Consumer<TableGroupJoin> consumer) voidvisitTableGroupJoins(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, prependTableGroupJoinMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.ast.tree.from.ColumnReferenceQualifier
getTableReference, getTableReference, resolveTableReferenceMethods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReferenceMethods inherited from interface org.hibernate.query.sqm.sql.internal.SqmPathInterpretation
getAffectedTableName, getSqlExpressionMethods 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, prependTableGroupJoinMethods inherited from interface org.hibernate.sql.ast.tree.from.VirtualTableGroup
isVirtual
-
Constructor Details
-
Method Details
-
getTableGroup
- Specified by:
getTableGroupin classDelegatingTableGroup
-
getUnderlyingTableGroup
- Specified by:
getUnderlyingTableGroupin interfaceVirtualTableGroup
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression- Specified by:
getExpressionTypein interfaceSqmPathInterpretation- Overrides:
getExpressionTypein classDelegatingTableGroup
-
getGroupAlias
Description copied from interface:TableGroupIf we want to use CTE for TableGroup rendering we will need to know the alias we can use for the group- Specified by:
getGroupAliasin interfaceTableGroup- Overrides:
getGroupAliasin classDelegatingTableGroup
-
isFetched
public boolean isFetched()- Specified by:
isFetchedin interfaceTableGroup- Overrides:
isFetchedin classDelegatingTableGroup
-
getModelPart
- Specified by:
getModelPartin interfaceTableGroup- Overrides:
getModelPartin classDelegatingTableGroup
-
isRealTableGroup
public boolean isRealTableGroup()- Specified by:
isRealTableGroupin interfaceTableGroup- Overrides:
isRealTableGroupin classDelegatingTableGroup
-
isLateral
public boolean isLateral()- Specified by:
isLateralin interfaceTableGroup- Overrides:
isLateralin classDelegatingTableGroup
-
getTableGroupJoins
- Specified by:
getTableGroupJoinsin interfaceTableGroup- Overrides:
getTableGroupJoinsin classDelegatingTableGroup
-
getNestedTableGroupJoins
- Specified by:
getNestedTableGroupJoinsin interfaceTableGroup- Overrides:
getNestedTableGroupJoinsin classDelegatingTableGroup
-
visitTableGroupJoins
- Specified by:
visitTableGroupJoinsin interfaceTableGroup- Overrides:
visitTableGroupJoinsin classDelegatingTableGroup
-
visitNestedTableGroupJoins
- Specified by:
visitNestedTableGroupJoinsin interfaceTableGroup- Overrides:
visitNestedTableGroupJoinsin classDelegatingTableGroup
-
getTableReferenceJoins
- Specified by:
getTableReferenceJoinsin interfaceTableGroup- Overrides:
getTableReferenceJoinsin classDelegatingTableGroup
-