public class DeleteSqlImpl extends SqlLogImpl implements DeleteSql, UseAliasSupport, PrepareStatementBuildSupport
| Constructor and Description |
|---|
DeleteSqlImpl(Mapper<?> mapper) |
| Modifier and Type | Method and Description |
|---|---|
DeleteSql |
andWhere(CriteriaItem item)
`WHERE AND` 语句
|
DeleteSql |
andWhere(List<Criteria> criterion)
`WHERE AND` 语句
|
DeleteSql |
complexFullJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`FULL JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?`语句
|
DeleteSql |
complexInnerJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`INNER JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?`语句
|
DeleteSql |
complexLeftJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`LEFT JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?`语句
|
DeleteSql |
complexRightJoinOn(Table table,
List<CriteriaItem> criteriaItems)
`RIGHT JOIN table t1 on t1.column1=t0.column2, t1.column3=t0.column4 AND t1.column5=?`语句
|
DeleteSql |
delete(List<Table> tables)
`DELETE t1.*, t2.* ...` 语句, t1, t2表示"表别名"
|
DeleteSql |
delete(Table table)
`DELETE t1.*` 语句, t1表示"表别名"
|
DeleteSql |
deleteFrom(List<Table> tables)
删除表,item和from同时设置
|
DeleteSql |
deleteFrom(Table table)
删除表,item和from同时设置
|
DeleteSql |
deleteFromDefault()
删除表,从mapper获取
|
int |
executeDelete()
执行删除
|
DeleteSql |
from(List<Table> tables)
`FROM table1 t1, table2 t2...` 语句, t1, t2表示"表别名"
|
DeleteSql |
from(Table table)
`FROM table1 t1` 语句, t1表示"表别名"
|
DeleteSql |
fullJoinOn(Table table,
List<Column> columnPairs)
`FULL JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
PrepareStatement |
getPrepareStatement()
获取预查询SQL
|
DeleteSql |
innerJoinOn(Table table,
List<Column> columnPairs)
`INNER JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
boolean |
isUseAlias()
是否使用别名
|
DeleteSql |
joinOn(JoinOn joinOn)
JoinOn操作
|
DeleteSql |
joinOn(List<JoinOn> joinOns)
JoinOn操作
|
DeleteSql |
joinOn(Table table,
List<Column> columnPairs)
`JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
DeleteSql |
leftJoinOn(Table table,
List<Column> columnPairs)
`LEFT JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
DeleteSql |
orWhere(CriteriaItem item)
`WHERE OR`语句
|
DeleteSql |
orWhere(List<Criteria> criterion)
`WHERE OR`语句
|
DeleteSql |
rightJoinOn(Table table,
List<Column> columnPairs)
`RIGHT JOIN table t1 ON t1.column1=t0.column2, t1.column3=t0.column4`语句
|
DeleteSql |
where(Criteria criteria)
`WHERE` 语句
|
DeleteSql |
where(List<Criteria> criterion)
`WHERE` 语句
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic DeleteSqlImpl(Mapper<?> mapper)
public DeleteSql delete(Table table)
DeleteSupportdelete in interface DeleteSupport<DeleteSql>table - 表对象Tablepublic DeleteSql delete(List<Table> tables)
DeleteSupportdelete in interface DeleteSupport<DeleteSql>tables - 表对象列表Tablepublic DeleteSql from(Table table)
FromSupportfrom in interface FromSupport<DeleteSql>table - 表对象Tablepublic DeleteSql from(List<Table> tables)
FromSupportfrom in interface FromSupport<DeleteSql>tables - 表对象列表Tablepublic DeleteSql joinOn(JoinOn joinOn)
JoinOnSupportjoinOn in interface JoinOnSupport<DeleteSql>joinOn - JoinOn操作public DeleteSql joinOn(List<JoinOn> joinOns)
JoinOnSupportjoinOn in interface JoinOnSupport<DeleteSql>joinOns - JoinOn操作列表public DeleteSql joinOn(Table table, List<Column> columnPairs)
JoinOnSupportjoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象columnPairs - on相关的"列-对"Columnpublic DeleteSql leftJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportleftJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic DeleteSql rightJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportrightJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic DeleteSql fullJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportfullJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic DeleteSql innerJoinOn(Table table, List<Column> columnPairs)
JoinOnSupportinnerJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象columnPairs - DbColumn pairsColumnpublic DeleteSql complexLeftJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexLeftJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象criteriaItems - 条件public DeleteSql complexRightJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexRightJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象criteriaItems - 条件public DeleteSql complexFullJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexFullJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象criteriaItems - 条件public DeleteSql complexInnerJoinOn(Table table, List<CriteriaItem> criteriaItems)
JoinOnSupportcomplexInnerJoinOn in interface JoinOnSupport<DeleteSql>table - 需要join的表对象criteriaItems - 条件public DeleteSql where(Criteria criteria)
WhereSupportwhere in interface WhereSupport<DeleteSql>criteria - WHERE相关条件Criteriapublic DeleteSql where(List<Criteria> criterion)
WhereSupportwhere in interface WhereSupport<DeleteSql>criterion - WHERE相关条件列表Criteriapublic DeleteSql andWhere(CriteriaItem item)
WhereSupportandWhere in interface WhereSupport<DeleteSql>item - WHERE相关条件Criteriapublic DeleteSql andWhere(List<Criteria> criterion)
WhereSupportandWhere in interface WhereSupport<DeleteSql>criterion - WHERE相关条件列表Criteriapublic DeleteSql orWhere(CriteriaItem item)
WhereSupportorWhere in interface WhereSupport<DeleteSql>item - WHERE相关条件Criteriapublic DeleteSql orWhere(List<Criteria> criterion)
WhereSupportorWhere in interface WhereSupport<DeleteSql>criterion - WHERE相关条件列表Criteriapublic boolean isUseAlias()
UseAliasSupportisUseAlias in interface UseAliasSupportpublic PrepareStatement getPrepareStatement()
PrepareStatementSupportgetPrepareStatement in interface PrepareStatementSupportpublic int executeDelete()
DeleteSqlexecuteDelete in interface DeleteSqlpublic DeleteSql deleteFromDefault()
DeleteSqldeleteFromDefault in interface DeleteSqlpublic DeleteSql deleteFrom(Table table)
DeleteSqldeleteFrom in interface DeleteSqltable - 表Copyright © 2020 IBIT程序猿. All rights reserved.