public class UpdateSqlImpl extends Object implements UpdateSql, UseAliasSupport, PrepareStatementBuildSupport
| 构造器和说明 |
|---|
UpdateSqlImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateSql |
andWhere(CriteriaItem item)
`WHERE AND` 语句
|
UpdateSql |
andWhere(List<Criteria> criterion)
`WHERE AND` 语句
|
UpdateSql |
complexFullJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`FULL JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?
|
UpdateSql |
complexInnerJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`INNER JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?
|
UpdateSql |
complexLeftJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`LEFT JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?
|
UpdateSql |
complexRightJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`RIGHT JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?
|
UpdateSql |
decreaseSet(Column column,
Number value)
设置自减
|
UpdateSql |
fullJoinOn(Table table,
List<Column> columnPairs)
`FULL JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
PrepareStatement |
getPrepareStatement()
获取预查询SQL
|
UpdateSql |
increaseSet(Column column,
Number value)
设置自增长
|
UpdateSql |
innerJoinOn(Table table,
List<Column> columnPairs)
`INNER JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
boolean |
isUseAlias()
是否使用别名
|
UpdateSql |
joinOn(JoinOn joinOn)
JoinOn操作
|
UpdateSql |
joinOn(List<JoinOn> joinOns)
JoinOn操作
|
UpdateSql |
joinOn(Table table,
List<Column> columnPairs)
`JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
UpdateSql |
leftJoinOn(Table table,
List<Column> columnPairs)
`LEFT JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
UpdateSql |
orWhere(CriteriaItem item)
`WHERE OR`语句
|
UpdateSql |
orWhere(List<Criteria> criterion)
`WHERE OR`语句
|
UpdateSql |
rightJoinOn(Table table,
List<Column> columnPairs)
`RIGHT JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
UpdateSql |
set(Column column,
Object value)
设置具体值
|
UpdateSql |
set(List<SetItem> items)
批量增加设置内容
|
UpdateSql |
set(SetItem item)
增加设置内容
|
UpdateSql |
update(List<Table> tables)
`UPDATE table1 t1, table2 t2...` 语句, t1, t2表示"表别名"
|
UpdateSql |
update(Table table)
`UPDATE table1 t1` 语句, t1表示"表别名"
|
UpdateSql |
where(Criteria criteria)
`WHERE` 语句
|
UpdateSql |
where(List<Criteria> criterion)
`WHERE` 语句
|
append, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic boolean isUseAlias()
UseAliasSupportisUseAlias 在接口中 UseAliasSupportpublic UpdateSql update(Table table)
UpdateTableSupportupdate 在接口中 UpdateTableSupport<UpdateSql>table - 表对象Tablepublic UpdateSql update(List<Table> tables)
UpdateTableSupportupdate 在接口中 UpdateTableSupport<UpdateSql>tables - 表对象列表Tablepublic UpdateSql set(SetItem item)
SetSupportset 在接口中 SetSupport<UpdateSql>item - 设置项public UpdateSql set(List<SetItem> items)
SetSupportset 在接口中 SetSupport<UpdateSql>items - 设置项public UpdateSql set(Column column, Object value)
SetSupportset 在接口中 SetSupport<UpdateSql>column - 列value - 值public UpdateSql increaseSet(Column column, Number value)
SetSupportincreaseSet 在接口中 SetSupport<UpdateSql>column - 列value - 值public UpdateSql decreaseSet(Column column, Number value)
SetSupportdecreaseSet 在接口中 SetSupport<UpdateSql>column - 列value - 值public UpdateSql joinOn(JoinOn joinOn)
JoinOnSupportjoinOn 在接口中 JoinOnSupport<UpdateSql>joinOn - JoinOn操作public UpdateSql joinOn(List<JoinOn> joinOns)
JoinOnSupportjoinOn 在接口中 JoinOnSupport<UpdateSql>joinOns - JoinOn操作列表public UpdateSql joinOn(Table table, List<Column> columnPairs)
JoinOnSupportjoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象columnPairs - on相关的"列-对"Columnpublic UpdateSql leftJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportleftJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic UpdateSql rightJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportrightJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic UpdateSql fullJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportfullJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic UpdateSql innerJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportinnerJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic UpdateSql complexLeftJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexLeftJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象criteriaItems - 条件public UpdateSql complexRightJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexRightJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象criteriaItems - 条件public UpdateSql complexFullJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexFullJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象criteriaItems - 条件public UpdateSql complexInnerJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexInnerJoinOn 在接口中 JoinOnSupport<UpdateSql>table - 需要join的表对象criteriaItems - 条件public UpdateSql where(Criteria criteria)
WhereSupportwhere 在接口中 WhereSupport<UpdateSql>criteria - WHERE相关条件Criteriapublic UpdateSql where(List<Criteria> criterion)
WhereSupportwhere 在接口中 WhereSupport<UpdateSql>criterion - WHERE相关条件列表Criteriapublic UpdateSql andWhere(CriteriaItem item)
WhereSupportandWhere 在接口中 WhereSupport<UpdateSql>item - WHERE相关条件Criteriapublic UpdateSql andWhere(List<Criteria> criterion)
WhereSupportandWhere 在接口中 WhereSupport<UpdateSql>criterion - WHERE相关条件列表Criteriapublic UpdateSql orWhere(CriteriaItem item)
WhereSupportorWhere 在接口中 WhereSupport<UpdateSql>item - WHERE相关条件Criteriapublic UpdateSql orWhere(List<Criteria> criterion)
WhereSupportorWhere 在接口中 WhereSupport<UpdateSql>criterion - WHERE相关条件列表Criteriapublic PrepareStatement getPrepareStatement()
PrepareStatementSupportgetPrepareStatement 在接口中 PrepareStatementSupportCopyright © 2020 IBIT程序猿. All rights reserved.