Class SQLReplaceStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLReplaceStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected List<SQLCommentHint>protected booleanprotected List<SQLAssignItem>protected SQLQueryExprprotected SQLExprTableSourceprotected List<SQLInsertStatement.ValuesClause>Fields 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 TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) voidvoidaddPartition(SQLAssignItem partition) clone()getHints()intgetQuery()booleanbooleanvoidsetDelayed(boolean delayed) voidsetHints(List<SQLCommentHint> hints) voidsetLowPriority(boolean lowPriority) voidsetQuery(SQLQueryExpr query) voidsetTableName(SQLName tableName) voidsetTableSource(SQLExprTableSource tableSource) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getChildren, 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, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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, putAttribute, setParent
-
Field Details
-
lowPriority
protected boolean lowPriority -
delayed
protected boolean delayed -
tableSource
-
columns
-
valuesList
-
query
-
hints
-
partitions
-
-
Constructor Details
-
SQLReplaceStatement
public SQLReplaceStatement()
-
-
Method Details
-
getTableName
-
setTableName
-
getTableSource
-
setTableSource
-
getColumns
-
addColumn
-
isLowPriority
public boolean isLowPriority() -
setLowPriority
public void setLowPriority(boolean lowPriority) -
isDelayed
public boolean isDelayed() -
setDelayed
public void setDelayed(boolean delayed) -
getQuery
-
setQuery
-
getValuesList
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLStatement- Overrides:
clonein classSQLStatementImpl
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
getHintsSize
public int getHintsSize() -
getHints
-
setHints
-
addPartition
-
getPartitions
-