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) |
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, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public SQLDeleteStatement()
public SQLDeleteStatement(String dbType)
public SQLDeleteStatement clone()
clone
in interface SQLObject
clone
in interface SQLStatement
clone
in class SQLStatementImpl
public 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 SQLStatement
getChildren
in class SQLStatementImpl
public SQLTableSource getFrom()
public void setFrom(SQLTableSource from)
public boolean replace(SQLExpr expr, SQLExpr target)
replace
in interface SQLReplaceable
public 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)
Copyright © 2013–2017 Alibaba Group. All rights reserved.