| 程序包 | 说明 |
|---|---|
| com.dynamic.sql.core | |
| com.dynamic.sql.core.dml.select | |
| com.dynamic.sql.core.dml.select.build.join | |
| com.dynamic.sql.core.dml.select.cte |
| 限定符和类型 | 方法和说明 |
|---|---|
TableRelation<?> |
ColumnReference.from(CteTable cteTable) |
abstract TableRelation<?> |
AbstractColumnReference.from(CteTable cteTable)
设置公共表表达式(CTE)为主表。
|
| 限定符和类型 | 方法和说明 |
|---|---|
default JoinCondition |
JoinCondition.crossJoin(boolean isEffective,
CteTable cte) |
JoinCondition |
JoinCondition.crossJoin(CteTable cte)
构建一个 CROSS JOIN 连接,用于将当前查询与公共表表达式 (CTE) 的结果关联。
|
JoinCondition |
TableRelation.crossJoin(CteTable cte) |
default JoinCondition |
JoinCondition.fullJoin(boolean isEffective,
CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
JoinCondition |
JoinCondition.fullJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition)
构建一个 FULL JOIN 连接,用于将当前查询与公共表表达式 (CTE) 的结果关联。
|
JoinCondition |
TableRelation.fullJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
JoinCondition |
JoinCondition.innerJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition)
构建一个 INNER JOIN 连接,用于将当前查询与公共表表达式 (CTE) 结果关联。
|
JoinCondition |
TableRelation.innerJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
default JoinCondition |
JoinCondition.join(boolean isEffective,
CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
default JoinCondition |
JoinCondition.join(CteTable cte,
Consumer<GenericWhereCondition> onCondition)
使用 CTE 表进行 INNER JOIN。
|
default JoinCondition |
JoinCondition.leftJoin(boolean isEffective,
CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
JoinCondition |
JoinCondition.leftJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition)
构建一个 LEFT JOIN 连接,用于将当前查询与公共表表达式 (CTE) 结果关联。
|
JoinCondition |
TableRelation.leftJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
default JoinCondition |
JoinCondition.rightJoin(boolean isEffective,
CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
JoinCondition |
JoinCondition.rightJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition)
构建一个 RIGHT JOIN 连接,用于将当前查询与公共表表达式 (CTE) 结果关联。
|
JoinCondition |
TableRelation.rightJoin(CteTable cte,
Consumer<GenericWhereCondition> onCondition) |
| 限定符和类型 | 方法和说明 |
|---|---|
CteTable |
LeftJoin.getCteTable() |
CteTable |
NestedJoin.getCteTable() |
CteTable |
RightJoin.getCteTable() |
CteTable |
SelfJoin.getCteTable() |
CteTable |
InnerJoin.getCteTable() |
CteTable |
FromJoin.getCteTable() |
CteTable |
CrossJoin.getCteTable() |
CteTable |
FullJoin.getCteTable() |
abstract CteTable |
JoinTable.getCteTable() |
CteTable |
TableFunctionJoin.getCteTable() |
| 构造器和说明 |
|---|
CrossJoin(CteTable cteTable) |
FromJoin(CteTable cteTable) |
FullJoin(CteTable cteTable,
Consumer<GenericWhereCondition> onCondition) |
InnerJoin(CteTable cteTable,
Consumer<GenericWhereCondition> onCondition) |
LeftJoin(CteTable cteTable,
Consumer<GenericWhereCondition> onCondition) |
RightJoin(CteTable cteTable,
Consumer<GenericWhereCondition> onCondition) |
SelfJoin(CteTable cteTable,
Consumer<GenericWhereCondition> onCondition) |
| 限定符和类型 | 方法和说明 |
|---|---|
CteTable |
CommonTableExpression.cteTable(Class<?> cteClass) |
Copyright © 2024–2025 Dynamic-SQL. All rights reserved.