Class SQLDropDatabaseStatement

All Implemented Interfaces:
SQLDbTypedObject, SQLObject, SQLReplaceable, SQLStatement, SQLDDLStatement, SQLDropStatement

public class SQLDropDatabaseStatement extends SQLStatementImpl implements SQLDropStatement, SQLReplaceable
  • Constructor Details

    • SQLDropDatabaseStatement

      public SQLDropDatabaseStatement()
    • SQLDropDatabaseStatement

      public SQLDropDatabaseStatement(DbType dbType)
  • Method Details

    • accept0

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

      public SQLName getName()
    • getDatabaseName

      public String getDatabaseName()
    • getDatabase

      public SQLExpr getDatabase()
    • setDatabase

      public void setDatabase(SQLExpr database)
    • setDatabase

      public void setDatabase(String database)
    • getServer

      public String getServer()
    • setServer

      public boolean setServer(String server)
    • isIfExists

      public boolean isIfExists()
    • setIfExists

      public void setIfExists(boolean ifExists)
    • getChildren

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

      public boolean replace(SQLExpr expr, SQLExpr target)
      Specified by:
      replace in interface SQLReplaceable
    • getRestrict

      public Boolean getRestrict()
    • isRestrict

      public boolean isRestrict()
    • setRestrict

      public void setRestrict(boolean restrict)
    • isCascade

      public boolean isCascade()
    • setCascade

      public void setCascade(boolean cascade)
    • isPhysical

      public boolean isPhysical()
    • setPhysical

      public void setPhysical(boolean physical)