Class SQLCreateDatabaseStatement

java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLCreateDatabaseStatement
All Implemented Interfaces:
SQLDbTypedObject, SQLObject, SQLStatement, SQLCreateStatement, SQLDDLStatement

public class SQLCreateDatabaseStatement extends SQLStatementImpl implements SQLCreateStatement
  • Field Details

  • Constructor Details

    • SQLCreateDatabaseStatement

      public SQLCreateDatabaseStatement()
    • SQLCreateDatabaseStatement

      public SQLCreateDatabaseStatement(DbType dbType)
  • Method Details

    • accept0

      protected void accept0(SQLASTVisitor visitor)
      Overrides:
      accept0 in class SQLStatementImpl
    • getChildren

      public List<SQLObject> getChildren()
      Specified by:
      getChildren in interface SQLStatement
      Overrides:
      getChildren in class SQLStatementImpl
    • getName

      public SQLName getName()
    • setName

      public void setName(SQLName name)
    • getCharacterSet

      public String getCharacterSet()
    • setCharacterSet

      public void setCharacterSet(String characterSet)
    • getCollate

      public String getCollate()
    • setCollate

      public void setCollate(String collate)
    • getHints

      public List<SQLCommentHint> getHints()
    • setHints

      public void setHints(List<SQLCommentHint> hints)
    • isIfNotExists

      public boolean isIfNotExists()
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • getComment

      public SQLExpr getComment()
    • getUser

      public String getUser()
    • setUser

      public void setUser(String user)
    • setComment

      public void setComment(SQLExpr x)
    • getLocation

      public SQLExpr getLocation()
    • getOptions

      public Map<String,SQLExpr> getOptions()
    • setLocation

      public void setLocation(SQLExpr x)
    • getDbProperties

      public List<SQLAssignItem> getDbProperties()
    • setOptions

      public void setOptions(Map<String,SQLExpr> options)
    • getStoredOn

      public List<SQLAssignItem> getStoredOn()
    • getStoredBy

      public List<List<SQLAssignItem>> getStoredBy()
    • getStoredAs

      public SQLExpr getStoredAs()
    • setStoredAs

      public void setStoredAs(SQLExpr x)
    • getStoredIn

      public SQLExpr getStoredIn()
    • setStoredIn

      public void setStoredIn(SQLExpr x)
    • getPassword

      public SQLExpr getPassword()
    • setPassword

      public void setPassword(SQLExpr x)
    • getDatabaseName

      public String getDatabaseName()
    • setDatabase

      public void setDatabase(String database)
    • getServer

      public String getServer()
    • setServer

      public boolean setServer(String server)
    • isPhysical

      public boolean isPhysical()
    • setPhysical

      public void setPhysical(boolean physical)