public class SQLDeleteStatement extends SQLStatementImpl implements SQLReplaceable
| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLTableSource |
from |
protected boolean |
only |
protected SQLTableSource |
tableSource |
protected SQLTableSource |
using |
protected SQLExpr |
where |
protected SQLWithSubqueryClause |
with |
afterSemi, dbType, headHintsattributes, parent| 构造器和说明 |
|---|
SQLDeleteStatement() |
SQLDeleteStatement(String dbType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
void |
addCondition(SQLExpr expr) |
void |
addCondition(String conditionSql) |
boolean |
addWhere(SQLExpr where) |
SQLDeleteStatement |
clone() |
protected void |
cloneTo(SQLDeleteStatement x) |
String |
getAlias() |
List<SQLObject> |
getChildren() |
SQLExprTableSource |
getExprTableSource() |
SQLTableSource |
getFrom() |
SQLName |
getTableName() |
SQLTableSource |
getTableSource() |
SQLTableSource |
getUsing() |
SQLExpr |
getWhere() |
SQLWithSubqueryClause |
getWith() |
boolean |
isOnly() |
boolean |
removeCondition(SQLExpr condition) |
boolean |
removeCondition(String conditionSql) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setAlias(String alias) |
void |
setFrom(SQLTableSource from) |
void |
setOnly(boolean only) |
void |
setTableName(SQLName tableName) |
void |
setTableName(String name) |
void |
setTableSource(SQLExpr expr) |
void |
setTableSource(SQLTableSource tableSource) |
void |
setUsing(SQLTableSource using) |
void |
setWhere(SQLExpr where) |
void |
setWith(SQLWithSubqueryClause with) |
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toStringaccept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentprotected SQLWithSubqueryClause with
protected SQLTableSource tableSource
protected SQLExpr where
protected SQLTableSource from
protected SQLTableSource using
protected boolean only
public SQLDeleteStatement()
public SQLDeleteStatement(String dbType)
protected void cloneTo(SQLDeleteStatement x)
public SQLDeleteStatement clone()
clone 在接口中 SQLObjectclone 在接口中 SQLStatementclone 在类中 SQLStatementImplpublic SQLTableSource getTableSource()
public SQLExprTableSource getExprTableSource()
public void setTableSource(SQLExpr expr)
public void setTableSource(SQLTableSource tableSource)
public SQLName getTableName()
public void setTableName(SQLName tableName)
public void setTableName(String name)
public SQLExpr getWhere()
public void setWhere(SQLExpr where)
public String getAlias()
public void setAlias(String alias)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLStatementImplpublic List<SQLObject> getChildren()
getChildren 在接口中 SQLStatementgetChildren 在类中 SQLStatementImplpublic SQLTableSource getFrom()
public void setFrom(SQLTableSource from)
public boolean replace(SQLExpr expr, SQLExpr target)
replace 在接口中 SQLReplaceablepublic boolean isOnly()
public void setOnly(boolean only)
public SQLTableSource getUsing()
public void setUsing(SQLTableSource using)
public SQLWithSubqueryClause getWith()
public void setWith(SQLWithSubqueryClause with)
public void addCondition(String conditionSql)
public void addCondition(SQLExpr expr)
public boolean removeCondition(String conditionSql)
public boolean removeCondition(SQLExpr condition)
public boolean addWhere(SQLExpr where)
Copyright © 2013–2019 Alibaba Group. All rights reserved.