Class SQLShowDatabasesStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLShowDatabasesStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLStatement,SQLShowStatement
public class SQLShowDatabasesStatement
extends SQLStatementImpl
implements SQLShowStatement, SQLReplaceable
-
Field Summary
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 TypeMethodDescriptionvoidaccept0(SQLASTVisitor visitor) getLike()getWhere()booleanisExtra()booleanisFull()booleanbooleanvoidsetDatabase(SQLName database) voidsetExtra(boolean extra) voidsetFull(boolean full) voidvoidsetPhysical(boolean physical) voidMethods 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, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Constructor Details
-
SQLShowDatabasesStatement
public SQLShowDatabasesStatement()
-
-
Method Details
-
isPhysical
public boolean isPhysical() -
setPhysical
public void setPhysical(boolean physical) -
getDatabase
-
setDatabase
-
getLike
-
setLike
-
getWhere
-
setWhere
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
isExtra
public boolean isExtra() -
setExtra
public void setExtra(boolean extra) -
isFull
public boolean isFull() -
setFull
public void setFull(boolean full) -
replace
- Specified by:
replacein interfaceSQLReplaceable
-