public class SQLUpdateStatement extends SQLStatementImpl implements SQLReplaceable
| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLTableSource |
from |
protected List<SQLHint> |
hints |
protected List<SQLUpdateSetItem> |
items |
protected SQLOrderBy |
orderBy |
protected List<SQLExpr> |
returning |
protected SQLTableSource |
tableSource |
protected SQLExpr |
where |
protected SQLWithSubqueryClause |
with |
afterSemi, dbType, headHintsattributes, parent| 构造器和说明 |
|---|
SQLUpdateStatement() |
SQLUpdateStatement(String dbType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
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, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentprotected SQLWithSubqueryClause with
protected final List<SQLUpdateSetItem> items
protected SQLExpr where
protected SQLTableSource from
protected SQLTableSource tableSource
protected SQLOrderBy orderBy
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 int getHintsSize()
public void output(StringBuffer buf)
output 在接口中 SQLObjectoutput 在类中 SQLObjectImplprotected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLStatementImplpublic List<SQLObject> getChildren()
getChildren 在接口中 SQLStatementgetChildren 在类中 SQLStatementImplpublic boolean replace(SQLExpr expr, SQLExpr target)
replace 在接口中 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–2019 Alibaba Group. All rights reserved.