クラス DropObjectsCommand

すべての実装されたインタフェース:
Runnable

public class DropObjectsCommand extends AbstractSchemaDataSourceCommand
DROPコマンド
  • コンストラクタの詳細

    • DropObjectsCommand

      public DropObjectsCommand()
  • メソッドの詳細

    • getSchemaReader

      protected com.sqlapp.data.db.metadata.SchemaReader getSchemaReader(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect) throws SQLException
      例外:
      SQLException
    • getMetadataReaderFilter

      protected com.sqlapp.data.db.metadata.ReadDbObjectPredicate getMetadataReaderFilter()
    • doRun

      protected void doRun()
      定義:
      doRun クラス内 AbstractCommand
    • dropObjects

      protected void dropObjects(Connection connection, com.sqlapp.data.db.metadata.SchemaReader schemaReader, com.sqlapp.data.schemas.Schema schema, com.sqlapp.data.db.sql.SqlFactoryRegistry sqlFactoryRegistry) throws SQLException
      例外:
      SQLException
    • loadDetail

      protected void loadDetail(Connection connection, com.sqlapp.data.db.metadata.SchemaReader schemaReader, com.sqlapp.data.schemas.Schema schema) throws SQLException
      例外:
      SQLException
    • dropTables

      protected void dropTables(Connection connection, com.sqlapp.data.db.metadata.SchemaReader schemaReader, com.sqlapp.data.schemas.Schema schema, com.sqlapp.data.db.sql.SqlFactoryRegistry sqlFactoryRegistry) throws SQLException
      例外:
      SQLException
    • getIncludeSchemas

      public String[] getIncludeSchemas()
      戻り値:
      the includeSchemas
    • setIncludeSchemas

      public void setIncludeSchemas(String... includeSchemas)
      パラメータ:
      includeSchemas - the includeSchemas to set
    • getExcludeSchemas

      public String[] getExcludeSchemas()
      戻り値:
      the excludeSchemas
    • setExcludeSchemas

      public void setExcludeSchemas(String... excludeSchemas)
      パラメータ:
      excludeSchemas - the excludeSchemas to set
    • getIncludeObjects

      public String[] getIncludeObjects()
      戻り値:
      the includeObjects
    • setIncludeObjects

      public void setIncludeObjects(String... includeObjects)
      パラメータ:
      includeObjects - the includeObjects to set
    • getExcludeObjects

      public String[] getExcludeObjects()
      戻り値:
      the excludeObjects
    • setExcludeObjects

      public void setExcludeObjects(String... excludeObjects)
      パラメータ:
      excludeObjects - the excludeObjects to set
    • isOnlyCurrentCatalog

      public boolean isOnlyCurrentCatalog()
      戻り値:
      the onlyCurrentCatalog
    • setOnlyCurrentCatalog

      public void setOnlyCurrentCatalog(boolean onlyCurrentCatalog)
      パラメータ:
      onlyCurrentCatalog - the onlyCurrentCatalog to set
    • isOnlyCurrentSchema

      public boolean isOnlyCurrentSchema()
      戻り値:
      the onlyCurrentSchema
    • setOnlyCurrentSchema

      public void setOnlyCurrentSchema(boolean onlyCurrentSchema)
      パラメータ:
      onlyCurrentSchema - the onlyCurrentSchema to set
    • isDropObjects

      public boolean isDropObjects()
      戻り値:
      the dropObjects
    • setDropObjects

      public void setDropObjects(boolean dropObjects)
      パラメータ:
      dropObjects - the dropObjects to set
    • isDropTables

      public boolean isDropTables()
      戻り値:
      the dropTables
    • setDropTables

      public void setDropTables(boolean dropTables)
      パラメータ:
      dropTables - the dropTables to set
    • getPreDropTableSql

      public String getPreDropTableSql()
      戻り値:
      the preDropTableSql
    • setPreDropTableSql

      public void setPreDropTableSql(String preDropTableSql)
      パラメータ:
      preDropTableSql - the preDropTableSql to set
    • getAfterDropTableSql

      public String getAfterDropTableSql()
      戻り値:
      the afterDropTableSql
    • setAfterDropTableSql

      public void setAfterDropTableSql(String afterDropTableSql)
      パラメータ:
      afterDropTableSql - the afterDropTableSql to set