Package org.hibernate.tool.schema.spi
Interface SchemaDropper
-
public interface SchemaDropperService delegate for handling schema dropping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DelayedDropActionbuildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)Build a delayed Runnable for performing schema dropping.voiddoDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)Perform a schema drop from the indicated source(s) to the indicated target(s).
-
-
-
Method Detail
-
doDrop
void doDrop(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)
Perform a schema drop from the indicated source(s) to the indicated target(s).- Parameters:
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
-
buildDelayedAction
DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor)
Build a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.- Parameters:
metadata- The metadata to dropoptions- The drop optionssourceDescriptor- For access to theSourceDescriptor.getScriptSourceInput()- Returns:
- The Runnable
-
-