Class OracleUpdateStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLUpdateStatement
-
- com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleUpdateStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLStatement,OracleSQLObject,OracleStatement
public class OracleUpdateStatement extends SQLUpdateStatement implements OracleStatement, SQLReplaceable
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLUpdateStatement
from, items, limit, orderBy, partitions, returning, tableSource, where, with
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description OracleUpdateStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(OracleASTVisitor visitor)protected voidaccept0(SQLASTVisitor visitor)voidaddReturningInto(SQLExpr returningInto)booleanequals(Object o)StringgetAlias()List<SQLHint>getHints()intgetHintsSize()List<SQLExpr>getReturningInto()inthashCode()booleanisOnly()booleanreplace(SQLExpr expr, SQLExpr target)voidsetAlias(String alias)voidsetHints(List<SQLHint> hints)voidsetOnly(boolean only)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLUpdateStatement
acceptChild, addCondition, addCondition, addItem, addWhere, clone, cloneTo, getChildren, getFrom, getItems, getLimit, getOrderBy, getPartitions, getReturning, getTableName, getTableName, getTableSource, getWhere, getWith, removeCondition, removeCondition, setFrom, setLimit, setOrderBy, setPartitions, setTableSource, setTableSource, setWhere, setWith
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
cloneTo, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
-
-
-
Method Detail
-
addReturningInto
public void addReturningInto(SQLExpr returningInto)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLUpdateStatement
-
accept0
public void accept0(OracleASTVisitor visitor)
- Specified by:
accept0in interfaceOracleSQLObject
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable- Overrides:
replacein classSQLUpdateStatement
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
isOnly
public boolean isOnly()
-
setOnly
public void setOnly(boolean only)
-
getHintsSize
public int getHintsSize()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSQLUpdateStatement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSQLUpdateStatement
-
-