TableReference references related to a single entity or
collection, along with joins to other TableGroups
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public void | addNestedTableGroupJoin(TableGroupJoin join)
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.
|
| public void | |
| public void | |
| public default void | applySqlSelections(DomainResultCreationState creationState)
Implements org. |
| public boolean | |
| public default DomainResult | createDomainResult(String resultVariable, DomainResultCreationState creationState)
Implements org. |
| public default TableGroupJoin | |
| public default TableGroup | |
| public default TableGroupJoin | |
| public String | getGroupAlias()
If we want to use CTE for TableGroup rendering we will need to know the alias we can use for the group |
| public ModelPartContainer | |
| public NavigablePath | |
| public List | |
| public TableReference | |
| public String | |
| public List | |
| public List | |
| public default boolean | |
| public default boolean | |
| public default boolean | isInitialized()
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. |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public void | prependTableGroupJoin(NavigablePath navigablePath, TableGroupJoin join)
Adds the given table group join before a join as found via the given navigable path. |
| public void | |
| public void |
| accept | back to summary |
|---|---|
| public default void accept(SqlAstWalker sqlTreeWalker) Implements org.
| |
| addNestedTableGroupJoin | back to summary |
|---|---|
| public void addNestedTableGroupJoin(TableGroupJoin join) 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) | |
| applyAffectedTableNames | back to summary |
|---|---|
| public void applyAffectedTableNames(Consumer<String> nameCollector) | |
| applySqlSelections | back to summary |
|---|---|
| public default void applySqlSelections(DomainResultCreationState creationState) Implements org. Doc from org. 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
| |
| canUseInnerJoins | back to summary |
|---|---|
| public boolean canUseInnerJoins() | |
| createDomainResult | back to summary |
|---|---|
| public default DomainResult Implements org. Doc from org. Produce the domain query
| |
| findCompatibleJoin | back to summary |
|---|---|
| public default TableGroupJoin findCompatibleJoin(TableGroupJoinProducer joinProducer, SqlAstJoinType requestedJoinType) | |
| findCompatibleJoinedGroup | back to summary |
|---|---|
| public default TableGroup findCompatibleJoinedGroup(TableGroupJoinProducer joinProducer, SqlAstJoinType requestedJoinType) | |
| findTableGroupJoin | back to summary |
|---|---|
| public default TableGroupJoin findTableGroupJoin(TableGroup tableGroup) | |
| getGroupAlias | back to summary |
|---|---|
| public String getGroupAlias() 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() | |
| getNavigablePath | back to summary |
|---|---|
| public NavigablePath getNavigablePath() Redeclares org. | |
| getNestedTableGroupJoins | back to summary |
|---|---|
| public List | |
| getPrimaryTableReference | back to summary |
|---|---|
| public TableReference getPrimaryTableReference() | |
| getSourceAlias | back to summary |
|---|---|
| public String getSourceAlias() | |
| getTableGroupJoins | back to summary |
|---|---|
| public List | |
| getTableReferenceJoins | back to summary |
|---|---|
| public List | |
| hasRealJoins | back to summary |
|---|---|
| public default boolean hasRealJoins() | |
| isFetched | back to summary |
|---|---|
| public default boolean isFetched() | |
| isInitialized | back to summary |
|---|---|
| public default boolean isInitialized() 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 default boolean isLateral() | |
| isRealTableGroup | back to summary |
|---|---|
| public default boolean isRealTableGroup() | |
| isVirtual | back to summary |
|---|---|
| public default boolean isVirtual() Utility method that indicates weather this table group is virtual or not | |
| prependTableGroupJoin | back to summary |
|---|---|
| public void prependTableGroupJoin(NavigablePath navigablePath, TableGroupJoin join) Adds the given table group join before a join as found via the given navigable path. | |
| visitNestedTableGroupJoins | back to summary |
|---|---|
| public void visitNestedTableGroupJoins(Consumer<TableGroupJoin> consumer) | |
| visitTableGroupJoins | back to summary |
|---|---|
| public void visitTableGroupJoins(Consumer<TableGroupJoin> consumer) | |