| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final ModelPartContainer | |
| private final NavigablePath | |
| private List | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private final String | |
| private final SqlAliasBase | |
| private List |
| Access | Constructor and Description |
|---|---|
| public | AbstractTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, ModelPartContainer modelPartContainer, String sourceAlias, SqlAliasBase sqlAliasBase, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addNestedTableGroupJoin(TableGroupJoin join)
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 boolean | |
| public ModelPart | getExpressionType()
Implements org. |
| public String | getGroupAlias()
Implements org. |
| public ModelPartContainer | |
| public NavigablePath | |
| public List | |
| protected SessionFactoryImplementor | getSessionFactory()
Implements abstract org.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public String | |
| public SqlAliasBase | |
| public List | |
| public boolean | |
| public void | prependTableGroupJoin(NavigablePath navigablePath, TableGroupJoin join)
Implements org. |
| public String | |
| public void | |
| public void |
| canUseInnerJoins | back to summary |
|---|---|
| private final boolean canUseInnerJoins | |
| modelPartContainer | back to summary |
|---|---|
| private final ModelPartContainer modelPartContainer | |
| navigablePath | back to summary |
|---|---|
| private final NavigablePath navigablePath | |
| nestedTableGroupJoins | back to summary |
|---|---|
| private List<TableGroupJoin> nestedTableGroupJoins | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| sourceAlias | back to summary |
|---|---|
| private final String sourceAlias | |
| sqlAliasBase | back to summary |
|---|---|
| private final SqlAliasBase sqlAliasBase | |
| tableGroupJoins | back to summary |
|---|---|
| private List<TableGroupJoin> tableGroupJoins | |
| AbstractTableGroup | back to summary |
|---|---|
| public AbstractTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, ModelPartContainer modelPartContainer, String sourceAlias, SqlAliasBase sqlAliasBase, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| addNestedTableGroupJoin | back to summary |
|---|---|
| public void addNestedTableGroupJoin(TableGroupJoin join) 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) Implements org.
| |
| canUseInnerJoins | back to summary |
|---|---|
| public boolean canUseInnerJoins() Implements org.
| |
| getExpressionType | back to summary |
|---|---|
| public ModelPart getExpressionType() Implements org. Doc from org. The type for this expression
| |
| getGroupAlias | back to summary |
|---|---|
| public String getGroupAlias() 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 ModelPartContainer getModelPart() Implements org.
| |
| getNavigablePath | back to summary |
|---|---|
| public NavigablePath getNavigablePath() Implements org.
| |
| getNestedTableGroupJoins | back to summary |
|---|---|
| public List Implements org.
| |
| getSessionFactory | back to summary |
|---|---|
| protected SessionFactoryImplementor getSessionFactory() Implements abstract org. Deprecated as a consequence of
| |
| getSourceAlias | back to summary |
|---|---|
| public String getSourceAlias() Implements org.
| |
| getSqlAliasBase | back to summary |
|---|---|
| public SqlAliasBase getSqlAliasBase() | |
| getTableGroupJoins | back to summary |
|---|---|
| public List Implements org.
| |
| isRealTableGroup | back to summary |
|---|---|
| public boolean isRealTableGroup() Overrides default org.
| |
| prependTableGroupJoin | back to summary |
|---|---|
| public void prependTableGroupJoin(NavigablePath navigablePath, TableGroupJoin join) Implements org. Doc from org. Adds the given table group join before a join as found via the given navigable path.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| visitNestedTableGroupJoins | back to summary |
|---|---|
| public void visitNestedTableGroupJoins(Consumer<TableGroupJoin> consumer) Implements org.
| |
| visitTableGroupJoins | back to summary |
|---|---|
| public void visitTableGroupJoins(Consumer<TableGroupJoin> consumer) Implements org.
| |