Class SchemaDropperImpl
java.lang.Object
org.hibernate.tool.schema.internal.SchemaDropperImpl
- All Implemented Interfaces:
SchemaDropper
Basic implementation of
SchemaDropper
.-
Constructor Summary
ConstructorsConstructorDescriptionSchemaDropperImpl
(ServiceRegistry serviceRegistry) SchemaDropperImpl
(ServiceRegistry serviceRegistry, SchemaFilter schemaFilter) SchemaDropperImpl
(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter) -
Method Summary
Modifier and TypeMethodDescriptionbuildDelayedAction
(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, SourceDescriptor sourceDescriptor) Build a delayed Runnable for performing schema dropping.void
doDrop
(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) For testsvoid
doDrop
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) For testsvoid
doDrop
(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testingvoid
doDrop
(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testingvoid
doDrop
(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Perform a schema drop from the indicated source(s) to the indicated target(s).
-
Constructor Details
-
SchemaDropperImpl
-
SchemaDropperImpl
-
SchemaDropperImpl
-
SchemaDropperImpl
-
-
Method Details
-
doDrop
public void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Description copied from interface:SchemaDropper
Perform a schema drop from the indicated source(s) to the indicated target(s).- Specified by:
doDrop
in interfaceSchemaDropper
- Parameters:
metadata
- Represents the schema to be dropped.options
- Options for executing the dropinclusionFilter
- Filter for Contributable instances to usesourceDescriptor
- description of the source(s) of drop commandstargetDescriptor
- description of the target(s) for the drop commands
-
doDrop
@Internal public void doDrop(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testing -
doDrop
@Internal public void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testing -
buildDelayedAction
public DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, SourceDescriptor sourceDescriptor) Description copied from interface:SchemaDropper
Build a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.- Specified by:
buildDelayedAction
in interfaceSchemaDropper
- Parameters:
metadata
- The metadata to dropoptions
- The drop optionsinclusionFilter
- Filter for Contributable instances to usesourceDescriptor
- For access to theSourceDescriptor.getScriptSourceInput()
- Returns:
- The Runnable
-
doDrop
For tests -
doDrop
public void doDrop(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) For tests
-