public class SQLUpdateStatement extends SQLStatementImpl implements SQLReplaceable
| Constructor and Description |
|---|
SQLUpdateStatement() |
SQLUpdateStatement(DbType dbType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(SQLExpr expr) |
void |
addCondition(String conditionSql) |
void |
addItem(SQLUpdateSetItem item) |
boolean |
addWhere(SQLExpr where) |
SQLUpdateStatement |
clone() |
void |
cloneTo(SQLUpdateStatement x) |
boolean |
equals(Object o) |
List<SQLObject> |
getChildren() |
SQLTableSource |
getFrom() |
List<SQLUpdateSetItem> |
getItems() |
SQLOrderBy |
getOrderBy() |
List<SQLExpr> |
getReturning() |
SQLName |
getTableName() |
SQLTableSource |
getTableSource() |
SQLExpr |
getWhere() |
SQLWithSubqueryClause |
getWith() |
int |
hashCode() |
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) |
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic SQLUpdateStatement()
public SQLUpdateStatement(DbType dbType)
public void cloneTo(SQLUpdateStatement x)
public SQLUpdateStatement clone()
clone in interface SQLObjectclone in interface SQLStatementclone in class SQLStatementImplpublic 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 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–2021 Alibaba Group. All rights reserved.