public class SQLUpdateStatement extends SQLStatementImpl implements SQLReplaceable
| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLTableSource |
from |
protected List<SQLUpdateSetItem> |
items |
protected SQLOrderBy |
orderBy |
protected List<SQLExpr> |
returning |
protected SQLTableSource |
tableSource |
protected SQLExpr |
where |
protected SQLWithSubqueryClause |
with |
afterSemi, dbType, headHintsattributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
SQLUpdateStatement() |
SQLUpdateStatement(DbType dbType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
protected void |
acceptChild(SQLASTVisitor visitor) |
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, acceptChild, acceptChild, 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, setParentprotected SQLWithSubqueryClause with
protected final List<SQLUpdateSetItem> items
protected SQLExpr where
protected SQLTableSource from
protected SQLTableSource tableSource
protected SQLOrderBy orderBy
public SQLUpdateStatement()
public SQLUpdateStatement(DbType dbType)
public void cloneTo(SQLUpdateStatement x)
public SQLUpdateStatement clone()
clone 在接口中 SQLObjectclone 在接口中 SQLStatementclone 在类中 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)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLStatementImplprotected void acceptChild(SQLASTVisitor visitor)
public 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–2023. All rights reserved.