public class SQLDeleteStatement extends SQLStatementImpl implements SQLReplaceable
| Constructor and Description |
|---|
SQLDeleteStatement() |
SQLDeleteStatement(String dbType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(SQLExpr expr) |
void |
addCondition(String conditionSql) |
boolean |
addWhere(SQLExpr where) |
SQLDeleteStatement |
clone() |
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, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic SQLDeleteStatement()
public SQLDeleteStatement(String dbType)
public SQLDeleteStatement clone()
clone in interface SQLObjectclone in interface SQLStatementclone in class 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)
public List<SQLObject> getChildren()
getChildren in interface SQLStatementgetChildren in class SQLStatementImplpublic SQLTableSource getFrom()
public void setFrom(SQLTableSource from)
public boolean replace(SQLExpr expr, SQLExpr target)
replace in interface 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–2018 Alibaba Group. All rights reserved.