クラス DropObjectsCommand

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

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

      • DropObjectsCommand

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

      • getSchemaReader

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

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

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

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

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

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

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

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

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

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

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

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

        public void setExcludeObjects​(java.lang.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 java.lang.String getPreDropTableSql()
        戻り値:
        the preDropTableSql
      • setPreDropTableSql

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

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

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