Class MySqlUpdateStatement
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.mysql.ast.statement.MySqlUpdateStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLStatement,MySqlObject,MySqlStatement
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLUpdateStatement
from, items, orderBy, partitions, returning, tableSource, where, withFields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(MySqlASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) booleangetHints()intgetLimit()inthashCode()booleanbooleanbooleanisIgnore()booleanbooleanbooleanvoidsetCommitOnSuccess(boolean commitOnSuccess) voidsetForceAllPartitions(boolean forceAllPartitions) voidvoidsetHints(List<SQLCommentHint> hints) voidsetIgnore(boolean ignore) voidvoidsetLowPriority(boolean lowPriority) voidsetQueryOnPk(boolean queryOnPk) voidsetRollBackOnFail(boolean rollBackOnFail) voidsetTargetAffectRow(SQLExpr targetAffectRow) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLUpdateStatement
acceptChild, addCondition, addCondition, addItem, addWhere, clone, cloneTo, getChildren, getFrom, getItems, getOrderBy, getPartitions, getReturning, getTableName, getTableSource, getWhere, getWith, removeCondition, removeCondition, replace, setFrom, setOrderBy, setPartitions, setTableSource, setTableSource, setWhere, setWithMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, 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, setSourceLineMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Field Details
-
hints
-
-
Constructor Details
-
MySqlUpdateStatement
public MySqlUpdateStatement()
-
-
Method Details
-
getLimit
-
setLimit
-
accept0
- Overrides:
accept0in classSQLUpdateStatement
-
accept0
- Specified by:
accept0in interfaceMySqlObject
-
isLowPriority
public boolean isLowPriority() -
setLowPriority
public void setLowPriority(boolean lowPriority) -
isIgnore
public boolean isIgnore() -
setIgnore
public void setIgnore(boolean ignore) -
isCommitOnSuccess
public boolean isCommitOnSuccess() -
setCommitOnSuccess
public void setCommitOnSuccess(boolean commitOnSuccess) -
isRollBackOnFail
public boolean isRollBackOnFail() -
setRollBackOnFail
public void setRollBackOnFail(boolean rollBackOnFail) -
isQueryOnPk
public boolean isQueryOnPk() -
setQueryOnPk
public void setQueryOnPk(boolean queryOnPk) -
getTargetAffectRow
-
setTargetAffectRow
-
equals
- Overrides:
equalsin classSQLUpdateStatement
-
hashCode
public int hashCode()- Overrides:
hashCodein classSQLUpdateStatement
-
getForcePartition
-
setForcePartition
-
isForceAllPartitions
public boolean isForceAllPartitions() -
setForceAllPartitions
public void setForceAllPartitions(boolean forceAllPartitions) -
getHintsSize
public int getHintsSize() -
getHints
-
setHints
-