クラス DropObjectsCommand
java.lang.Object
com.sqlapp.data.db.command.AbstractCommand
com.sqlapp.data.db.command.AbstractDataSourceCommand
com.sqlapp.data.db.command.AbstractSchemaDataSourceCommand
com.sqlapp.data.db.command.DropObjectsCommand
- すべての実装されたインタフェース:
ConsoleOutputLevelProperty,ConvertersProperty,DataSourceProperty,ObjectTargetProperty,OnlyCurrentCatalogProperty,OnlyCurrentSchemaProperty,SchemaOptionProperty,SchemaTargetProperty,Runnable
public class DropObjectsCommand
extends AbstractSchemaDataSourceCommand
implements SchemaTargetProperty, ObjectTargetProperty, OnlyCurrentCatalogProperty, OnlyCurrentSchemaProperty
DROPコマンド
-
フィールドの概要
クラスから継承されたフィールド com.sqlapp.data.db.command.AbstractCommand
logger -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected voiddoRun()protected voiddropObjects(Connection connection, com.sqlapp.data.db.metadata.SchemaReader schemaReader, com.sqlapp.data.schemas.Schema schema, com.sqlapp.data.db.sql.SqlFactoryRegistry sqlFactoryRegistry) protected voiddropTables(Connection connection, com.sqlapp.data.db.metadata.SchemaReader schemaReader, com.sqlapp.data.schemas.Schema schema, com.sqlapp.data.db.sql.SqlFactoryRegistry sqlFactoryRegistry) protected com.sqlapp.data.db.metadata.ReadDbObjectPredicateprotected com.sqlapp.data.db.metadata.SchemaReadergetSchemaReader(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect) protected voidloadDetail(Connection connection, com.sqlapp.data.db.metadata.SchemaReader schemaReader, com.sqlapp.data.schemas.Schema schema) voidsetExcludeObjects(String... excludeObjects) voidsetExcludeSchemas(String... excludeSchemas) voidsetIncludeObjects(String... includeObject) voidsetIncludeSchemas(String... includeSchemas) クラスから継承されたメソッド com.sqlapp.data.db.command.AbstractSchemaDataSourceCommand
getSchemas, getSqlFactoryRegistryクラスから継承されたメソッド com.sqlapp.data.db.command.AbstractDataSourceCommand
commit, createOutputTextBuilder, execute, getCurrentCatalogName, getCurrentSchemaName, getDataSource, getDialect, isCloseDataSource, newConverters, rollback, setCloseDataSource, setCommitHandler, setDataSource, setLastCommitHandler, setReleaseConnectionAndCloseDataSourceHandler, setReleaseConnectionHandler, setRollbackHandlerクラスから継承されたメソッド com.sqlapp.data.db.command.AbstractCommand
debug, debug, error, error, execute, getErr, getExceptionHandler, info, info, initialize, initializeContext, runクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ConsoleOutputLevelProperty
getConsoleOutputLevel, setConsoleOutputLevel, setConsoleOutputLevelインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ConvertersProperty
getConverters, setConvertersインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.ObjectTargetProperty
getExcludeObjects, getIncludeObjectsインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.OnlyCurrentCatalogProperty
isOnlyCurrentCatalog, setOnlyCurrentCatalogインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.OnlyCurrentSchemaProperty
isOnlyCurrentSchema, setOnlyCurrentSchemaインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.SchemaOptionProperty
getSchemaOptions, setSchemaOptionsインタフェースから継承されたメソッド com.sqlapp.data.db.command.properties.SchemaTargetProperty
getExcludeSchemas, getIncludeSchemas, setSchemaName
-
コンストラクタの詳細
-
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
-
setIncludeSchemas
- 定義:
setIncludeSchemasインタフェース内SchemaTargetProperty- パラメータ:
includeSchemas- the includeSchemas to set
-
setExcludeSchemas
- 定義:
setExcludeSchemasインタフェース内SchemaTargetProperty- パラメータ:
excludeSchemas- the excludeSchemas to set
-
setIncludeObjects
- 定義:
setIncludeObjectsインタフェース内ObjectTargetProperty- パラメータ:
includeObject- the includeObjects to set
-
setExcludeObjects
- 定義:
setExcludeObjectsインタフェース内ObjectTargetProperty- パラメータ:
excludeObjects- the excludeObjects to set
-