Class SQLExplainStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLExplainStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
- Direct Known Subclasses:
MySqlExplainStatement,OracleExplainStatement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected Stringprotected List<SQLCommentHint>protected booleanprotected booleanprotected SQLStatementprotected StringFields 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) getHints()getType()booleanbooleanbooleanbooleanbooleanvoidsetAuthorization(boolean authorization) voidsetDependency(boolean dependency) voidsetExtended(boolean extended) voidvoidsetHints(List<SQLCommentHint> hints) voidsetOptimizer(boolean optimizer) voidsetParenthesis(boolean parenthesis) voidsetStatement(SQLStatement statement) voidMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, 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
-
type
-
format
-
extended
protected boolean extended -
dependency
protected boolean dependency -
authorization
protected boolean authorization -
optimizer
protected boolean optimizer -
statement
-
hints
-
parenthesis
protected boolean parenthesis
-
-
Constructor Details
-
SQLExplainStatement
public SQLExplainStatement() -
SQLExplainStatement
-
-
Method Details
-
getStatement
-
setStatement
-
getType
-
setType
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
getHints
-
setHints
-
getChildren
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
isExtended
public boolean isExtended() -
setExtended
public void setExtended(boolean extended) -
isDependency
public boolean isDependency() -
setDependency
public void setDependency(boolean dependency) -
isAuthorization
public boolean isAuthorization() -
setAuthorization
public void setAuthorization(boolean authorization) -
isOptimizer
public boolean isOptimizer() -
setOptimizer
public void setOptimizer(boolean optimizer) -
getFormat
-
setFormat
-
isParenthesis
public boolean isParenthesis() -
setParenthesis
public void setParenthesis(boolean parenthesis)
-