com.alibaba.druid.sql.ast.statement
Class SQLUseStatement

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.SQLStatementImpl
          extended by com.alibaba.druid.sql.ast.statement.SQLUseStatement
All Implemented Interfaces:
SQLObject, SQLStatement, Serializable

public class SQLUseStatement
extends SQLStatementImpl
implements SQLStatement

See Also:
Serialized Form

Constructor Summary
SQLUseStatement()
           
 
Method Summary
 void accept0(SQLASTVisitor visitor)
           
 SQLName getDatabase()
           
 void setDatabase(SQLName database)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
output
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, output, putAttribute, setParent
 

Constructor Detail

SQLUseStatement

public SQLUseStatement()
Method Detail

getDatabase

public SQLName getDatabase()

setDatabase

public void setDatabase(SQLName database)

accept0

public void accept0(SQLASTVisitor visitor)


Copyright © 2012 Alibaba Group. All Rights Reserved.