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
Modifier and TypeFieldDescriptionprotected boolean
protected List<SQLCommentHint>
protected boolean
protected List<SQLAssignItem>
protected SQLQueryExpr
protected SQLExprTableSource
protected List<SQLInsertStatement.ValuesClause>
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
void
addPartition
(SQLAssignItem partition) clone()
getHints()
int
getQuery()
boolean
boolean
void
setDelayed
(boolean delayed) void
setHints
(List<SQLCommentHint> hints) void
setLowPriority
(boolean lowPriority) void
setQuery
(SQLQueryExpr query) void
setTableName
(SQLName tableName) void
setTableSource
(SQLExprTableSource tableSource) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getChildren, 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, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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, hasAfterComment, hasBeforeComment, output, 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:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLStatement
- Overrides:
clone
in classSQLStatementImpl
-
accept0
- Overrides:
accept0
in classSQLStatementImpl
-
getHintsSize
public int getHintsSize() -
getHints
-
setHints
-
addPartition
-
getPartitions
-