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) |
boolean |
addWhere(SQLExpr where) |
boolean |
equals(Object o) |
List<SQLObject> |
getChildren() |
SQLTableSource |
getFrom() |
List<SQLHint> |
getHints() |
int |
getHintsSize() |
List<SQLUpdateSetItem> |
getItems() |
SQLOrderBy |
getOrderBy() |
List<SQLExpr> |
getReturning() |
SQLName |
getTableName() |
SQLTableSource |
getTableSource() |
SQLExpr |
getWhere() |
SQLWithSubqueryClause |
getWith() |
int |
hashCode() |
void |
output(StringBuffer buf) |
boolean |
removeCondition(SQLExpr condition) |
boolean |
removeCondition(String conditionSql) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setFrom(SQLTableSource from) |
void |
setHints(List<SQLHint> hints) |
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, toLowerCaseString, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentpublic 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 int getHintsSize()
public void output(StringBuffer buf)
output in interface SQLObjectoutput in class SQLObjectImplpublic List<SQLObject> getChildren()
getChildren in interface SQLStatementgetChildren in class SQLStatementImplpublic boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceablepublic 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)
public boolean addWhere(SQLExpr where)
Copyright © 2013–2018 Alibaba Group. All rights reserved.