Class SQLOptimizeStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLOptimizeStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
-
Field Summary
FieldsFields 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) voidaddTableSource(SQLExprTableSource tableSource) booleanbooleanisFinal()voidsetCluster(SQLName cluster) voidsetDeduplicate(boolean deduplicate) voidsetDeduplicateBy(SQLExpr deduplicateBy) voidsetFinal(boolean isFinal) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, 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
-
tableSources
-
cluster
-
-
Constructor Details
-
SQLOptimizeStatement
public SQLOptimizeStatement()
-
-
Method Details
-
isFinal
public boolean isFinal() -
setFinal
public void setFinal(boolean isFinal) -
isDeduplicate
public boolean isDeduplicate() -
setDeduplicate
public void setDeduplicate(boolean deduplicate) -
getDeduplicateBy
-
setDeduplicateBy
-
getTableSources
-
addTableSource
-
getCluster
-
setCluster
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-