public class SQLUpdateStatement extends SQLStatementImpl implements SQLReplaceable
Constructor and Description |
---|
SQLUpdateStatement() |
SQLUpdateStatement(String dbType) |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(SQLExpr expr) |
void |
addCondition(String conditionSql) |
void |
addItem(SQLUpdateSetItem item) |
List<SQLObject> |
getChildren() |
SQLTableSource |
getFrom() |
List<SQLUpdateSetItem> |
getItems() |
SQLOrderBy |
getOrderBy() |
List<SQLExpr> |
getReturning() |
SQLName |
getTableName() |
SQLTableSource |
getTableSource() |
SQLExpr |
getWhere() |
SQLWithSubqueryClause |
getWith() |
void |
output(StringBuffer buf) |
boolean |
removeCondition(SQLExpr condition) |
boolean |
removeCondition(String conditionSql) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setFrom(SQLTableSource from) |
void |
setOrderBy(SQLOrderBy orderBy) |
void |
setTableSource(SQLExpr expr) |
void |
setTableSource(SQLTableSource tableSource) |
void |
setWhere(SQLExpr where) |
void |
setWith(SQLWithSubqueryClause with) |
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
public SQLUpdateStatement()
public SQLUpdateStatement(String dbType)
public SQLTableSource getTableSource()
public void setTableSource(SQLExpr expr)
public void setTableSource(SQLTableSource tableSource)
public SQLName getTableName()
public SQLExpr getWhere()
public void setWhere(SQLExpr where)
public List<SQLUpdateSetItem> getItems()
public void addItem(SQLUpdateSetItem item)
public SQLTableSource getFrom()
public void setFrom(SQLTableSource from)
public void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
public List<SQLObject> getChildren()
getChildren
in interface SQLStatement
getChildren
in class SQLStatementImpl
public boolean replace(SQLExpr expr, SQLExpr target)
replace
in interface SQLReplaceable
public SQLOrderBy getOrderBy()
public void setOrderBy(SQLOrderBy orderBy)
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.