类 SchemaDropperImpl
- java.lang.Object
-
- org.hibernate.tool.schema.internal.SchemaDropperImpl
-
- 所有已实现的接口:
SchemaDropper
public class SchemaDropperImpl extends Object implements SchemaDropper
This is functionally nothing more than the creation script from the older SchemaExport class (plus some additional stuff in the script).- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 SchemaDropperImpl(ServiceRegistry serviceRegistry)SchemaDropperImpl(ServiceRegistry serviceRegistry, SchemaFilter schemaFilter)SchemaDropperImpl(HibernateSchemaManagementTool tool)SchemaDropperImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DelayedDropActionbuildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)Build a delayed Runnable for performing schema dropping.voiddoDrop(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets)For testsvoiddoDrop(Metadata metadata, ServiceRegistry serviceRegistry, Map settings, boolean manageNamespaces, GenerationTarget... targets)For testsvoiddoDrop(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)voiddoDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)Perform a schema drop from the indicated source(s) to the indicated target(s).List<String>generateDropCommands(Metadata metadata, boolean manageNamespaces)For testing...
-
-
-
构造器详细资料
-
SchemaDropperImpl
public SchemaDropperImpl(HibernateSchemaManagementTool tool)
-
SchemaDropperImpl
public SchemaDropperImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter)
-
SchemaDropperImpl
public SchemaDropperImpl(ServiceRegistry serviceRegistry)
-
SchemaDropperImpl
public SchemaDropperImpl(ServiceRegistry serviceRegistry, SchemaFilter schemaFilter)
-
-
方法详细资料
-
doDrop
public void doDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)
从接口复制的说明:SchemaDropperPerform a schema drop from the indicated source(s) to the indicated target(s).- 指定者:
doDrop在接口中SchemaDropper- 参数:
metadata- Represents the schema to be dropped.options- Options for executing the dropsourceDescriptor- description of the source(s) of drop commandstargetDescriptor- description of the target(s) for the drop commands
-
doDrop
public void doDrop(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
-
generateDropCommands
public List<String> generateDropCommands(Metadata metadata, boolean manageNamespaces)
For testing...- 参数:
metadata- The metadata for which to generate the creation commands.- 返回:
- The generation commands
-
buildDelayedAction
public DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)
从接口复制的说明:SchemaDropperBuild a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.- 指定者:
buildDelayedAction在接口中SchemaDropper- 参数:
metadata- The metadata to dropoptions- The drop optionssourceDescriptor- For access to theSourceDescriptor.getScriptSourceInput()- 返回:
- The Runnable
-
doDrop
public void doDrop(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets)
For tests
-
doDrop
public void doDrop(Metadata metadata, ServiceRegistry serviceRegistry, Map settings, boolean manageNamespaces, GenerationTarget... targets)
For tests
-
-