Package org.hibernate.tool.schema.spi
Interface SchemaDropper
- All Known Implementing Classes:
SchemaDropperImpl
Service delegate for handling schema dropping.
-
Method Summary
Modifier and TypeMethodDescriptionbuildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor) Build a delayed Runnable for performing schema dropping.voiddoDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Perform a schema drop from the indicated source(s) to the indicated target(s).
-
Method Details
-
doDrop
void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, 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 dropcontributableInclusionFilter- Filter for Contributable instances to usesourceDescriptor- description of the source(s) of drop commandstargetDescriptor- description of the target(s) for the drop commands
-
buildDelayedAction
DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, 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 optionscontributableInclusionFilter- Filter for Contributable instances to usesourceDescriptor- For access to theSourceDescriptor.getScriptSourceInput()- Returns:
- The Runnable
-