NamedTableReference representing the CTE and adapts it to
TableGroup for use in SQL AST
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final NamedTableReference |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CteTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, SqlAliasBase sqlAliasBase, ModelPartContainer modelPartContainer, NamedTableReference cteTableReference, Set<String> compatibleTableExpressions)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | applyAffectedTableNames(Consumer<String> nameCollector)
Implements org. |
| public String | getGroupAlias()
Overrides org. Implements org. |
| public TableReference | |
| 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 List |
| compatibleTableExpressions | back to summary |
|---|---|
| private final Set<String> compatibleTableExpressions | |
| cteTableReference | back to summary |
|---|---|
| private final NamedTableReference cteTableReference | |
| CteTableGroup | back to summary |
|---|---|
| public CteTableGroup(NamedTableReference cteTableReference) | |
| CteTableGroup | back to summary |
|---|---|
| public CteTableGroup(boolean canUseInnerJoins, NavigablePath navigablePath, SqlAliasBase sqlAliasBase, ModelPartContainer modelPartContainer, NamedTableReference cteTableReference, Set<String> compatibleTableExpressions) | |
| applyAffectedTableNames | back to summary |
|---|---|
| public void applyAffectedTableNames(Consumer<String> nameCollector) Implements org.
| |
| 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
| |
| getPrimaryTableReference | back to summary |
|---|---|
| public TableReference getPrimaryTableReference() Implements abstract 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.
| |
| getTableReferenceJoins | back to summary |
|---|---|
| public List Implements abstract org. Implements org.
| |