| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private final NavigablePath | |
| private List | |
| private final TableGroup | |
| private final LazyTableGroup. | |
| private final TableGroupProducer | |
| private final String | |
| private final SqlAliasBase | |
| private TableGroup | |
| private Consumer | |
| private List | |
| private final Supplier |
| Access | Constructor and Description |
|---|---|
| public | LazyTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, boolean fetched, Supplier<TableGroup> tableGroupSupplier, LazyTableGroup.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addNestedTableGroupJoin(TableGroupJoin join)
Overrides org. Implements org.
select *
from entity1 e
left join (
collection_table c1
join association a on a.id = c1.target_id
) on c1.entity_id = e.id and c1.key = 1
is modeled as
TableGroup(
primaryTableReference = TableReference(entity1, e),
tableGroupJoins = [
TableGroupJoin(
TableGroup(
primaryTableReference = TableReference(collection_table, c1),
nestedTableGroupJoins = [
TableGroupJoin(
TableGroup(
primaryTableReference = TableReference(association, a)
)
)
]
)
)
]
)
This is necessary to correctly retain the cardinality of an HQL join like e.g.
from Entity1 e left join e.collectionAssociation c on key(c) = 1
|
| public void | |
| public void | |
| public boolean | |
| public ModelPart | getExpressionType()
Overrides org. Implements org. |
| public String | getGroupAlias()
Overrides org. Implements org. |
| public TableGroupProducer | |
| public NavigablePath | |
| public List | |
| public String | |
| public TableGroup | getTableGroup()
Implements abstract org. |
| public List | |
| public TableReference | getTableReference(NavigablePath
The path for which to look up the table reference, may be null navigablePath, String The table expression for which to look up the table reference tableExpression, boolean Whether to potentially create table reference joins for this table group resolve)Overrides org. Implements org. |
| public TableReference | getTableReference(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve)
Overrides org. Overrides default org. |
| public List | |
| public TableGroup | |
| public boolean | isFetched()
Overrides org. Overrides default org. |
| public boolean | isInitialized()
Overrides org. Overrides default org. |
| public boolean | isLateral()
Overrides org. Overrides default org. |
| public boolean | |
| public void | |
| public void | |
| public void |
| canUseInnerJoins | back to summary |
|---|---|
| private final boolean canUseInnerJoins | |
| fetched | back to summary |
|---|---|
| private final boolean fetched | |
| navigablePath | back to summary |
|---|---|
| private final NavigablePath navigablePath | |
| nestedTableGroupJoins | back to summary |
|---|---|
| private List<TableGroupJoin> nestedTableGroupJoins | |
| parentTableGroup | back to summary |
|---|---|
| private final TableGroup parentTableGroup | |
| parentTableGroupUseChecker | back to summary |
|---|---|
| private final LazyTableGroup. | |
| producer | back to summary |
|---|---|
| private final TableGroupProducer producer | |
| sourceAlias | back to summary |
|---|---|
| private final String sourceAlias | |
| sqlAliasBase | back to summary |
|---|---|
| private final SqlAliasBase sqlAliasBase | |
| tableGroup | back to summary |
|---|---|
| private TableGroup tableGroup | |
| tableGroupConsumer | back to summary |
|---|---|
| private Consumer<TableGroup> tableGroupConsumer | |
| tableGroupJoins | back to summary |
|---|---|
| private List<TableGroupJoin> tableGroupJoins | |
| tableGroupSupplier | back to summary |
|---|---|
| private final Supplier<TableGroup> tableGroupSupplier | |
| LazyTableGroup | back to summary |
|---|---|
| public LazyTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, boolean fetched, Supplier<TableGroup> tableGroupSupplier, LazyTableGroup. Deprecated as a consequence of | |
| addNestedTableGroupJoin | back to summary |
|---|---|
| public void addNestedTableGroupJoin(TableGroupJoin join) Overrides org. Implements org. Doc from org. A nested table group join is a join against a table group,
that is ensured to be joined against the primary table reference and table reference joins in isolation,
prior to doing other table group joins e.g.
| |
| addTableGroupJoin | back to summary |
|---|---|
| public void addTableGroupJoin(TableGroupJoin join) Overrides org. Implements org.
| |
| applyAffectedTableNames | back to summary |
|---|---|
| public void applyAffectedTableNames(Consumer<String> nameCollector) Overrides org. Implements org.
| |
| canUseInnerJoins | back to summary |
|---|---|
| public boolean canUseInnerJoins() Overrides org. Implements org.
| |
| getExpressionType | back to summary |
|---|---|
| public ModelPart getExpressionType() Overrides org. Implements org. Doc from org. The type for this expression
| |
| getGroupAlias | back to summary |
|---|---|
| public String getGroupAlias() Overrides org. Implements org. Doc from org. If we want to use CTE for TableGroup rendering we will need to know the alias we can use for the group
| |
| getModelPart | back to summary |
|---|---|
| public TableGroupProducer getModelPart() Overrides org. Implements org.
| |
| getNavigablePath | back to summary |
|---|---|
| public NavigablePath getNavigablePath() Overrides org. Implements org.
| |
| getNestedTableGroupJoins | back to summary |
|---|---|
| public List Overrides org. Implements org.
| |
| getSourceAlias | back to summary |
|---|---|
| public String getSourceAlias() Overrides org. Implements org.
| |
| getTableGroup | back to summary |
|---|---|
| public TableGroup getTableGroup() Implements abstract org.
| |
| getTableGroupJoins | back to summary |
|---|---|
| public List Overrides org. Implements org.
| |
| getTableReference | back to summary |
|---|---|
| public TableReference getTableReference(NavigablePath navigablePath, String tableExpression, boolean resolve) Overrides org. Implements org. Doc from org. Returns the table reference for the table expression, or null if not found.
| |
| getTableReference | back to summary |
|---|---|
| public TableReference getTableReference(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve) Overrides org. Overrides default org.
| |
| getTableReferenceJoins | back to summary |
|---|---|
| public List Overrides org. Implements org.
| |
| getUnderlyingTableGroup | back to summary |
|---|---|
| public TableGroup getUnderlyingTableGroup() | |
| isFetched | back to summary |
|---|---|
| public boolean isFetched() Overrides org. Overrides default org.
| |
| isInitialized | back to summary |
|---|---|
| public boolean isInitialized() Overrides org. Overrides default org. Doc from org. If this is a lazy table group, it may report that it is not initialized, which would also mean that a join referring to this table group should not be rendered.
| |
| isLateral | back to summary |
|---|---|
| public boolean isLateral() Overrides org. Overrides default org.
| |
| isRealTableGroup | back to summary |
|---|---|
| public boolean isRealTableGroup() Overrides org. Overrides default org.
| |
| setTableGroupInitializerCallback | back to summary |
|---|---|
| public void setTableGroupInitializerCallback(Consumer<TableGroup> tableGroupConsumer) | |
| visitNestedTableGroupJoins | back to summary |
|---|---|
| public void visitNestedTableGroupJoins(Consumer<TableGroupJoin> consumer) Overrides org. Implements org.
| |
| visitTableGroupJoins | back to summary |
|---|---|
| public void visitTableGroupJoins(Consumer<TableGroupJoin> consumer) Overrides org. Implements org.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canUseParentTableGroup(TableGroupProducer producer, NavigablePath navigablePath, ValuedModelPart valuedModelPart)
|
| canUseParentTableGroup | back to summary |
|---|---|
| public boolean canUseParentTableGroup(TableGroupProducer producer, NavigablePath navigablePath, ValuedModelPart valuedModelPart) | |